mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
This merges their code. They're backed by the same single HACL* static library, having them be a single module simplifies maintenance. This should unbreak the wasm enscripten builds that currently fail due to linking in --whole-archive mode and the HACL* library appearing twice. Long unnoticed error fixed: _sha512.SHA384Type was doubly assigned and was actually SHA512Type. Nobody depends on those internal names. Also rename LIBHACL_ make vars to LIBHACL_SHA2_ in preperation for other future HACL things.
3 lines
212 B
ReStructuredText
3 lines
212 B
ReStructuredText
The built-in extension modules for :mod:`hashlib` SHA2 algorithms, used when
|
|
OpenSSL does not provide them, now live in a single internal ``_sha2`` module
|
|
instead of separate ``_sha256`` and ``_sha512`` modules.
|