1
1
mirror of https://github.com/BLAKE2/BLAKE2 synced 2024-11-07 14:49:17 +01:00
Commit Graph

82 Commits

Author SHA1 Message Date
JP Aumasson
2994ec582c json kats 2016-10-11 21:55:56 +02:00
JP Aumasson
d113d9c26d streaming api prototypes 2016-10-11 21:38:20 +02:00
JP Aumasson
09f8e4f99e b2xb and tests 2016-10-11 21:36:56 +02:00
JP Aumasson
c09fb30361 b2xs tests ok 2016-10-11 21:08:09 +02:00
JP Aumasson
73dd9e9038 b2s xof unkeyed kats 2016-10-11 20:48:16 +02:00
JP Aumasson
ae633ca8e2 b2xs test procedures 2016-10-11 20:25:14 +02:00
Samuel Neves
73bd0dc652 length bug 2016-10-11 16:18:48 +01:00
Samuel Neves
1dd6358997 style, consistency, wip 2016-10-11 15:04:29 +01:00
JP Aumasson
c038f88aec basic b2xs and b2xb 2016-10-11 15:06:44 +02:00
JP Aumasson
97c8a0cd55 adding xof_length for b2x support 2016-10-11 14:54:09 +02:00
JP Aumasson
c314fb42d4 makefile conflict fixed 2016-10-11 14:23:18 +02:00
Samuel Neves
cb0506c082 rename readme 2016-06-22 08:14:58 +01:00
Samuel Neves
9630d9a206 add b2sum readme 2016-06-22 08:13:00 +01:00
Samuel Neves
5f2f566442 no static b2sum, optional openmp 20160619 2016-06-19 17:55:55 +01:00
Samuel Neves
a0f55091f1 count cycles on msvc 2016-06-15 13:05:28 +01:00
Samuel Neves
0ee2296e98 c89ify bench as well 2016-06-12 18:09:50 +01:00
Samuel Neves
987a2d74bd output exclusively to pdf 2016-06-12 17:36:57 +01:00
Samuel Neves
f1d5a3a722 missing dependency 2016-06-12 17:07:18 +01:00
Samuel Neves
369aa70c0c bench portability 2016-06-12 16:37:10 +01:00
Samuel Neves
88df903283 remove unused code, vars 2016-06-11 17:58:17 +01:00
Samuel Neves
ab60beb7a1 adjust api in kats 2016-06-11 12:47:20 +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
8a007c8cbb consistent counter type 2016-06-11 12:05:52 +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
Samuel Neves
003671f8af Merge branch 'tiran-c89' 2016-06-10 22:27:46 +01:00
Samuel Neves
24d4cc2ea6 fix conflicts 2016-06-10 22:27:28 +01:00
Samuel Neves
d511746787 fix kat paths; better sse2 detection 2016-06-10 11:37:44 +01:00
Samuel Neves
9a57356891 address issue #24 2016-06-10 11:27:27 +01:00
Samuel Neves
6740feadea Merge pull request #23 from CryptoManiac/master
Parameter validation issue.
2016-05-04 16:26:43 +01:00
CryptoManiac
b9302b40bc With "==" you will be allowed to set anything except valid values. 2016-04-30 23:53:42 +03:00
JP Aumasson
eec32b7170 sse kats, reorg 2016-04-22 22:12:08 +02: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
Samuel Neves
02bf34f3d4 Replace size_t by unsigned long for output sizes.
https://sourceforge.net/p/mingw-w64/wiki2/gnu%20printf/
2016-04-06 08:27:42 +01:00
Samuel Neves
fc572de97b Merge pull request #21 from jedisct1/check-multiple-finalizations
blake2*_final() should return an error if called twice
2016-04-06 04:58:00 +01:00
Frank Denis
bcc99c1b6a blake2*_final() should return an error if called twice 2016-04-06 01:40:45 +02:00
Samuel Neves
168fbb78f5 update licensing in README 2016-03-11 23:32:19 +00:00
JP Aumasson
648089e055 Merge pull request #19 from waywardgeek/master
Changed copyright of Samuel's code to 3-license version suggested by …
2016-02-29 09:46:52 +01: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
Samuel Neves
90cf5d00c3 Merge pull request #17 from Scarletts/master
b2sum man page, makefile changes
2016-02-28 00:04:18 +00:00
Samuel Neves
58dca08d0b Merge pull request #18 from DaGenix/errors-in-test-vectors
Remove trailing 'ok' from the last line of each test vector file
2016-02-27 23:41:19 +00:00
Palmer Cox
5a5f61780f Remove trailing 'ok' from the last line of each test vector file 2016-02-26 00:40:21 -05:00
Scarlett
7b358396b2 remove comment that slipped in 2016-02-20 15:25:55 +00:00
Scarlett
a559faebbb add and install b2sum man page, improve makefile portability 2016-02-20 15:24:06 +00:00
Samuel Neves
d893a37d37 Merge pull request #16 from zx2c4/master
Do not pack blake2_state structs
2016-02-09 02:43:05 +00:00
Jason A. Donenfeld
a6bd49a6ef Do not pack blake2_state structs
While the param structs need to be packed, because they're compressed as
a byte stream, the state structs do not have this requirement. As such,
the compiler likely can emit more efficient code in certain
circumstances when it can apply the ordinary struct alignment rules.
2016-02-09 03:39:53 +01:00
Samuel Neves
051109d9b0 Merge pull request #15 from betafive/pbarker/b2sum
Add digest length argument to b2sum (plus minor improvements)
2016-01-31 17:10:11 +00:00