summaryrefslogtreecommitdiffstats
path: root/CryptoPkg/Library/OpensslLib/UefiAsm.conf
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2023-08-03 12:37:23 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-08-09 07:10:31 +0000
commitac492c3ead964861a0aaf762155a2a923a8d70a0 (patch)
treebeec907da18b0f271d38906bc17be9838f78bb36 /CryptoPkg/Library/OpensslLib/UefiAsm.conf
parent81f5aa0700666d329fb7ceecad13759e86bac094 (diff)
downloadedk2-ac492c3ead964861a0aaf762155a2a923a8d70a0.tar.gz
edk2-ac492c3ead964861a0aaf762155a2a923a8d70a0.tar.bz2
edk2-ac492c3ead964861a0aaf762155a2a923a8d70a0.zip
CryptoPkg/openssl: UefiAsm.conf update for openssl 3.0
New naming convention for the configs: UEFI-${efiarch}-${compiler}. Signed-off-by: Gerd Hoffmann <kraxel@redhat.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/UefiAsm.conf')
-rw-r--r--CryptoPkg/Library/OpensslLib/UefiAsm.conf41
1 files changed, 12 insertions, 29 deletions
diff --git a/CryptoPkg/Library/OpensslLib/UefiAsm.conf b/CryptoPkg/Library/OpensslLib/UefiAsm.conf
index c3940b5886..907582f93e 100644
--- a/CryptoPkg/Library/OpensslLib/UefiAsm.conf
+++ b/CryptoPkg/Library/OpensslLib/UefiAsm.conf
@@ -8,41 +8,24 @@
##
my %targets = (
-#### UEFI
- "UEFI-x86" => {
- perlasm_scheme => "win32n",
- # inherit_from => [ "UEFI", asm("x86_asm") ],
+ "UEFI-IA32-MSFT" => {
inherit_from => [ "UEFI" ],
- cpuid_asm_src => "x86cpuid.s",
- aes_asm_src => "aes_core.c aes_cbc.c vpaes-x86.s aesni-x86.s",
- sha1_asm_src => "sha1-586.s sha256-586.s sha512-586.s",
- modes_asm_src => "ghash-x86.s",
+ perlasm_scheme => "win32n",
+ asm_arch => "x86",
},
- "UEFI-x86-GCC" => {
- perlasm_scheme => "elf",
- # inherit_from => [ "UEFI", asm("x86_asm") ],
+ "UEFI-IA32-GCC" => {
inherit_from => [ "UEFI" ],
- cpuid_asm_src => "x86cpuid.s",
- aes_asm_src => "aes_core.c aes_cbc.c vpaes-x86.s aesni-x86.s",
- sha1_asm_src => "sha1-586.s sha256-586.s sha512-586.s",
- modes_asm_src => "ghash-x86.s",
+ perlasm_scheme => "elf",
+ asm_arch => "x86",
},
- "UEFI-x86_64" => {
- perlasm_scheme => "nasm",
- # inherit_from => [ "UEFI", asm("x86_64_asm") ],
+ "UEFI-X64-MSFT" => {
inherit_from => [ "UEFI" ],
- cpuid_asm_src => "x86_64cpuid.s",
- aes_asm_src => "aes_core.c aes_cbc.c vpaes-x86_64.s aesni-x86_64.s aesni-sha1-x86_64.s aesni-sha256-x86_64.s aesni-mb-x86_64.s",
- sha1_asm_src => "sha1-x86_64.s sha256-x86_64.s sha512-x86_64.s sha1-mb-x86_64.s sha256-mb-x86_64.s",
- modes_asm_src => "ghash-x86_64.s aesni-gcm-x86_64.s",
+ perlasm_scheme => "nasm",
+ asm_arch => "x86_64",
},
- "UEFI-x86_64-GCC" => {
- perlasm_scheme => "elf",
- # inherit_from => [ "UEFI", asm("x86_64_asm") ],
+ "UEFI-X64-GCC" => {
inherit_from => [ "UEFI" ],
- cpuid_asm_src => "x86_64cpuid.s",
- aes_asm_src => "aes_core.c aes_cbc.c vpaes-x86_64.s aesni-x86_64.s aesni-sha1-x86_64.s aesni-sha256-x86_64.s aesni-mb-x86_64.s",
- sha1_asm_src => "sha1-x86_64.s sha256-x86_64.s sha512-x86_64.s sha1-mb-x86_64.s sha256-mb-x86_64.s",
- modes_asm_src => "ghash-x86_64.s aesni-gcm-x86_64.s",
+ perlasm_scheme => "elf",
+ asm_arch => "x86_64",
},
);