1
1
mirror of https://github.com/BLAKE2/BLAKE2 synced 2024-09-18 08:51:39 +02:00
Commit Graph

12 Commits

Author SHA1 Message Date
Samuel Neves
a90684ab3f Address bug with small blake2*p output sizes (see #36) 2016-11-09 20:41:14 +00:00
JP Aumasson
73dd9e9038 b2s xof unkeyed kats 2016-10-11 20:48:16 +02:00
Samuel Neves
932be4e9f5 outlen in blake2xx_final should be the output buffer size, not the hash length 2016-06-11 12:42:46 +01:00
Samuel Neves
64cafcff16 test streaming api 2016-06-11 12:22:35 +01:00
Samuel Neves
259e61dede api cleanup 2016-06-11 10:29:09 +01:00
Samuel Neves
ef9d717e46 tidy up 2016-06-10 23:56:26 +01:00
Christian Heimes
81a1bcf245 Make BLAKE2 code C89 and MSVC friendly
This patch makes the BLAKE2 reference implementation compatible with C89
compilers and MSVC.

1) Use C comments (/* */) instead of C++ comments.
2) No declarations after statements. All variables are declared on the
   top of a block.
3) Optional inline with BLAKE2_LOCAL_INLINE() macro.

Signed-off-by: Christian Heimes <christian@python.org>
2016-04-22 12:07:57 +02:00
Bill Cox
58eab9690e Changed copyright of Samuel's code to 3-license version suggested by Zooko 2016-02-28 20:42:23 -08:00
JP Aumasson
a18d2b03fb consistent checks 2015-10-14 23:03:14 +02:00
Samuel Neves
b8024d53e7 Check for overflow of outlen in blake2{s,b}_final
Fix warnings with -Wcast-qual

Fix blake2{sp,bp}_final's return value
2014-08-06 11:42:44 +01:00
Samuel Neves
802c795b43 Fix BLAKE2sp and BLAKEbp's inner_length bug. 2014-01-14 18:59:52 +00:00
CodesInChaos
fb714d2c83 Release 2013-01-31 2013-02-01 16:44:36 +01:00