]> git.proxmox.com Git - mirror_edk2.git/commit
CryptoPkg/BaseCryptLib: add crypto algorithms needed by variable protection
authorWang, Jian J <jian.j.wang@intel.com>
Tue, 18 Aug 2020 02:53:51 +0000 (10:53 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 29 Sep 2020 05:58:58 +0000 (05:58 +0000)
commit52dbaaeace647961bae61634c4be49ea2ca3d5cd
treef632025cf8644a3db09b06071210332267628f83
parentffa51b3bde2da8e2719e3be1ecce63d1f9913e36
CryptoPkg/BaseCryptLib: add crypto algorithms needed by variable protection

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594

Crypto algorithms, hkdf-sha256/hmac-sha256/aes, are needed to verify
integrity of variable data, derive hmac and encryption keys, and
encrypt/decrypt varible. Replacing null version source code with real
implementations makes sure we can enable full functionalities of protected
variable later.

Cc: Xiaoyu Lu <xiaoyux.lu@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Guomin Jiang <guomin.jiang@intel.com>
Cc: Nishant C Mistry <nishant.c.mistry@intel.com>
Signed-off-by: Jian J Wang <jian.j.wang@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf