Commit Graph

676 Commits

Author SHA1 Message Date
Frank Denis
119011976b 3-digits version numbers are not required. 2013-01-21 18:17:09 -08:00
Frank Denis
dff36063a6 randombytes/randombytes_sysrandom.h moved to includes/sodium 2013-01-21 18:11:19 -08:00
Frank Denis
0faae1eed3 Merge pull request #5 from qmx/authors
add AUTHORS file from designers/implementors files
2013-01-21 17:30:29 -08:00
Douglas Campos
fdbaa9a9ea add AUTHORS file from designers/implementors files 2013-01-21 23:25:51 -02:00
Frank Denis
40d6182ecd Indentation wankery 2013-01-21 14:44:22 -08:00
Frank Denis
68822dab0a COMPILER_ASSERT is not needed for randombytes_sysrandom 2013-01-21 14:39:22 -08:00
Frank Denis
3505db86a5 Add randombytes_sysrandom and use that as the default randombytes impl. 2013-01-21 14:36:26 -08:00
Frank Denis
412c5f4d0c Use /dev/random instead of /dev/urandom if needed. 2013-01-21 14:16:06 -08:00
Frank Denis
d0ca9c815b Document help functions for the PRG 2013-01-21 14:15:23 -08:00
Frank Denis
3bb7e4b1b7 Rename salsa20_random.c to randombytes_salsa20_random.c for consistency 2013-01-21 13:58:18 -08:00
Frank Denis
8a54e2efa8 Implement randombytes_set_implementation() 2013-01-21 13:52:37 -08:00
Frank Denis
5788f3d6a8 Add randombytes wrappers.
These are real wrappers, not globals or macros, in order to make it easier
to use them in different programming languages.
2013-01-21 13:50:00 -08:00
Frank Denis
3444a46f35 Prepare for pluggable randombytes*() implementations. 2013-01-21 13:28:27 -08:00
Frank Denis
4c6e162c52 Remove libsodium-randombytes. 2013-01-21 12:46:40 -08:00
Frank Denis
137ae007ae Export randombytes helpers 2013-01-21 12:35:58 -08:00
Frank Denis
dde2e8086c Use salsa20_random() for randombytes, install libsodium-randombytes DLL. 2013-01-21 12:23:57 -08:00
Frank Denis
3509dbd387 Include libltdl in the tarball 2013-01-21 11:39:31 -08:00
Frank Denis
87af79c629 Don't include randombyte - move it to a different library. 2013-01-21 11:32:34 -08:00
Frank Denis
048da52209 Correct libsodium path in the test Makefile 2013-01-20 19:18:39 -08:00
Frank Denis
1d30d34727 expected -> exp 2013-01-20 19:08:08 -08:00
Frank Denis
2345092aaa Rename .out files to .exp 2013-01-20 19:07:21 -08:00
Frank Denis
d84ccf2ad2 Make compilation less verbose by default, because this is a mess. 2013-01-20 18:06:07 -08:00
Frank Denis
b4e28221e8 Add library version 2013-01-20 17:51:57 -08:00
Frank Denis
45188cfad1 Add windows-quirks.h and *.out files to the list of dependencies 2013-01-20 17:40:21 -08:00
Frank Denis
6d21d017e9 "make check" is enough 2013-01-20 17:25:21 -08:00
Frank Denis
61775cc84d Add missing dependencies 2013-01-20 17:23:37 -08:00
Frank Denis
d4a5db2459 Remove benchmark progs for now, they will be reintroduced later. 2013-01-20 17:05:24 -08:00
Frank Denis
91e342fb52 No need for AM_PROG_CC_C_O 2013-01-20 17:01:15 -08:00
Frank Denis
00636a9d2e Shipping only ref implementations is intententional 2013-01-20 17:00:55 -08:00
Frank Denis
e9ba54e481 Remove redundancy 2013-01-20 16:58:41 -08:00
Frank Denis
23f4cca42d We don't ship C++ bindings 2013-01-20 16:57:26 -08:00
Frank Denis
228dcefe83 More blurb 2013-01-20 16:56:17 -08:00
Frank Denis
9bb13efa5a Don't forget to install version.h 2013-01-20 16:21:37 -08:00
Frank Denis
83961aae3b How about just #include <sodium.h> to include everything you need? 2013-01-20 16:18:36 -08:00
Frank Denis
4825914aa8 Give C++ some love 2013-01-20 16:13:09 -08:00
Frank Denis
6901c6ee83 Update .gitignore 2013-01-20 16:06:49 -08:00
Frank Denis
cfd84663b9 A library should expose its version 2013-01-20 16:04:43 -08:00
Frank Denis
97d651b3a3 Include cmptest.h in all tests 2013-01-20 15:55:10 -08:00
Frank Denis
27b19131ae We should really include sodium/*.h, but back out the randombytes one for now 2013-01-20 15:48:55 -08:00
Frank Denis
46f10a2314 Declare main() correctly 2013-01-20 15:48:08 -08:00
Frank Denis
f82e550518 Rename test-randombytes to randombytes to be consistent 2013-01-20 15:44:05 -08:00
Frank Denis
a1fa3e6438 Add remaining tests 2013-01-20 15:41:17 -08:00
Frank Denis
79f24e04e3 One more test 2013-01-20 15:25:22 -08:00
Frank Denis
c04d4816fb Start adding tests 2013-01-20 14:03:05 -08:00
Frank Denis
688aad67ef Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  english is hard, tks @benlangfeld
  moar README fiddlin'
  note wrt ed25519
2013-01-20 13:30:18 -08:00
Frank Denis
40567fe583 Use $(top_srcdir) to reference the path to headers 2013-01-20 13:29:54 -08:00
Frank Denis
6be35536e8 Merge pull request #4 from qmx/documentation
moar README fiddlin'
2013-01-20 12:40:21 -08:00
Douglas Campos
7aeeae7d77 english is hard, tks @benlangfeld 2013-01-20 18:39:16 -02:00
Douglas Campos
2c9c1c7a87 moar README fiddlin' 2013-01-20 18:35:54 -02:00
Frank Denis
a9388b4626 Merge pull request #3 from qmx/documentation
note wrt ed25519
2013-01-20 12:18:46 -08:00