CryptoPkg: add new Hkdf api definition in Crypt Lib.

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

Signed-off-by: Qi Zhang <qi1.zhang@intel.com>
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>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
Qi Zhang
2022-09-23 14:25:06 +08:00
committed by mergify[bot]
parent f3c69cb5a1
commit 1336476233
3 changed files with 273 additions and 2 deletions

View File

@ -245,7 +245,12 @@ typedef struct {
} Sm3;
union {
struct {
UINT8 Sha256ExtractAndExpand;
UINT8 Sha256ExtractAndExpand : 1;
UINT8 Sha256Extract : 1;
UINT8 Sha256Expand : 1;
UINT8 Sha384ExtractAndExpand : 1;
UINT8 Sha384Extract : 1;
UINT8 Sha384Expand : 1;
} Services;
UINT32 Family;
} Hkdf;