]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-131298: eliminate HACL* static libraries for cryptographic modules (GH-132438)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Sun, 20 Apr 2025 17:40:17 +0000 (19:40 +0200)
committerGitHub <noreply@github.com>
Sun, 20 Apr 2025 17:40:17 +0000 (17:40 +0000)
commit5f2ba152a0471f6f556ca2d9486e5ba486fcfbde
treeea434813aebbd83d9707fb433c4ad94fa10fe903
parent492e3e6976d05b8de1892c37c900ada23eaeaf06
gh-131298: eliminate HACL* static libraries for cryptographic modules (GH-132438)

* simplify HACL* build for MD5, SHA1, SHA2 and SHA3 modules

* remove statically linked libraries for HACL* implementation

* is it better now?

* is it better now?

* fixup

* Present HACL* as a static or shared library.

On WASI, extension modules based on HACL* require the HACL*
library to be linked statically. On other platforms, it can
be built dynamically.

* amend whitespace

* remove temporary .so file as it requires more symlinks

* avoid smelly symbols

* fixup checksums

* regen sbom

* fixup shell warnings and comments

* it *should* work
Makefile.pre.in
Misc/sbom.spdx.json
Modules/Setup.stdlib.in
Modules/_hacl/lib_memzero0.h
Modules/_hacl/python_hacl_namespaces.h
Modules/_hacl/refresh.sh
Modules/makesetup
configure
configure.ac