]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-99108: Refresh HACL* (GH-104808) (#104893)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 24 May 2023 20:55:37 +0000 (13:55 -0700)
committerGitHub <noreply@github.com>
Wed, 24 May 2023 20:55:37 +0000 (20:55 +0000)
commitc4bc97a0aa0c8793d6995f8e89ff915faaf421a6
treec7bdb999382527d1c639138215333447dcc0fe84
parentb67021463687941b5ac650a9c3d0f5a533dbcf5d
[3.12] gh-99108: Refresh HACL* (GH-104808) (#104893)

gh-99108: Refresh HACL* (GH-104808)

Refresh HACL* from upstream to improve SHA2 performance and fix a 32-bit issue in SHA3.
(cherry picked from commit 160321e5304b962a162eb023472aa2bc8307ae15)

Co-authored-by: Jonathan Protzenko <protz@microsoft.com>
18 files changed:
Makefile.pre.in
Misc/NEWS.d/next/Security/2023-05-24-09-29-08.gh-issue-99108.hwS2cr.rst [new file with mode: 0644]
Modules/Setup
Modules/Setup.stdlib.in
Modules/_hacl/Hacl_Hash_MD5.c
Modules/_hacl/Hacl_Hash_MD5.h
Modules/_hacl/Hacl_Hash_SHA1.c
Modules/_hacl/Hacl_Hash_SHA1.h
Modules/_hacl/Hacl_Hash_SHA2.c [moved from Modules/_hacl/Hacl_Streaming_SHA2.c with 87% similarity]
Modules/_hacl/Hacl_Hash_SHA2.h [moved from Modules/_hacl/Hacl_Streaming_SHA2.h with 91% similarity]
Modules/_hacl/Hacl_Hash_SHA3.c
Modules/_hacl/Hacl_Hash_SHA3.h
Modules/_hacl/Hacl_Streaming_Types.h
Modules/_hacl/internal/Hacl_Hash_SHA2.h [moved from Modules/_hacl/internal/Hacl_SHA2_Generic.h with 83% similarity]
Modules/_hacl/refresh.sh
Modules/sha2module.c
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters