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.stdlib.in | |
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.stdlib.in')
-rw-r--r-- | Modules/Setup.stdlib.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Setup.stdlib.in b/Modules/Setup.stdlib.in index 8f5e14a..d33cd82 100644 --- a/Modules/Setup.stdlib.in +++ b/Modules/Setup.stdlib.in @@ -77,8 +77,8 @@ @MODULE_READLINE_TRUE@readline readline.c # hashing builtins, can be disabled with --without-builtin-hashlib-hashes -@MODULE__MD5_TRUE@_md5 md5module.c -@MODULE__SHA1_TRUE@_sha1 sha1module.c +@MODULE__MD5_TRUE@_md5 md5module.c -I$(srcdir)/Modules/_hacl/include _hacl/Hacl_Hash_MD5.c -D_BSD_SOURCE -D_DEFAULT_SOURCE +@MODULE__SHA1_TRUE@_sha1 sha1module.c -I$(srcdir)/Modules/_hacl/include _hacl/Hacl_Hash_SHA1.c -D_BSD_SOURCE -D_DEFAULT_SOURCE @MODULE__SHA2_TRUE@_sha2 sha2module.c -I$(srcdir)/Modules/_hacl/include Modules/_hacl/libHacl_Streaming_SHA2.a @MODULE__SHA3_TRUE@_sha3 _sha3/sha3module.c @MODULE__BLAKE2_TRUE@_blake2 _blake2/blake2module.c _blake2/blake2b_impl.c _blake2/blake2s_impl.c |