[edk2-devel] [PATCH 0/3] CryptoPkg: Enable ECC in openssllib by a customize-able way
yi1 li
yi1.li at intel.com
Wed Apr 13 06:24:29 UTC 2022
EDK2 has Enabled a feature which allow SOURCE section in INF files to
use Pcd to customize source files list. If Pcd equal to FALSE, this
file will not be compiled.
https://github.com/tianocore/edk2/commit/
bf9230a9f3dde065c3c8b4175ccd32e44e8f0362
The patches add a customizable EC feature to CryptoPkg by this feature.
If Pcd equal to FALSE(Diabled), the binary size will not be changed.
Size diff(Bytes):
| CryptDxe.efi | CryptPei.efi | CryptSmm.efi |
Before | 815,616 | 540,544 | 563,712 |
Diabled | 815,616 | 540,544 | 563,712 |
Enabled | 1,008,352 | 721,408 | 744,832 |
Cc: Jiewen Yao <jiewen.yao at intel.com>
Cc: Jian J Wang <jian.j.wang at intel.com>
Signed-off-by: yi1 li <yi1.li at intel.com>
yi1 li (3):
CryptoPkg: Add instrinsics to support building ECC on IA32 windows
CryptoPkg: Reconfigure OpensslLib to add EC algorithms
CryptoPkg: Make EC source file config-able
CryptoPkg/CryptoPkg.dec | 4 +
.../Library/Include/openssl/opensslconf.h | 10 +-
.../Library/IntrinsicLib/Ia32/MathLlmul.asm | 98 +++++++++++++++++++
.../Library/IntrinsicLib/Ia32/MathLlshr.asm | 78 +++++++++++++++
.../Library/IntrinsicLib/IntrinsicLib.inf | 2 +
CryptoPkg/Library/OpensslLib/OpensslLib.inf | 50 ++++++++++
.../Library/OpensslLib/OpensslLibCrypto.inf | 50 ++++++++++
CryptoPkg/Library/OpensslLib/process_files.pl | 2 +-
8 files changed, 289 insertions(+), 5 deletions(-)
create mode 100644 CryptoPkg/Library/IntrinsicLib/Ia32/MathLlmul.asm
create mode 100644 CryptoPkg/Library/IntrinsicLib/Ia32/MathLlshr.asm
--
2.33.0.windows.2
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#88844): https://edk2.groups.io/g/devel/message/88844
Mute This Topic: https://groups.io/mt/90435462/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list