From 31d7cb91c16120f7932a181ffe8a7c6ab4fa13db Mon Sep 17 00:00:00 2001 From: Levi Yun Date: Sun, 21 Dec 2025 08:04:07 +0000 Subject: [PATCH] CryptoPkg: add EC algorithm for SmmCryptLib This patch prepares the build infrastructure for the TCG TPM 2.0 implementation [0]. By default, it uses the OpenSSL EC_* APIs. When the TCG TPM 2.0 implementation [0] is used in StandaloneMm, EC algorithm support is required in SmmCryptLib. Link: https://github.com/TrustedComputingGroup/TPM [0] Signed-off-by: Yeoreum Yun --- CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf | 2 +- CryptoPkg/Readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf index 7250e62735..b09e62aa67 100644 --- a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf @@ -62,7 +62,7 @@ Pk/CryptTsNull.c Pk/CryptRsaPss.c Pk/CryptRsaPssSignNull.c - Pk/CryptEcNull.c + Pk/CryptEc.c Pem/CryptPem.c Bn/CryptBn.c diff --git a/CryptoPkg/Readme.md b/CryptoPkg/Readme.md index b6451f49de..9cd7850c0a 100644 --- a/CryptoPkg/Readme.md +++ b/CryptoPkg/Readme.md @@ -230,7 +230,7 @@ also configured. | ParallelHash | N | N | | | | C | | | AeadAesGcm | N | N | | | C | | | | Bn | N | N | | | C | C | | -| Ec | N | N | | | C-Full | | | +| Ec | N | N | | | C-Full | C-Full | | | Camellia | N | N | | | C-Full | C-Full | | ## Platform Configuration of Cryptographic Services