Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-126433: Update hacl-star (GH-126791) | Victor Stinner | 2024-11-15 | 1 | -1/+2 |
| | | | | Retrieve the change: "Lib_Memzero0.c: Fix compiler warning on 32-bit Windows". | ||||
* | GH-99108: Make vectorized versions of Blake2 available on x86, too (#125244) | Jonathan Protzenko | 2024-10-17 | 1 | -70/+126 |
| | | | | | | Accomplished by updating HACL* vendored code from hacl-star/hacl-star@a6a09496d9cff652b567d26f2c3ab012321b632a to hacl-star/hacl-star@315a9e491d2bc347b9dae99e0ea506995ea84d9d Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Zachary Ware <zach@python.org> | ||||
* | gh-99108: Add HACL* Blake2 implementation to hashlib (GH-119316) | Jonathan Protzenko | 2024-08-13 | 1 | -0/+1294 |
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`. |