1
1
mirror of https://github.com/BLAKE2/BLAKE2 synced 2024-11-08 14:59:19 +01:00
Commit Graph

20 Commits

Author SHA1 Message Date
Pádraig Brady
2407e7a40a maint: strip various trailing whitespace
This falls afoul of various commit git commit hooks,
so strip trailing whitespace at EOL and EOF.
2016-11-09 21:34:46 +00:00
Samuel Neves
a90684ab3f Address bug with small blake2*p output sizes (see #36) 2016-11-09 20:41:14 +00:00
JP Aumasson
25f38cbc5e b2x added to sse/ 2016-10-11 22:54:18 +02:00
Samuel Neves
88df903283 remove unused code, vars 2016-06-11 17:58:17 +01: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
86f24fed10 api cleanup, sse edition 2016-06-11 11:11:20 +01:00
Samuel Neves
259e61dede api cleanup 2016-06-11 10:29:09 +01:00
Samuel Neves
e971a0428f more tyding up 2016-06-11 00:06:51 +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
Frank Denis
bcc99c1b6a blake2*_final() should return an error if called twice 2016-04-06 01:40:45 +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
94d1fefcb4 fix issues reported by Yutaka Sawada 2015-10-14 14:02:14 +01:00
Samuel Neves
b6525c7fa1 Remove unnecessary alignment directives 2015-06-11 21:58:15 +01:00
Samuel Neves
105d4e49c6 fix flags on architectures with < 32-bit int 2015-05-29 12:44:26 +01: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
22a1ce9b2f Use unaligned instructions for non speed-critical memory accesses 2014-01-14 19:02:48 +00:00
CodesInChaos
fb714d2c83 Release 2013-01-31 2013-02-01 16:44:36 +01:00