Files
system76-edk2/CryptoPkg/Library/OpensslLib/UefiAsm.conf
Christopher Zurcher 03f708090b CryptoPkg/OpensslLib: Add native instruction support for IA32
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3654

Adding native instruction support for accelerated OpenSSL features for
IA32 architecture, following the pattern set by the previous commits for
X64 native support.

Cc: Yi Li <yi1.li@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com>
Cc: Guomin Jiang <guomin.jiang@intel.com>
Signed-off-by: Christopher Zurcher <christopher.zurcher@microsoft.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
2022-09-23 11:07:54 +00:00

49 lines
2.1 KiB
Perl

## -*- mode: perl; -*-
# UEFI assembly openssl configuration targets.
#
# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
my %targets = (
#### UEFI
"UEFI-x86" => {
perlasm_scheme => "win32n",
# inherit_from => [ "UEFI", asm("x86_asm") ],
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",
},
"UEFI-x86-GCC" => {
perlasm_scheme => "elf",
# inherit_from => [ "UEFI", asm("x86_asm") ],
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",
},
"UEFI-x86_64" => {
perlasm_scheme => "nasm",
# inherit_from => [ "UEFI", asm("x86_64_asm") ],
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",
},
"UEFI-x86_64-GCC" => {
perlasm_scheme => "elf",
# inherit_from => [ "UEFI", asm("x86_64_asm") ],
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",
},
);