1
1
mirror of https://github.com/BLAKE2/BLAKE2 synced 2024-11-23 02:42:10 +01:00
Commit Graph

109 Commits

Author SHA1 Message Date
mjvk
467c5446ac
Update blake2-impl.h 2018-05-09 11:49:17 +01:00
mjvk
3d6155ab16
Update blake2-impl.h 2018-05-09 11:47:33 +01:00
mjvk
cf068aafd6
Update cast of load16
Bitwise operations promote the cast to uint16_t to int. So to be consistent, first cast to uint to keep unsignedness and prevent implicit promotion. Then cast back to uint16_t after all bitwise operations are completed. 

This prevents compiler warnings, unneccessary casts and in the case of right shifting (not the case here) unexpected behaviour.
2018-05-09 11:47:06 +01:00
Samuel Neves
ca4c89314a
Merge pull request #49 from leighbb/arm-neon
Add ARM NEON versions of blake2s and blake2b
2018-04-19 12:41:33 +01:00
Leigh Brown
7965d3e6e1 Add ARM NEON versions of blake2s and blake2b
NOTE! The NEON version of blake2s is currently NO FASTER than the
reference implementations.  However, it is retained for reference
and in case it can be further improved.

The NEON version of blake2b is more than twice as fast as the
reference implementation on the Raspberry PI 2 Model B.
2018-04-02 20:07:05 +01:00
Samuel Neves
beb75f4512
Merge pull request #47 from CB-Rambo/master
syntax correction
2018-02-15 20:54:56 +00:00
Krishna
d43735ad6d
syntax correction 2018-02-14 12:41:17 -05:00
Samuel Neves
5cbb39c9ef issue #41 2017-03-07 18:42:27 +00:00
JP Aumasson
7728c30896 keylength=0 in B2 instances in b2x* 2016-12-03 10:50:38 +01:00
JP Aumasson
e4de156be0 typos 2016-12-02 18:35:13 +01:00
Samuel Neves
7ba0f268ee Merge pull request #37 from pixelb/cleanups
maint: strip various trailing whitespace
2016-11-09 21:48:08 +00:00
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
d4418edab4 Merge pull request #35 from BLAKE2/b2x
B2x
2016-10-28 09:29:15 +02:00
Samuel Neves
5522bb2325 unkeyed api 2016-10-12 17:55:15 +01:00
JP Aumasson
ee9e22ba34 consistency 2016-10-12 18:08:51 +02:00
JP Aumasson
2a22fad500 check final return value 2016-10-12 18:05:37 +02:00
Samuel Neves
c19dd2bd83 formatting, more c89 2016-10-12 15:19:55 +01:00
JP Aumasson
7a39ee4736 c89 compliance 2016-10-12 10:22:17 +02:00
JP Aumasson
f5c56ea028 -Wall, clean kats 2016-10-12 10:15:41 +02:00
Samuel Neves
de31f550f3 replace some c99isms 2016-10-11 22:12:43 +01:00
Samuel Neves
cb19577245 missing adjustments 2016-10-11 22:03:29 +01:00
JP Aumasson
8b6442c3af sse genkats 2016-10-11 22:55:35 +02:00
JP Aumasson
25f38cbc5e b2x added to sse/ 2016-10-11 22:54:18 +02:00
JP Aumasson
6493c5862c fixed json input display 2016-10-11 22:37:14 +02:00
JP Aumasson
1f26297f81 bug in key-less b2x 2016-10-11 22:32:53 +02:00
JP Aumasson
c44e34b3a5 copyright notice 2016-10-11 22:00:39 +02:00
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