Commit Graph

66 Commits

Author SHA1 Message Date
Steffen Jaeckel fb35d5be54 more clean-up of headers 2017-06-20 15:16:11 +02:00
Steffen Jaeckel 4dc211e19d clean-up headers 2017-06-20 15:16:11 +02:00
Kelvin Sherlock a8d81a7214 fix sha3 test numbers 2017-05-21 15:32:16 -04:00
Kelvin Sherlock 30f8aaad8c replace XMEMCMP with compare_testvector, other consistency cleanup in testing code. 2017-05-14 22:17:59 -04:00
Steffen Jaeckel 31dcb9ff2a only set outlen on success 2017-05-03 18:10:45 +02:00
Karel Miko 4e66160ac2 one more readable for loop 2017-05-03 17:01:18 +02:00
Karel Miko f831e27702 more readable for loops 2017-05-03 12:56:25 +02:00
Karel Miko a1615daa3c shake be fix (hopefully final) 2017-05-03 12:56:25 +02:00
Karel Miko 961b6109d5 cosmetics 2017-05-03 12:56:25 +02:00
Karel Miko da8501f55a sha3_shake_done another be fix 2017-05-03 12:56:25 +02:00
Karel Miko c3f2e4530a declaration of ‘i’ shadows a previous local (better) 2017-05-03 12:56:25 +02:00
Karel Miko df4e47978e declaration of ‘i’ shadows a previous local 2017-05-03 12:56:25 +02:00
Karel Miko e5c0e7ffd3 SHAKE (SHA3 related) big endian fix 2017-05-03 12:56:25 +02:00
Francois Perrad a52b586ed2 Unusual use of a Boolean expression 2017-05-01 14:51:35 +02:00
Steffen Jaeckel 2858373e2e clean stack properly 2017-05-01 14:12:47 +02:00
Steffen Jaeckel 7a83cea4db use appropriate names for sha3 hashes 2017-04-23 15:55:49 +02:00
Karel Miko 336c52ca5f Facelift of *_file functions 2017-04-21 16:11:22 +02:00
Kelvin Sherlock 56a2efa729 fix blake2s-160/224 hash sizes. 2017-04-20 11:22:16 -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 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 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 68296e0608 blake2s hash 2017-04-07 20:47:44 -04:00
Karel Miko 6844275e82 silence MSVC compiler warning 2017-04-02 17:42:28 +02:00
Karel Miko c6a0362c88 SHA3 2017-03-29 13:44:04 +02:00
Francois Perrad 27280b86b3 static functions 2017-02-28 23:07:06 +01:00
Karel Miko 88412a9fc2 conversion related troubles (int, size_t, ptrdiff_t ..) 2017-02-28 11:30:19 +01:00
Francois Perrad b0f06ed1ec add parenthese in macro 2017-02-24 19:00:36 +01:00
Karel Miko 649ef0faef forgotten trailing space 2017-02-24 16:54:01 +01:00
Francois Perrad 58353f51e2 remove trailing spaces 2017-02-24 16:29:54 +01:00
Francois Perrad 7b48f4d5f7 fix indentation 2017-02-24 16:23:10 +01:00
Steffen Jaeckel dfa938a4f6 verify outcome when defining LTC_NOTHING
check that LTC_NOTHING really creates nothing but the libraries' basic
API functions
2015-02-15 17:25:45 +01:00
Steffen Jaeckel 23fb224e19 add sha512/224 and sha512/256 2014-09-29 19:57:21 +02:00