diff options
author | Qi Zhang <qi1.zhang@intel.com> | 2022-10-12 12:36:00 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-10-12 06:38:15 +0000 |
commit | 22745df666e20a03d3f918f035b71d5d0e7b76cd (patch) | |
tree | 3361696628efcaafe0ba55105b0e2858bc8118dd /CryptoPkg/Include | |
parent | 8ecae3d6411dc8f39a7751ff6c02eefe6f40ead5 (diff) | |
download | edk2-22745df666e20a03d3f918f035b71d5d0e7b76cd.tar.gz |
CryptoPkg: add new X509 function to Crypto Service.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4082
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>
Diffstat (limited to 'CryptoPkg/Include')
-rw-r--r-- | CryptoPkg/Include/Pcd/PcdCryptoServiceFamilyEnable.h | 34 |
1 files changed, 24 insertions, 10 deletions
diff --git a/CryptoPkg/Include/Pcd/PcdCryptoServiceFamilyEnable.h b/CryptoPkg/Include/Pcd/PcdCryptoServiceFamilyEnable.h index 12b0c0583e..f1f5084e70 100644 --- a/CryptoPkg/Include/Pcd/PcdCryptoServiceFamilyEnable.h +++ b/CryptoPkg/Include/Pcd/PcdCryptoServiceFamilyEnable.h @@ -187,16 +187,30 @@ typedef struct { } Sha512;
union {
struct {
- UINT8 GetSubjectName : 1;
- UINT8 GetCommonName : 1;
- UINT8 GetOrganizationName : 1;
- UINT8 VerifyCert : 1;
- UINT8 ConstructCertificate : 1;
- UINT8 ConstructCertificateStack : 1;
- UINT8 ConstructCertificateStackV : 1;
- UINT8 Free : 1;
- UINT8 StackFree : 1;
- UINT8 GetTBSCert : 1;
+ UINT8 GetSubjectName : 1;
+ UINT8 GetCommonName : 1;
+ UINT8 GetOrganizationName : 1;
+ UINT8 VerifyCert : 1;
+ UINT8 ConstructCertificate : 1;
+ UINT8 ConstructCertificateStack : 1;
+ UINT8 ConstructCertificateStackV : 1;
+ UINT8 Free : 1;
+ UINT8 StackFree : 1;
+ UINT8 GetTBSCert : 1;
+ UINT8 GetVersion : 1;
+ UINT8 GetSerialNumber : 1;
+ UINT8 GetIssuerName : 1;
+ UINT8 GetSignatureAlgorithm : 1;
+ UINT8 GetExtensionData : 1;
+ UINT8 GetExtendedKeyUsage : 1;
+ UINT8 GetValidity : 1;
+ UINT8 FormatDateTime : 1;
+ UINT8 CompareDateTime : 1;
+ UINT8 GetKeyUsage : 1;
+ UINT8 VerifyCertChain : 1;
+ UINT8 GetCertFromCertChain : 1;
+ UINT8 Asn1GetTag : 1;
+ UINT8 GetExtendedBasicConstraints : 1;
} Services;
UINT32 Family;
} X509;
|