cpython/Modules/clinic
Jonathan Protzenko 15665d896b
gh-99108: Replace SHA3 implementation HACL* version (#103597)
Replaces our built-in SHA3 implementation with a verified one from the HACL* project.

This implementation is used when OpenSSL does not provide SHA3 or is not present.

3.11 shiped with a very slow tiny sha3 implementation to get off of the <=3.10 reference implementation that wound up having serious bugs. This brings us back to a reasonably performing built-in implementation consistent with what we've just replaced our other guaranteed available standard hash algorithms with: code from the HACL* project.

---------

Co-authored-by: Gregory P. Smith <greg@krypto.org>
2023-05-07 20:50:04 -07:00
..
_abc.c.h
_asynciomodule.c.h gh-97696: asyncio eager tasks factory (#102853) 2023-05-01 15:10:13 -06:00
_bisectmodule.c.h GH-102833: Mention the key function in the docstrings (GH-103009) 2023-03-25 02:19:20 -05:00
_bz2module.c.h bpo-23224: Fix segfaults and multiple leaks in the lzma and bz2 modules (GH-7822) 2023-02-23 06:00:58 -08:00
_codecsmodule.c.h bpo-15999: Accept arbitrary values for boolean parameters. (#15609) 2022-12-03 11:52:21 -08:00
_collectionsmodule.c.h gh-103092: Isolate `_collections` (#103093) 2023-04-12 18:21:28 +05:30
_contextvarsmodule.c.h
_cryptmodule.c.h
_csv.c.h
_curses_panel.c.h
_cursesmodule.c.h bpo-15999: Accept arbitrary values for boolean parameters. (#15609) 2022-12-03 11:52:21 -08:00
_datetimemodule.c.h
_dbmmodule.c.h
_elementtree.c.h gh-92123: Adapt _elementtree to multi-phase init (PEP 489) (#101285) 2023-01-24 17:00:24 +01:00
_functoolsmodule.c.h
_gdbmmodule.c.h
_hashopenssl.c.h
_heapqmodule.c.h
_localemodule.c.h
_lsprof.c.h
_lzmamodule.c.h bpo-23224: Fix segfaults and multiple leaks in the lzma and bz2 modules (GH-7822) 2023-02-23 06:00:58 -08:00
_opcode.c.h
_operator.c.h
_pickle.c.h gh-103092: Isolate `_pickle` module (#102982) 2023-04-04 15:38:54 +05:30
_posixsubprocess.c.h gh-94518: Port 23-argument `_posixsubprocess.fork_exec` to Argument Clinic (#94519) 2023-04-24 18:27:48 +00:00
_queuemodule.c.h gh-101409: Improve generated clinic code for self type checks (#101411) 2023-01-31 21:42:03 +01:00
_randommodule.c.h
_ssl.c.h gh-101409: Improve generated clinic code for self type checks (#101411) 2023-01-31 21:42:03 +01:00
_statisticsmodule.c.h
_struct.c.h
_testclinic.c.h gh-64631: Test exception messages in cloned Argument Clinic funcs (#104167) 2023-05-05 14:08:24 +02:00
_testinternalcapi.c.h gh-104240: make _PyCompile_CodeGen support different compilation modes (#104241) 2023-05-07 18:47:28 +01:00
_testmultiphase.c.h
_tkinter.c.h bpo-15999: Accept arbitrary values for boolean parameters. (#15609) 2022-12-03 11:52:21 -08:00
_tracemalloc.c.h
_typingmodule.c.h
_weakref.c.h
_winapi.c.h GH-75586: Make shutil.which() on Windows more consistent with the OS (GH-103179) 2023-04-04 23:24:13 +01:00
_zoneinfo.c.h gh-99138: Isolate _zoneinfo (#99218) 2023-02-15 22:58:48 +01:00
arraymodule.c.h
audioop.c.h
binascii.c.h bpo-15999: Accept arbitrary values for boolean parameters. (#15609) 2022-12-03 11:52:21 -08:00
cmathmodule.c.h Add missing 'is' to `cmath.log()` docstring (#102049) 2023-02-19 15:00:59 +00:00
fcntlmodule.c.h
gcmodule.c.h
grpmodule.c.h
itertoolsmodule.c.h gh-101277: Finalise isolating itertools (GH-101305) 2023-02-10 03:58:14 -08:00
mathmodule.c.h gh-102839: remove AC for math.log (GH-102863) 2023-03-21 18:48:19 -05:00
md5module.c.h
overlapped.c.h
posixmodule.c.h gh-102519: Add os.listdrives, os.listvolumes and os.listmounts on Windows (GH-102544) 2023-03-10 12:21:37 +00:00
pwdmodule.c.h
pyexpat.c.h bpo-15999: Accept arbitrary values for boolean parameters. (#15609) 2022-12-03 11:52:21 -08:00
readline.c.h
resource.c.h
selectmodule.c.h gh-101409: Improve generated clinic code for self type checks (#101411) 2023-01-31 21:42:03 +01:00
sha1module.c.h
sha2module.c.h gh-99108: Refactor _sha256 & _sha512 into _sha2. (#101924) 2023-02-15 22:08:20 -08:00
sha3module.c.h gh-99108: Replace SHA3 implementation HACL* version (#103597) 2023-05-07 20:50:04 -07:00
signalmodule.c.h
socketmodule.c.h
spwdmodule.c.h
symtablemodule.c.h
syslogmodule.c.h
termios.c.h
unicodedata.c.h
zlibmodule.c.h