summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJonathan Protzenko <protz@microsoft.com>2023-02-14 09:25:16 (GMT)
committerGitHub <noreply@github.com>2023-02-14 09:25:16 (GMT)
commite5da9ab2c82c6b4e4f8ffa699a9a609ea1bea255 (patch)
tree82536d304ac00d1450ea2d8923b0c5d504ebd320 /configure
parent8be8101bca34b60481ec3d7ecaea4a3379fb7dbb (diff)
downloadcpython-e5da9ab2c82c6b4e4f8ffa699a9a609ea1bea255.zip
cpython-e5da9ab2c82c6b4e4f8ffa699a9a609ea1bea255.tar.gz
cpython-e5da9ab2c82c6b4e4f8ffa699a9a609ea1bea255.tar.bz2
gh-99108: Import SHA2-384/512 from HACL* (#101707)
Replace the builtin hashlib implementations of SHA2-384 and SHA2-512 originally from LibTomCrypt with formally verified, side-channel resistant code from the [HACL*](https://github.com/hacl-star/hacl-star/) project. The builtins remain a fallback only used when OpenSSL does not provide them.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 35088f9..c00a1e1 100755
--- a/configure
+++ b/configure
@@ -26950,7 +26950,7 @@ fi
as_fn_append MODULE_BLOCK "MODULE__SHA512_STATE=$py_cv_module__sha512$as_nl"
if test "x$py_cv_module__sha512" = xyes; then :
-
+ as_fn_append MODULE_BLOCK "MODULE__SHA512_CFLAGS=-I\$(srcdir)/Modules/_hacl/include -I\$(srcdir)/Modules/_hacl/internal -D_BSD_SOURCE -D_DEFAULT_SOURCE$as_nl"
fi