]> git.proxmox.com Git - mirror_edk2.git/commit
CryptoPkg: Add SecCryptLib
authorMin Xu <min.m.xu@intel.com>
Mon, 16 May 2022 07:42:16 +0000 (15:42 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 3 Jun 2022 11:41:36 +0000 (11:41 +0000)
commitb1567b2e15239b06952e81f15c295574fae983e3
tree9428b99de0e712c59093916c3c6332b3b5e3f641
parent72c5afd0b47b26d569451bbee4cef18b0dd6e043
CryptoPkg: Add SecCryptLib

RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3853

This is the Cryptographic library instance for SEC. The motivation of
this library is to support SHA384 in SEC phase for Td guest. So only
Hash/CryptSha512.c is included which supports SHA384 and SHA512. Other
cryptographics are added with the null version, such as CryptMd5Null.c.

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>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Min Xu <min.m.xu@intel.com>
CryptoPkg/CryptoPkg.dsc
CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5Null.c [new file with mode: 0644]
CryptoPkg/Library/BaseCryptLib/Hash/CryptSha1Null.c [new file with mode: 0644]
CryptoPkg/Library/BaseCryptLib/Hash/CryptSha256Null.c [new file with mode: 0644]
CryptoPkg/Library/BaseCryptLib/Hash/CryptSm3Null.c [new file with mode: 0644]
CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyEkuNull.c [new file with mode: 0644]
CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaBasicNull.c [new file with mode: 0644]
CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf [new file with mode: 0644]