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>
This commit is contained in:
Christopher Zurcher
2022-09-22 04:25:39 +08:00
committed by mergify[bot]
parent 0c9d4ad788
commit 03f708090b
5 changed files with 1432 additions and 0 deletions

View File

@@ -113,6 +113,18 @@ BEGIN {
$uefi_config = "UEFI-x86_64-GCC";
$extension = "S";
$comment_character = "#";
} elsif (uc ($arch) eq "IA32") {
$arch = "IA32";
$inf_file = "OpensslLibIa32.inf";
$uefi_config = "UEFI-x86";
$extension = "nasm";
$comment_character = ";";
} elsif (uc ($arch) eq "IA32GCC") {
$arch = "IA32Gcc";
$inf_file = "OpensslLibIa32Gcc.inf";
$uefi_config = "UEFI-x86-GCC";
$extension = "S";
$comment_character = "#";
} else {
die "Unsupported architecture \"" . $arch . "\"!";
}