Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions wolfProvider/python3/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This patch is not needed for python to operate with wolfProvider, it is only for
removing scrypt from the python internal tests.
14 changes: 14 additions & 0 deletions wolfProvider/python3/python-3.13.7-wolfprov.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/Modules/_hashopenssl.c b/Modules/_hashopenssl.c
index 5e4783395f4..eb76ca69382 100644
--- a/Modules/_hashopenssl.c
+++ b/Modules/_hashopenssl.c
@@ -45,7 +45,8 @@

#define MUNCH_SIZE INT_MAX

-#define PY_OPENSSL_HAS_SCRYPT 1
+/* Disabled for wolfProvider testing - scrypt KDF not supported */
+/* #define PY_OPENSSL_HAS_SCRYPT 1 */
#if defined(NID_sha3_224) && defined(NID_sha3_256) && defined(NID_sha3_384) && defined(NID_sha3_512)
#define PY_OPENSSL_HAS_SHA3 1
#endif