CryptoPkg: Add EC key interface to DXE and protocol

The implementation provide EC key interface for EFI
 driver nad EFI BaseCrypt protocol.

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

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>
Signed-off-by: Qi Zhang <qi1.zhang@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
Qi Zhang
2022-10-12 10:47:59 +08:00
committed by mergify[bot]
parent f21a1d48fe
commit 69a50a249b
4 changed files with 412 additions and 2 deletions

View File

@@ -383,6 +383,10 @@ typedef struct {
UINT8 GenerateKey : 1;
UINT8 GetPubKey : 1;
UINT8 DhComputeKey : 1;
UINT8 GetPublicKeyFromX509 : 1;
UINT8 GetPrivateKeyFromPem : 1;
UINT8 DsaSign : 1;
UINT8 DsaVerify : 1;
} Services;
UINT32 Family;
} Ec;