diff options
author | Christian Heimes <christian@python.org> | 2016-09-07 09:58:24 (GMT) |
---|---|---|
committer | Christian Heimes <christian@python.org> | 2016-09-07 09:58:24 (GMT) |
commit | 6fe2a75b645044ca2b5dac03e8d850567b547a9a (patch) | |
tree | 62e1a5edd46384ff687c96f4f94cf3b0a2bae72e /PC | |
parent | dfb9ef13575bcc457544b408fc4e5eca3c5ed9b1 (diff) | |
download | cpython-6fe2a75b645044ca2b5dac03e8d850567b547a9a.zip cpython-6fe2a75b645044ca2b5dac03e8d850567b547a9a.tar.gz cpython-6fe2a75b645044ca2b5dac03e8d850567b547a9a.tar.bz2 |
Issue #16113: Add SHA-3 and SHAKE support to hashlib module.
Diffstat (limited to 'PC')
-rw-r--r-- | PC/config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/PC/config.c b/PC/config.c index e007d4b..43d9e20 100644 --- a/PC/config.c +++ b/PC/config.c @@ -23,6 +23,7 @@ extern PyObject* PyInit__signal(void); extern PyObject* PyInit__sha1(void); extern PyObject* PyInit__sha256(void); extern PyObject* PyInit__sha512(void); +extern PyObject* PyInit__sha3(void); extern PyObject* PyInit__blake2(void); extern PyObject* PyInit_time(void); extern PyObject* PyInit__thread(void); @@ -97,6 +98,7 @@ struct _inittab _PyImport_Inittab[] = { {"_sha1", PyInit__sha1}, {"_sha256", PyInit__sha256}, {"_sha512", PyInit__sha512}, + {"_sha3", PyInit__sha3}, {"_blake2", PyInit__blake2}, {"time", PyInit_time}, #ifdef WITH_THREAD |