summaryrefslogtreecommitdiffstats
path: root/Modules/_blake2/impl/blake2s-ref.c
Commit message (Collapse)AuthorAgeFilesLines
* gh-99108: Add HACL* Blake2 implementation to hashlib (GH-119316)Jonathan Protzenko2024-08-131-368/+0
| | | | | | | This replaces the existing hashlib Blake2 module with a single implementation that uses HACL\*'s Blake2b/Blake2s implementations. We added support for all the modes exposed by the Python API, including tree hashing, leaf nodes, and so on. We ported and merged all of these changes upstream in HACL\*, added test vectors based on Python's existing implementation, and exposed everything needed for hashlib. This was joint work done with @R1kM. See the PR for much discussion and benchmarking details. TL;DR: On many systems, 8-50% faster (!) than `libb2`, on some systems it appeared 10-20% slower than `libb2`.
* bpo-33164: blake2: Fix Coverity scan (GH-25060)Inada Naoki2021-03-301-1/+1
|
* bpo-33164: update blake2 implementation (GH-6286)David Carlier2019-05-231-119/+76
|
* Issue #26798: Coverity complains about potential memcpy() of overlapped ↵Christian Heimes2016-09-081-1/+1
| | | | regions. It doesn't hurt to use memmove() here. CID 1372514 / CID 1372515. Upstream https://github.com/BLAKE2/BLAKE2/issues/32
* blake2: silence two more warnings on platforms with size_t < uint64_t. Don't ↵Christian Heimes2016-09-071-2/+2
| | | | use SSE2 when cross-compiling
* Issue #26798: for loop initial declarations, take 3Christian Heimes2016-09-061-0/+1
|
* Issue #26798: for loop initial declarations, take 2Christian Heimes2016-09-061-7/+9
|
* Issue #26798: for loop initial declarations are only allowed in C99 or C11 modeChristian Heimes2016-09-061-2/+4
|
* Issue #26798: Add BLAKE2 (blake2b and blake2s) to hashlib.Christian Heimes2016-09-061-0/+406