summaryrefslogtreecommitdiffstats
path: root/CryptoPkg/Library/OpensslLib/OpenSSL-HOWTO.txt
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2023-08-03 12:37:22 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-08-09 07:10:31 +0000
commit81f5aa0700666d329fb7ceecad13759e86bac094 (patch)
tree2b291b3cb2fdbaae7baa2fe9a5fbc184a649436f /CryptoPkg/Library/OpensslLib/OpenSSL-HOWTO.txt
parent7cede6d5f42fe26b891422287e6f532e0113ff2f (diff)
downloadedk2-81f5aa0700666d329fb7ceecad13759e86bac094.tar.gz
edk2-81f5aa0700666d329fb7ceecad13759e86bac094.tar.bz2
edk2-81f5aa0700666d329fb7ceecad13759e86bac094.zip
CryptoPkg/openssl: add openssl3 configure scripts
Rewrite the script to configure openssl 3.0 from scratch. It's two scripts now: * Tiny helper script, dumping the perl configdata as json. * Actual configure.py script, written in python, which copies over the generated files to openssl-gen and updates the OpensslLib*.inf file lists and build flags. The configuration workflow has changed a bit: * All generated files are stored in the OpensslGen directory tree. * For ec/no-ec builds two different header files are used. Default is the ec variant, and the new EDK2_OPENSSL_NOEC define is used to select the no-ec build. A five line wrapper include is used to pick the one or the other. * For non-accel builds -DOPENSSL_NO_ASM on the command line is used (same as before). * For configration defines the OPENSSL_FLAGS_$(variant) variable is used, where variant is the architecture for the accelerated builds and 'NOASM' for the non-accelerated builds. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Yi Li <yi1.li@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com> Cc: Guomin Jiang <guomin.jiang@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Tested-by: Ard Biesheuvel <ardb@kernel.org> Tested-by: Brian J. Johnson <brian.johnson@hpe.com> Tested-by: Kenneth Lautner <klautner@microsoft.com>
Diffstat (limited to 'CryptoPkg/Library/OpensslLib/OpenSSL-HOWTO.txt')
-rw-r--r--CryptoPkg/Library/OpensslLib/OpenSSL-HOWTO.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CryptoPkg/Library/OpensslLib/OpenSSL-HOWTO.txt b/CryptoPkg/Library/OpensslLib/OpenSSL-HOWTO.txt
index e52ee27b49..fff47d9f6b 100644
--- a/CryptoPkg/Library/OpensslLib/OpenSSL-HOWTO.txt
+++ b/CryptoPkg/Library/OpensslLib/OpenSSL-HOWTO.txt
@@ -28,9 +28,9 @@ on the cryptography.
refer to edk2/Readme.md for how to clone the code.
=============================================================================
- About process_files.pl
+ About configure.py
=============================================================================
- "process_files.pl" is one Perl script which runs the OpenSSL Configure,
+ "configure.py" is one python script which runs the OpenSSL Configure,
then processes the resulting file list into our local OpensslLib.inf and
OpensslLibCrypto.inf.
This only needs to be done once by the maintainer / developer when