cpython/Tools/build
Jonathan Protzenko 325e9b8ef4
gh-99108: Add HACL* Blake2 implementation to hashlib (GH-119316)
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`.
2024-08-13 21:42:19 +00:00
..
.warningignore_macos gh-112301: Add macOS warning tracking tooling (#122211) 2024-08-06 20:26:37 +03:00
.warningignore_ubuntu gh-112301: Compiler warning management tooling (#121730) 2024-07-27 09:57:44 +00:00
check_extension_modules.py gh-122907: Fix Builds Without HAVE_DYNAMIC_LOADING Set (gh-122952) 2024-08-13 14:44:57 -06:00
check_warnings.py gh-112301: Add macOS warning tracking tooling (#122211) 2024-08-06 20:26:37 +03:00
deepfreeze.py GH-111485: Delete the old generator code. (GH-113321) 2023-12-21 12:46:28 +00:00
freeze_modules.py gh-120417: Remove unused imports in Tools (#120623) 2024-06-17 18:09:26 +02:00
generate_global_objects.py gh-113993: Allow interned strings to be mortal, and fix related issues (GH-120520) 2024-06-21 17:19:31 +02:00
generate_levenshtein_examples.py gh-99016: Make build scripts compatible with Python 3.8 (GH-99017) 2022-11-02 20:30:09 +02:00
generate_re_casefix.py Fix syntax in generate_re_casefix.py (#122699) 2024-08-05 23:16:29 -07:00
generate_sbom.py gh-99108: Add HACL* Blake2 implementation to hashlib (GH-119316) 2024-08-13 21:42:19 +00:00
generate_sre_constants.py
generate_stdlib_module_names.py gh-76785: Rename _xxsubinterpreters to _interpreters (gh-117791) 2024-04-24 16:18:24 +00:00
generate_token.py gh-107211: No longer export internal functions (7) (#108425) 2023-08-24 17:40:56 +02:00
mypy.ini gh-112302: Add Software Bill-of-Materials (SBOM) tracking for dependencies (#112303) 2023-12-07 18:01:58 +02:00
parse_html5_entities.py
regen-configure.sh gh-112088: Run autoreconf in GHA check_generated_files (#112090) 2023-11-15 21:47:14 +01:00
smelly.py gh-90815: Add mimalloc memory allocator (#109914) 2023-10-30 15:43:11 +00:00
stable_abi.py GH-121970: Rewrite the C-API annotations extension (#121985) 2024-07-19 12:21:56 +00:00
umarshal.py Fix a typo in umarshal.py (#108803) 2023-09-06 09:06:41 +00:00
update_file.py
verify_ensurepip_wheels.py GH-80789: Get rid of the `ensurepip` infra for many wheels (#109245) 2024-01-30 01:25:31 +00:00