diff options
author | Jonathan Protzenko <protz@microsoft.com> | 2023-02-22 21:18:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-22 21:18:43 (GMT) |
commit | fcadc7e405141847ab10daf5cff16be880083a24 (patch) | |
tree | 404c9bc7b90e95882765731171033632aa6c9b80 /Modules/Setup | |
parent | 96bf24380e44dfa1516d65480250995e737c0cb9 (diff) | |
download | cpython-fcadc7e405141847ab10daf5cff16be880083a24.zip cpython-fcadc7e405141847ab10daf5cff16be880083a24.tar.gz cpython-fcadc7e405141847ab10daf5cff16be880083a24.tar.bz2 |
gh-99108: Import MD5 and SHA1 from HACL* (#102089)
Replaces our fallback non-OpenSSL MD5 and SHA1 implementations with those from HACL* as we've already done with SHA2.
Diffstat (limited to 'Modules/Setup')
-rw-r--r-- | Modules/Setup | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Setup b/Modules/Setup index 1d5183b..f9fa26c 100644 --- a/Modules/Setup +++ b/Modules/Setup @@ -163,8 +163,8 @@ PYTHONPATH=$(COREPYTHONPATH) # hashing builtins #_blake2 _blake2/blake2module.c _blake2/blake2b_impl.c _blake2/blake2s_impl.c -#_md5 md5module.c -#_sha1 sha1module.c +#_md5 md5module.c -I$(srcdir)/Modules/_hacl/include _hacl/libHacl_Hash_MD5.c +#_sha1 sha1module.c -I$(srcdir)/Modules/_hacl/include _hacl/libHacl_Hash_SHA1.c #_sha2 sha2module.c -I$(srcdir)/Modules/_hacl/include Modules/_hacl/libHacl_Streaming_SHA2.a #_sha3 _sha3/sha3module.c |