diff options
author | Jonathan Protzenko <protz@microsoft.com> | 2023-02-14 09:25:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-14 09:25:16 (GMT) |
commit | e5da9ab2c82c6b4e4f8ffa699a9a609ea1bea255 (patch) | |
tree | 82536d304ac00d1450ea2d8923b0c5d504ebd320 /Modules/Setup.stdlib.in | |
parent | 8be8101bca34b60481ec3d7ecaea4a3379fb7dbb (diff) | |
download | cpython-e5da9ab2c82c6b4e4f8ffa699a9a609ea1bea255.zip cpython-e5da9ab2c82c6b4e4f8ffa699a9a609ea1bea255.tar.gz cpython-e5da9ab2c82c6b4e4f8ffa699a9a609ea1bea255.tar.bz2 |
gh-99108: Import SHA2-384/512 from HACL* (#101707)
Replace the builtin hashlib implementations of SHA2-384 and SHA2-512
originally from LibTomCrypt with formally verified, side-channel resistant
code from the [HACL*](https://github.com/hacl-star/hacl-star/) project.
The builtins remain a fallback only used when OpenSSL does not provide them.
Diffstat (limited to 'Modules/Setup.stdlib.in')
-rw-r--r-- | Modules/Setup.stdlib.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Setup.stdlib.in b/Modules/Setup.stdlib.in index f727838..b6d13e0 100644 --- a/Modules/Setup.stdlib.in +++ b/Modules/Setup.stdlib.in @@ -80,7 +80,7 @@ @MODULE__MD5_TRUE@_md5 md5module.c @MODULE__SHA1_TRUE@_sha1 sha1module.c @MODULE__SHA256_TRUE@_sha256 sha256module.c _hacl/Hacl_Streaming_SHA2.c -@MODULE__SHA512_TRUE@_sha512 sha512module.c +@MODULE__SHA512_TRUE@_sha512 sha512module.c _hacl/Hacl_Streaming_SHA2.c @MODULE__SHA3_TRUE@_sha3 _sha3/sha3module.c @MODULE__BLAKE2_TRUE@_blake2 _blake2/blake2module.c _blake2/blake2b_impl.c _blake2/blake2s_impl.c |