Commit Graph

769 Commits

Author SHA1 Message Date
Karel Miko
6d404afc97 helper.pl --check-hashes + related fixes 2017-04-21 21:20:31 +02:00
Steffen Jaeckel
75f2529cdf also run multi for coverage 2017-04-21 19:45:59 +02:00
Steffen Jaeckel
290926fe8a include CFLAGS when building demos 2017-04-21 19:45:59 +02:00
karel-m
65ace1a378 Merge pull request #184 from libtom/pr/file-related-tests
Facelift of *_file functions
2017-04-21 17:20:41 +02:00
Karel Miko
dae70f9ba4 update testprof/makefile* 2017-04-21 16:12:41 +02:00
Karel Miko
d1ae2889ae add file_test() 2017-04-21 16:12:18 +02:00
Karel Miko
336c52ca5f Facelift of *_file functions 2017-04-21 16:11:22 +02:00
Steffen Jaeckel
513fcf35fe Merge pull request #191 from ksherlock/blake2s
blake2s hash
2017-04-20 21:03:14 +02:00
Kelvin Sherlock
609d0afd00 updated hash_tv.txt 2017-04-20 12:28:38 -04:00
Kelvin Sherlock
56a2efa729 fix blake2s-160/224 hash sizes. 2017-04-20 11:22:16 -04:00
Kelvin Sherlock
4f7264135f update test vectors 2017-04-20 09:36:35 -04:00
Kelvin Sherlock
0109e3ca78 update tv_gen.c 2017-04-19 17:03:34 -04:00
Kelvin Sherlock
4905232eda more tests. 2017-04-19 16:50:34 -04:00
Kelvin Sherlock
c65d24222e always zeromem hash_state when done 2017-04-19 16:47:03 -04:00
Kelvin Sherlock
2dc574d477 use - in hash descriptors. 2017-04-19 16:46:36 -04:00
Kelvin Sherlock
4ee9d767bb add key/keylen parameters to blake2x_init 2017-04-10 18:29:51 -04:00
Kelvin Sherlock
0f97bb7415 fix burn blake2b stack size. 2017-04-10 16:37:34 -04:00
Kelvin Sherlock
55450078ea use compare_testvector in tests. 2017-04-10 12:00:22 -04:00
Kelvin Sherlock
ea8dde7f63 formatting 2017-04-10 11:34:59 -04:00
Kelvin Sherlock
dfbdb626c3 add missing const. 2017-04-10 10:50:34 -04:00
Kelvin Sherlock
6b46b447b5 replace packed parameter struct with offsets into a unsigned char buffer. 2017-04-10 10:40:20 -04:00
Kelvin Sherlock
6acdfe9a55 cleanup, resins with updated reference source 2017-04-10 10:22:50 -04:00
Kelvin Sherlock
afc6e8d370 minor cleanup. 2017-04-10 10:21:51 -04:00
Kelvin Sherlock
b4594ab3c6 remove inline and c99 variable declarations. 2017-04-09 17:22:42 -04:00
Kelvin Sherlock
268c87e33d add LTC_ARGCHK for blake2b_process. 2017-04-08 17:00:39 -04:00
Kelvin Sherlock
b412ab539a update makefiles for blake2b. 2017-04-08 15:44:30 -04:00
Kelvin Sherlock
6f6e2d30a8 clang-format 2017-04-08 15:43:38 -04:00
Kelvin Sherlock
7c5fef9b71 add blake2b hash 2017-04-08 15:40:56 -04:00
Kelvin Sherlock
5924bd43e6 tweak source to conform a little better 2017-04-08 15:40:20 -04:00
Kelvin Sherlock
b0e9a23e31 makefile updates. 2017-04-07 23:47:16 -04:00
Kelvin Sherlock
51075724c1 use hash_state * for all arguments. 2017-04-07 23:46:52 -04:00
Kelvin Sherlock
063df0bffe more tests. 2017-04-07 23:46:17 -04:00
Kelvin Sherlock
4449cdcea3 sort and number the ltc_hash_descriptors. 2017-04-07 23:45:49 -04:00
Kelvin Sherlock
1b5ae955d2 moe clang-format 2017-04-07 21:24:47 -04:00
Kelvin Sherlock
51f6b063d6 clang format 2017-04-07 21:12:54 -04:00
Kelvin Sherlock
647b53d880 add blake2s to various places. 2017-04-07 20:50:28 -04:00
Kelvin Sherlock
68296e0608 blake2s hash 2017-04-07 20:47:44 -04:00
Steffen Jaeckel
904eee0975 Merge pull request #190 from fperrad/20170407_lint
chacha: more linting
2017-04-07 18:49:47 +02:00
Francois Perrad
b6c27c2f08 no room for nul terminator 2017-04-07 12:16:48 +02:00
Francois Perrad
0be45a6341 remove unreachable code 2017-04-07 12:16:44 +02:00
Steffen Jaeckel
13b2220c61 Merge pull request #189 from fperrad/20170406_lint
remove suspicious ;
2017-04-07 10:35:11 +02:00
Francois Perrad
9941648125 remove suspicious ; 2017-04-07 00:17:43 +02:00
Steffen Jaeckel
08415d37f3 fix compare_testvector() macro 2017-04-06 22:47:36 +02:00
Steffen Jaeckel
e4331bcc17 Merge pull request #188 from fperrad/20170405_lint
misuse of compare_testvector
2017-04-06 22:46:24 +02:00
Francois Perrad
168472f753 misuse of compare_testvector 2017-04-05 09:28:32 +02:00
karel-m
fbe7d222c3 Merge pull request #185 from libtom/pr/chacha_prng-chacha20_prng
chacha_prng > chacha20_prng
2017-04-04 00:47:17 +02:00
Karel Miko
eefb8dc479 renaming prngs/chacha.c prngs/chacha20.c 2017-04-03 22:54:27 +02:00
Karel Miko
bfe9484a3d renaming chacha_prng > chacha20_prng 2017-04-03 22:52:17 +02:00
karel-m
5199b54635 Merge pull request #171 from libtom/pr/chacha20poly1305
RFC 7539 - ChaCha20 and Poly1305 + ChaCha20 based PRNG
2017-04-03 21:21:20 +02:00
Karel Miko
2520e6c061 add link to arc4random.c which was the inspiration for chacha_prng 2017-04-03 20:04:00 +02:00