summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorFeng Tian <feng.tian@intel.com>2015-05-08 07:49:07 +0000
committererictian <erictian@Edk2>2015-05-08 07:49:07 +0000
commit322f68080d2b24a0396402371926cc3e81ccaddb (patch)
treecdce6717660a0e508185f8740a53801b0c5d526d /MdePkg
parent522dfbf380563e326b1878e013afd3fddecfbd9c (diff)
downloadedk2-platforms-322f68080d2b24a0396402371926cc3e81ccaddb.tar.xz
MdePkg: Add missing GUID variables in BlockIoCrypto.h
Declares some extern EFI_GUID variables which correspond to guid macros in BlockIoCrypto.h for C code use. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17378 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Protocol/BlockIoCrypto.h4
-rw-r--r--MdePkg/MdePkg.dec4
2 files changed, 8 insertions, 0 deletions
diff --git a/MdePkg/Include/Protocol/BlockIoCrypto.h b/MdePkg/Include/Protocol/BlockIoCrypto.h
index 1acec04a8c..2cc60b8a13 100644
--- a/MdePkg/Include/Protocol/BlockIoCrypto.h
+++ b/MdePkg/Include/Protocol/BlockIoCrypto.h
@@ -427,6 +427,8 @@ typedef struct {
0x2f87ba6a, 0x5c04, 0x4385, {0xa7, 0x80, 0xf3, 0xbf, 0x78, 0xa9, 0x7b, 0xec} \
}
+extern EFI_GUID gEfiBlockIoCryptoAlgoAesXtsGuid;
+
typedef struct {
EFI_BLOCK_IO_CRYPTO_IV_INPUT Header;
UINT64 CryptoBlockNumber;
@@ -438,6 +440,8 @@ typedef struct {
0x689e4c62, 0x70bf, 0x4cf3, {0x88, 0xbb, 0x33, 0xb3, 0x18, 0x26, 0x86, 0x70} \
}
+extern EFI_GUID gEfiBlockIoCryptoAlgoAesCbcMsBitlockerGuid;
+
typedef struct {
EFI_BLOCK_IO_CRYPTO_IV_INPUT Header;
UINT64 CryptoBlockByteOffset;
diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec
index dfeb075be3..dccc36793f 100644
--- a/MdePkg/MdePkg.dec
+++ b/MdePkg/MdePkg.dec
@@ -575,6 +575,10 @@
## Include/Guid/Cper.h
gEfiPlatformMemory2ErrorSectionGuid = { 0x61EC04FC, 0x48E6, 0xD813, { 0x25, 0xC9, 0x8D, 0xAA, 0x44, 0x75, 0x0B, 0x12 }}
+ ## Include/Protocol/BlockIoCrypto.h
+ gEfiBlockIoCryptoAlgoAesXtsGuid = { 0x2f87ba6a, 0x5c04, 0x4385, {0xa7, 0x80, 0xf3, 0xbf, 0x78, 0xa9, 0x7b, 0xec }}
+ gEfiBlockIoCryptoAlgoAesCbcMsBitlockerGuid = { 0x689e4c62, 0x70bf, 0x4cf3, {0x88, 0xbb, 0x33, 0xb3, 0x18, 0x26, 0x86, 0x70 }}
+
#
# GUID defined in PI1.0
#