Commit Graph

522 Commits

Author SHA1 Message Date
Frank Denis
fc98102f2a sodium_reinit() and sodium_shutdown() are gone. 2013-04-21 17:32:05 -07:00
Frank Denis
47bc0aab79 sodium_init() doesn't take any options any more. 2013-04-21 17:32:04 -07:00
Frank Denis
faa399c3df Only include sodium.h in tests.
Tests should always be passing by just including that.
2013-04-21 17:32:04 -07:00
Frank Denis
fd11d8b7d7 Include sodium.h in cmptest.h and call sodium_init()/sodium_shutdown() 2013-04-21 17:32:04 -07:00
Frank Denis
6774b47cd4 Reintroduce shorthash, this time with the key... 2013-02-13 21:14:29 +08:00
Frank Denis
e5e2150919 Revert "Add crypto_shorthash() for non collision-resistant hash functions"
This reverts commit c8fe5c4afb.

Conflicts:
	.gitignore
	test/Makefile.am
	test/default/shorthash.c
	test/default/shorthash.exp
2013-02-13 20:33:17 +08:00
Frank Denis
5c946f9c61 Move tests to test/default and windows to quirks/windows.
test/default contains only tests using the default primitives
for a given operation. We need to add other tests as well.
2013-02-09 04:21:32 +08:00
Frank Denis
c8fe5c4afb Add crypto_shorthash() for non collision-resistant hash functions
Currently using siphash-2-4
2013-02-09 03:51:20 +08:00
Frank Denis
4c6e162c52 Remove libsodium-randombytes. 2013-01-21 12:46:40 -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
45188cfad1 Add windows-quirks.h and *.out files to the list of dependencies 2013-01-20 17:40:21 -08:00
Frank Denis
61775cc84d Add missing dependencies 2013-01-20 17:23:37 -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