MdePkg: Add missing GUID variables in SmartCardEdge.h

Declares some extern EFI_GUID variables which correspond to
guid macros in SmartCardEdge.h for C code use.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Qin Long <qin.long@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17379 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Feng Tian 2015-05-08 07:50:00 +00:00 committed by erictian
parent 322f68080d
commit e498b96a97
2 changed files with 20 additions and 0 deletions

View File

@ -157,6 +157,9 @@ typedef UINT8 SMART_CARD_CSN[SCARD_CSN_SIZE];
{ \ { \
0x9317ec24, 0x7cb0, 0x4d0e, {0x8b, 0x32, 0x2e, 0xd9, 0x20, 0x9c, 0xd8, 0xaf} \ 0x9317ec24, 0x7cb0, 0x4d0e, {0x8b, 0x32, 0x2e, 0xd9, 0x20, 0x9c, 0xd8, 0xaf} \
} }
extern EFI_GUID gEfiPaddingRsassaPkcs1V1P5Guid;
// //
// RSASSA-PSS padding method, for signature // RSASSA-PSS padding method, for signature
// //
@ -165,6 +168,8 @@ typedef UINT8 SMART_CARD_CSN[SCARD_CSN_SIZE];
0x7b2349e0, 0x522d, 0x4f8e, {0xb9, 0x27, 0x69, 0xd9, 0x7c, 0x9e, 0x79, 0x5f} \ 0x7b2349e0, 0x522d, 0x4f8e, {0xb9, 0x27, 0x69, 0xd9, 0x7c, 0x9e, 0x79, 0x5f} \
} }
extern EFI_GUID gEfiPaddingRsassaPssGuid;
// //
// Padding methods GUIDs for decryption // Padding methods GUIDs for decryption
// //
@ -175,6 +180,9 @@ typedef UINT8 SMART_CARD_CSN[SCARD_CSN_SIZE];
{ \ { \
0x3629ddb1, 0x228c, 0x452e, {0xb6, 0x16, 0x09, 0xed, 0x31, 0x6a, 0x97, 0x00} \ 0x3629ddb1, 0x228c, 0x452e, {0xb6, 0x16, 0x09, 0xed, 0x31, 0x6a, 0x97, 0x00} \
} }
extern EFI_GUID gEfiPaddingNoneGuid;
// //
// RSAES-PKCS#1-V1.5 padding, for decryption // RSAES-PKCS#1-V1.5 padding, for decryption
// //
@ -182,6 +190,9 @@ typedef UINT8 SMART_CARD_CSN[SCARD_CSN_SIZE];
{ \ { \
0xe1c1d0a9, 0x40b1, 0x4632, {0xbd, 0xcc, 0xd9, 0xd6, 0xe5, 0x29, 0x56, 0x31} \ 0xe1c1d0a9, 0x40b1, 0x4632, {0xbd, 0xcc, 0xd9, 0xd6, 0xe5, 0x29, 0x56, 0x31} \
} }
extern EFI_GUID gEfiPaddingRsaesPkcs1V1P5Guid;
// //
// RSAES-OAEP padding, for decryption // RSAES-OAEP padding, for decryption
// //
@ -190,6 +201,8 @@ typedef UINT8 SMART_CARD_CSN[SCARD_CSN_SIZE];
0xc1e63ac4, 0xd0cf, 0x4ce6, {0x83, 0x5b, 0xee, 0xd0, 0xe6, 0xa8, 0xa4, 0x5b} \ 0xc1e63ac4, 0xd0cf, 0x4ce6, {0x83, 0x5b, 0xee, 0xd0, 0xe6, 0xa8, 0xa4, 0x5b} \
} }
extern EFI_GUID gEfiPaddingRsaesOaepGuid;
/** /**
This function retrieves the context driver. This function retrieves the context driver.

View File

@ -579,6 +579,13 @@
gEfiBlockIoCryptoAlgoAesXtsGuid = { 0x2f87ba6a, 0x5c04, 0x4385, {0xa7, 0x80, 0xf3, 0xbf, 0x78, 0xa9, 0x7b, 0xec }} gEfiBlockIoCryptoAlgoAesXtsGuid = { 0x2f87ba6a, 0x5c04, 0x4385, {0xa7, 0x80, 0xf3, 0xbf, 0x78, 0xa9, 0x7b, 0xec }}
gEfiBlockIoCryptoAlgoAesCbcMsBitlockerGuid = { 0x689e4c62, 0x70bf, 0x4cf3, {0x88, 0xbb, 0x33, 0xb3, 0x18, 0x26, 0x86, 0x70 }} gEfiBlockIoCryptoAlgoAesCbcMsBitlockerGuid = { 0x689e4c62, 0x70bf, 0x4cf3, {0x88, 0xbb, 0x33, 0xb3, 0x18, 0x26, 0x86, 0x70 }}
## Include/Protocol/SmartCardEdge.h
gEfiPaddingRsassaPkcs1V1P5Guid = { 0x9317ec24, 0x7cb0, 0x4d0e, {0x8b, 0x32, 0x2e, 0xd9, 0x20, 0x9c, 0xd8, 0xaf }}
gEfiPaddingRsassaPssGuid = { 0x7b2349e0, 0x522d, 0x4f8e, {0xb9, 0x27, 0x69, 0xd9, 0x7c, 0x9e, 0x79, 0x5f }}
gEfiPaddingNoneGuid = { 0x3629ddb1, 0x228c, 0x452e, {0xb6, 0x16, 0x09, 0xed, 0x31, 0x6a, 0x97, 0x00 }}
gEfiPaddingRsaesPkcs1V1P5Guid = { 0xe1c1d0a9, 0x40b1, 0x4632, {0xbd, 0xcc, 0xd9, 0xd6, 0xe5, 0x29, 0x56, 0x31 }}
gEfiPaddingRsaesOaepGuid = { 0xc1e63ac4, 0xd0cf, 0x4ce6, {0x83, 0x5b, 0xee, 0xd0, 0xe6, 0xa8, 0xa4, 0x5b }}
# #
# GUID defined in PI1.0 # GUID defined in PI1.0
# #