Commit Graph

26 Commits

Author SHA1 Message Date
c10e11c398 hash/hmac: allow keys greater than block length 2015-03-02 00:35:58 +11:00
cce9af76e3 style 2015-03-02 00:35:45 +11:00
f4fe636cb0 hash/hmac: add simple HMAC-MD5 2015-03-02 00:07:50 +11:00
277354807e hash/md5: fix blocksize block flushing on update 2015-03-02 00:05:30 +11:00
c4df8bf905 t/casts: simplify trunc_cast, combine size_cast 2015-02-17 16:20:46 +11:00
52f53caee5 debug: drop support for CHECK_HARD
HARD vs SOFT assertions were never very well defined or supported.
Currently they just imply a level of functionality that isn't present;
it's better to remove them instead of expending the effort at this
point.
2015-01-28 14:49:34 +11:00
3fd3b805af adler: fix c-style cast without const error 2014-10-20 12:55:59 +11:00
37ed0fc5fd hash: cleanup fletcher 2014-09-11 15:44:03 +10:00
018fcef146 hash: whitespace 2014-09-11 15:43:12 +10:00
332264a5be adler: add iterator style argument wrapper 2014-09-02 23:36:21 +10:00
a9bffcff08 sha1: give state enum a print operator 2014-07-02 15:40:20 +10:00
ca9db30ab4 sha1: style and whitespace 2014-07-02 15:39:53 +10:00
5a7ff4d20a build: silence sign promotion warnings 2014-07-02 15:38:05 +10:00
3c9c245075 sha1: remove dead store warning 2014-05-20 13:44:36 +10:00
304ddbfedd whitespace 2014-05-20 13:44:27 +10:00
b4a07538df hash: make finish public in accumulators 2014-05-09 14:43:40 +10:00
513b09c1c9 sha2: rename SHA2 class to SHA256
temporary rename for clarity in existing algorithm code. revisit when/if
we get implementations for each bit length.
2014-05-09 13:01:02 +10:00
a88379bf36 hash: add sha2 implementation 2014-04-16 19:17:56 +10:00
fc935863ef sha1: cleanup and fix test cases 2014-04-16 18:35:09 +10:00
b33cb706c8 Add RIPEMD160 implementation 2014-04-10 21:04:07 +10:00
a601b20683 Fix bitshifting wide types on 32bit platforms 2013-08-05 16:38:47 +10:00
db18432f1c Move all hash implementations to hash subdir 2013-07-13 14:40:13 +10:00
9bdc50df3c Add SHA1 implementation 2013-03-11 20:47:48 +11:00
7099c9bc50 Add MD5 implementation 2013-03-11 20:45:53 +11:00
905a2236a2 Add MD4 implementation 2013-03-11 20:44:32 +11:00
8df03fae81 Add MD2 implementation 2013-03-11 20:43:15 +11:00