]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg: Add missing GUID variables in BlockIoCrypto.h
authorFeng Tian <feng.tian@intel.com>
Fri, 8 May 2015 07:49:07 +0000 (07:49 +0000)
committererictian <erictian@Edk2>
Fri, 8 May 2015 07:49:07 +0000 (07:49 +0000)
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

MdePkg/Include/Protocol/BlockIoCrypto.h
MdePkg/MdePkg.dec

index 1acec04a8c84a14dee3827163218aa51d903e28e..2cc60b8a13b4f20b23bb2ea0aa5728135d529613 100644 (file)
@@ -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;
index dfeb075be3b5033e9e1f7877959a1c7a3c0c5129..dccc36793fc02789a6130ee70070fbf21aec3c0e 100644 (file)
   ## Include/Guid/Cper.h\r
   gEfiPlatformMemory2ErrorSectionGuid = { 0x61EC04FC, 0x48E6, 0xD813, { 0x25, 0xC9, 0x8D, 0xAA, 0x44, 0x75, 0x0B, 0x12 }}\r
 \r
+  ## Include/Protocol/BlockIoCrypto.h\r
+  gEfiBlockIoCryptoAlgoAesXtsGuid            = { 0x2f87ba6a, 0x5c04, 0x4385, {0xa7, 0x80, 0xf3, 0xbf, 0x78, 0xa9, 0x7b, 0xec }}\r
+  gEfiBlockIoCryptoAlgoAesCbcMsBitlockerGuid = { 0x689e4c62, 0x70bf, 0x4cf3, {0x88, 0xbb, 0x33, 0xb3, 0x18, 0x26, 0x86, 0x70 }}\r
+\r
   #\r
   # GUID defined in PI1.0\r
   #\r