Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-99108: Add HACL* Blake2 implementation to hashlib (GH-119316) | Jonathan Protzenko | 2024-08-13 | 1 | -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 Naoki | 2021-03-30 | 1 | -1/+1 |
| | |||||
* | bpo-33164: update blake2 implementation (GH-6286) | David Carlier | 2019-05-23 | 1 | -119/+76 |
| | |||||
* | Issue #26798: Coverity complains about potential memcpy() of overlapped ↵ | Christian Heimes | 2016-09-08 | 1 | -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 Heimes | 2016-09-07 | 1 | -2/+2 |
| | | | | use SSE2 when cross-compiling | ||||
* | Issue #26798: for loop initial declarations, take 3 | Christian Heimes | 2016-09-06 | 1 | -0/+1 |
| | |||||
* | Issue #26798: for loop initial declarations, take 2 | Christian Heimes | 2016-09-06 | 1 | -7/+9 |
| | |||||
* | Issue #26798: for loop initial declarations are only allowed in C99 or C11 mode | Christian Heimes | 2016-09-06 | 1 | -2/+4 |
| | |||||
* | Issue #26798: Add BLAKE2 (blake2b and blake2s) to hashlib. | Christian Heimes | 2016-09-06 | 1 | -0/+406 |