* Enable BaseCryptLib in Smm
@ 2021-06-01 0:28 Xue, ShengfengX
0 siblings, 0 replies; only message in thread
From: Xue, ShengfengX @ 2021-06-01 0:28 UTC (permalink / raw)
To: Yao, Jiewen, Wang, Jian J, Lu, XiaoyuX, Jiang, Guomin,
devel@edk2.groups.io
[-- Attachment #1.1: Type: text/plain, Size: 250 bytes --]
Hi EDKII Developer
Platform BIOS need enabled BaseCryptLib in Smm, code as attachment, could you please review it? Thanks
It cannot 'git send-email' in my side with reported error "Unable to initialize SMTP properly.".
Best Regards,
Roy
[-- Attachment #1.2: Type: text/html, Size: 2332 bytes --]
[-- Attachment #2: 0001-CryptoPkg-BaseCryptLib-Enabled-CryptSha512-for-Smm-d.patch --]
[-- Type: application/octet-stream, Size: 1454 bytes --]
From bf86402763038f0131c31c370e20842a65c5d025 Mon Sep 17 00:00:00 2001
Message-Id: <bf86402763038f0131c31c370e20842a65c5d025.1622439694.git.shengfengx.xue@intel.com>
From: Shengfengx Xue <shengfengx.xue@intel.com>
Date: Mon, 31 May 2021 13:32:59 +0800
Subject: [PATCH] CryptoPkg/BaseCryptLib: Enabled CryptSha512 for Smm drivers.
in SmmCryptLib.inf, change CryptSha512NULL.c to CryptSha512.c.
Signed-off-by: Shengfengx Xue <shengfengx.xue@intel.com>
---
CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
index 07c376ce04..e6470d7a21 100644
--- a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
+++ b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
@@ -10,7 +10,7 @@
# RSA external functions, PKCS#7 SignedData sign functions, Diffie-Hellman functions, and
# authenticode signature verification functions are not supported in this instance.
#
-# Copyright (c) 2010 - 2020, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2010 - 2021, Intel Corporation. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
@@ -37,7 +37,7 @@
Hash/CryptSha1.c
Hash/CryptSha256.c
Hash/CryptSm3.c
- Hash/CryptSha512Null.c
+ Hash/CryptSha512.c
Hmac/CryptHmacSha256.c
Kdf/CryptHkdfNull.c
Cipher/CryptAes.c
--
2.26.2.windows.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-01 0:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-01 0:28 Enable BaseCryptLib in Smm Xue, ShengfengX
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox