1
1
mirror of https://github.com/BLAKE2/BLAKE2 synced 2024-11-26 04:26:12 +01:00
BLAKE2 official implementations
Go to file
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
b2sum maint: strip various trailing whitespace 2016-11-09 21:34:46 +00:00
bench maint: strip various trailing whitespace 2016-11-09 21:34:46 +00:00
csharp maint: strip various trailing whitespace 2016-11-09 21:34:46 +00:00
neon Add ARM NEON versions of blake2s and blake2b 2018-04-02 20:07:05 +01:00
ref syntax correction 2018-02-14 12:41:17 -05:00
sse Update cast of load16 2018-05-09 11:47:06 +01:00
testvectors issue #41 2017-03-07 18:42:27 +00:00
.gitignore Add ARM NEON versions of blake2s and blake2b 2018-04-02 20:07:05 +01:00
COPYING Release 2013-01-31 2013-02-01 16:44:36 +01:00
README.md maint: strip various trailing whitespace 2016-11-09 21:34:46 +00:00

BLAKE2

This is the reference source code package of BLAKE2, which includes

  • ref/: C implementations of BLAKE2b, BLAKE2bp, BLAKE2s, BLAKE2sp, aimed at portability and simplicity.

  • sse/: C implementations of BLAKE2b, BLAKE2bp, BLAKE2s, BLAKE2sp, optimized for speed on CPUs supporting SSE2, SSSE3, SSE4.1, AVX, or XOP.

  • csharp/: C# implementation of BLAKE2b.

  • b2sum/: Command line utility to hash files, based on the sse/ implementations.

  • bench/: Benchmark tool to measure cycles-per-byte speeds and produce graphs copyright.

All code is triple-licensed under the CC0, the OpenSSL Licence, or the Apache Public License 2.0, at your choosing.

More: https://blake2.net.

Contact: contact@blake2.net