summaryrefslogtreecommitdiffstats
path: root/Modules/Setup.stdlib.in
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2021-11-19 19:20:32 (GMT)
committerGitHub <noreply@github.com>2021-11-19 19:20:32 (GMT)
commitc8c21bdd199f9feb75fc6cdb398a686dc133b99f (patch)
tree2209af9f9e632048e496f88e725e3443b91c61a3 /Modules/Setup.stdlib.in
parente34809e1c2a09478f4e0651d551c9c12d3c556ab (diff)
downloadcpython-c8c21bdd199f9feb75fc6cdb398a686dc133b99f.zip
cpython-c8c21bdd199f9feb75fc6cdb398a686dc133b99f.tar.gz
cpython-c8c21bdd199f9feb75fc6cdb398a686dc133b99f.tar.bz2
bpo-45847: Port builtin hashlib extensions to PY_STDLIB_MOD (GH-29642)
Diffstat (limited to 'Modules/Setup.stdlib.in')
-rw-r--r--Modules/Setup.stdlib.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/Setup.stdlib.in b/Modules/Setup.stdlib.in
index 3b0d322..ee07f4d 100644
--- a/Modules/Setup.stdlib.in
+++ b/Modules/Setup.stdlib.in
@@ -37,6 +37,13 @@
# with ./configure --with-system-libmpdec
@MODULE__DECIMAL_TRUE@_decimal _decimal/_decimal.c
+# hashing builtins, can be disabled with --without-builtin-hashlib-hashes
+@MODULE__MD5_TRUE@_md5 md5module.c
+@MODULE__SHA1_TRUE@_sha1 sha1module.c
+@MODULE__SHA256_TRUE@_sha256 sha256module.c
+@MODULE__SHA512_TRUE@_sha512 sha512module.c
+@MODULE__SHA3_TRUE@_sha3 _sha3/sha3module.c
+@MODULE__BLAKE2_TRUE@_blake2 _blake2/blake2module.c _blake2/blake2b_impl.c _blake2/blake2s_impl.c
############################################################################
# XML and text