1
1
mirror of https://github.com/BLAKE2/BLAKE2 synced 2024-09-18 08:51:39 +02:00
BLAKE2 official implementations
Go to file
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
b2sum Make BLAKE2 code C89 and MSVC friendly 2016-04-22 12:07:57 +02:00
bench Changed copyright of Samuel's code to 3-license version suggested by Zooko 2016-02-28 20:42:23 -08:00
csharp Release 2013-01-31 2013-02-01 16:44:36 +01:00
ref Make BLAKE2 code C89 and MSVC friendly 2016-04-22 12:07:57 +02:00
sse Make BLAKE2 code C89 and MSVC friendly 2016-04-22 12:07:57 +02:00
testvectors Remove trailing 'ok' from the last line of each test vector file 2016-02-26 00:40:21 -05:00
.gitignore Add git ignore file 2016-01-03 11:54:57 +00:00
COPYING Release 2013-01-31 2013-02-01 16:44:36 +01:00
README.md update licensing in README 2016-03-11 23:32:19 +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