Skip to content

Commit

Permalink
bpo-45847: Port builtin hashlib extensions to PY_STDLIB_MOD (GH-29642)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiran committed Nov 19, 2021
1 parent e34809e commit c8c21bd
Show file tree
Hide file tree
Showing 5 changed files with 451 additions and 82 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Port builtin hashlib extensions to ``PY_STDLIB_MOD`` macro and ``addext()``.
7 changes: 7 additions & 0 deletions Modules/Setup.stdlib.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit c8c21bd

Please sign in to comment.