summaryrefslogtreecommitdiffstats
path: root/CryptoPkg/Include
diff options
context:
space:
mode:
authorQi Zhang <qi1.zhang@intel.com>2022-09-23 14:32:00 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-09-23 08:24:42 +0000
commit022787f806250187b0a2b4e25901a5d5b31ec1ed (patch)
tree9b54e16175e6fd08ab3f846e474cd839e347ee0a /CryptoPkg/Include
parenta23f76e184e6f250e0464ce9c11851fc5c7ee67c (diff)
downloadedk2-022787f806250187b0a2b4e25901a5d5b31ec1ed.tar.gz
edk2-022787f806250187b0a2b4e25901a5d5b31ec1ed.tar.bz2
edk2-022787f806250187b0a2b4e25901a5d5b31ec1ed.zip
CryptoPkg: add AeadAesGcm to Crypto Service.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4036 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>
Diffstat (limited to 'CryptoPkg/Include')
-rw-r--r--CryptoPkg/Include/Pcd/PcdCryptoServiceFamilyEnable.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/CryptoPkg/Include/Pcd/PcdCryptoServiceFamilyEnable.h b/CryptoPkg/Include/Pcd/PcdCryptoServiceFamilyEnable.h
index 5caf597421..8a8d7c179d 100644
--- a/CryptoPkg/Include/Pcd/PcdCryptoServiceFamilyEnable.h
+++ b/CryptoPkg/Include/Pcd/PcdCryptoServiceFamilyEnable.h
@@ -319,6 +319,13 @@ typedef struct {
} Services;
UINT32 Family;
} ParallelHash;
+ union {
+ struct {
+ UINT8 Encrypt : 1;
+ UINT8 Decrypt : 1;
+ } Services;
+ UINT32 Family;
+ } AeadAesGcm;
} PCD_CRYPTO_SERVICE_FAMILY_ENABLE;
#endif