mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00
Issue #16113: Add SHA-3 and SHAKE support to hashlib module.
This commit is contained in:
parent
dfb9ef1357
commit
6fe2a75b64
26 changed files with 6495 additions and 19 deletions
7
setup.py
7
setup.py
|
@ -905,6 +905,13 @@ class PyBuildExt(build_ext):
|
|||
define_macros=blake2_macros,
|
||||
depends=blake2_deps) )
|
||||
|
||||
sha3_deps = glob(os.path.join(os.getcwd(), srcdir,
|
||||
'Modules/_sha3/kcp/*'))
|
||||
sha3_deps.append('hashlib.h')
|
||||
exts.append( Extension('_sha3',
|
||||
['_sha3/sha3module.c'],
|
||||
depends=sha3_deps))
|
||||
|
||||
# Modules that provide persistent dictionary-like semantics. You will
|
||||
# probably want to arrange for at least one of them to be available on
|
||||
# your machine, though none are defined by default because of library
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue