audk/CryptoPkg/Library/OpensslLib
Gerd Hoffmann 81f5aa0700 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>
2023-08-09 07:10:31 +00:00
..
X64 CryptoPkg/openssl: cleanup all openssl1.1.1 generated files and code 2023-08-09 07:10:31 +00:00
openssl@de90e54bbe CryptoPkg/openssl: update submodule to openssl-3.0.9 2023-08-09 07:10:31 +00:00
EcSm2Null.c CryptoPkg/Library/OpensslLib: Produce consistent set of APIs 2022-10-24 07:49:43 +00:00
OpenSSL-HOWTO.txt CryptoPkg/openssl: add openssl3 configure scripts 2023-08-09 07:10:31 +00:00
OpensslLib.inf CryptoPkg/openssl: update Openssl*.inf files for openssl 3.0 2023-08-09 07:10:31 +00:00
OpensslLib.uni CryptoPkg/Library/OpensslLib: Combine all performance optimized INFs 2022-10-24 07:49:43 +00:00
OpensslLibAccel.inf CryptoPkg/openssl: update Openssl*.inf files for openssl 3.0 2023-08-09 07:10:31 +00:00
OpensslLibAccel.uni CryptoPkg/Library/OpensslLib: Combine all performance optimized INFs 2022-10-24 07:49:43 +00:00
OpensslLibConstructor.c CryptoPkg/Library/OpensslLib: Combine all performance optimized INFs 2022-10-24 07:49:43 +00:00
OpensslLibCrypto.inf CryptoPkg/openssl: update Openssl*.inf files for openssl 3.0 2023-08-09 07:10:31 +00:00
OpensslLibCrypto.uni CryptoPkg/Library/OpensslLib: Combine all performance optimized INFs 2022-10-24 07:49:43 +00:00
OpensslLibFull.inf CryptoPkg/openssl: update Openssl*.inf files for openssl 3.0 2023-08-09 07:10:31 +00:00
OpensslLibFull.uni CryptoPkg/Library/OpensslLib: Combine all performance optimized INFs 2022-10-24 07:49:43 +00:00
OpensslLibFullAccel.inf CryptoPkg/openssl: update Openssl*.inf files for openssl 3.0 2023-08-09 07:10:31 +00:00
OpensslLibFullAccel.uni CryptoPkg/Library/OpensslLib: Combine all performance optimized INFs 2022-10-24 07:49:43 +00:00
SslNull.c CryptoPkg/Library/OpensslLib: Produce consistent set of APIs 2022-10-24 07:49:43 +00:00
UefiAsm.conf CryptoPkg/OpensslLib: Add native instruction support for IA32 2022-09-23 11:07:54 +00:00
buildinf.h CryptoPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
configure.py CryptoPkg/openssl: add openssl3 configure scripts 2023-08-09 07:10:31 +00:00
ossl_store.c CryptoPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
perl2json.pl CryptoPkg/openssl: add openssl3 configure scripts 2023-08-09 07:10:31 +00:00
rand_pool.c CryptoPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00