Home
last modified time | relevance | path

Searched refs:KeySize (Results 1 – 25 of 30) sorted by relevance

12

/device/linaro/bootloader/edk2/CryptoPkg/Application/Cryptest/
DRsaVerify.c102 UINTN KeySize; in ValidateCryptRsa() local
131 KeySize = 0; in ValidateCryptRsa()
132 Status = RsaGetKey (Rsa, RsaKeyN, NULL, &KeySize); in ValidateCryptRsa()
133 if (Status || KeySize != sizeof (RsaN)) { in ValidateCryptRsa()
138 KeyBuffer = AllocatePool (KeySize); in ValidateCryptRsa()
139 Status = RsaGetKey (Rsa, RsaKeyN, KeyBuffer, &KeySize); in ValidateCryptRsa()
140 if (!Status || KeySize != sizeof (RsaN)) { in ValidateCryptRsa()
145 if (CompareMem (KeyBuffer, RsaN, KeySize) != 0) { in ValidateCryptRsa()
161 KeySize = 0; in ValidateCryptRsa()
162 Status = RsaGetKey (Rsa, RsaKeyE, NULL, &KeySize); in ValidateCryptRsa()
[all …]
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Cipher/
DCryptArc4.c62 IN UINTN KeySize in Arc4Init() argument
70 if (Arc4Context == NULL || Key == NULL || (KeySize < 5 || KeySize > 256)) { in Arc4Init()
76 RC4_set_key (Rc4Key, (UINT32) KeySize, Key); in Arc4Init()
DCryptArc4Null.c53 IN UINTN KeySize in Arc4Init() argument
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Hmac/
DCryptHmacMd5.c55 IN UINTN KeySize in HmacMd5Init() argument
61 if (HmacMd5Context == NULL || KeySize > INT_MAX) { in HmacMd5Init()
69 HMAC_Init_ex (HmacMd5Context, Key, (UINT32) KeySize, EVP_md5(), NULL); in HmacMd5Init()
DCryptHmacSha256.c55 IN UINTN KeySize in HmacSha256Init() argument
61 if (HmacSha256Context == NULL || KeySize > INT_MAX) { in HmacSha256Init()
69 HMAC_Init_ex (HmacSha256Context, Key, (UINT32) KeySize, EVP_sha256(), NULL); in HmacSha256Init()
DCryptHmacSha1.c55 IN UINTN KeySize in HmacSha1Init() argument
61 if (HmacSha1Context == NULL || KeySize > INT_MAX) { in HmacSha1Init()
69 HMAC_Init_ex (HmacSha1Context, Key, (UINT32) KeySize, EVP_sha1(), NULL); in HmacSha1Init()
DCryptHmacSha1Null.c53 IN UINTN KeySize in HmacSha1Init() argument
DCryptHmacMd5Null.c53 IN UINTN KeySize in HmacMd5Init() argument
DCryptHmacSha256Null.c53 IN UINTN KeySize in HmacSha256Init() argument
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/
DCryptDh.c296 IN OUT UINTN *KeySize in DhComputeKey() argument
305 if (DhContext == NULL || PeerPublicKey == NULL || KeySize == NULL || Key == NULL) { in DhComputeKey()
324 if (*KeySize < (UINTN) Size) { in DhComputeKey()
325 *KeySize = Size; in DhComputeKey()
330 *KeySize = Size; in DhComputeKey()
DCryptDhNull.c151 IN OUT UINTN *KeySize in DhComputeKey() argument
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/
DArmFvpDxe.c107 Key = AllocatePool (FvProtocol->KeySize); in InternalFindFdtByGuid()
109 ZeroMem (Key, FvProtocol->KeySize); in InternalFindFdtByGuid()
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Hmac/
DCryptHmacMd5Null.c53 IN UINTN KeySize in HmacMd5Init() argument
DCryptHmacSha1Null.c53 IN UINTN KeySize in HmacSha1Init() argument
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Cipher/
DCryptArc4Null.c53 IN UINTN KeySize in Arc4Init() argument
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/
DBdsAppLoader.c85 Key = AllocatePool (FvInstance->KeySize); in LocateEfiApplicationInFvByName()
87 ZeroMem (Key, FvInstance->KeySize); in LocateEfiApplicationInFvByName()
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/
DCryptDhNull.c151 IN OUT UINTN *KeySize in DhComputeKey() argument
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FvOnFv2Thunk/
DFvOnFv2Thunk.c471 Private->FirmwareVolume.KeySize = Private->FirmwareVolume2->KeySize; in FvNotificationEvent()
/device/linaro/bootloader/edk2/CryptoPkg/Include/Library/
DBaseCryptLib.h934 IN UINTN KeySize
1052 IN UINTN KeySize
1170 IN UINTN KeySize
1686 IN UINTN KeySize
2660 IN OUT UINTN *KeySize
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Protocol/FirmwareVolume/
DFirmwareVolume.h293 UINT32 KeySize; member
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/
DIpSecCryptIo.h79 IN UINTN KeySize
697 IN OUT UINTN *KeySize
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Include/Protocol/
DFirmwareVolume.h336 UINT32 KeySize; member
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DBlockIoCrypto.h53 UINT64 KeySize; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/Fv2OnFvThunk/
DFv2OnFvThunk.c749 Private->FirmwareVolume2.KeySize = Private->FirmwareVolume->KeySize; in Fv2NotificationEvent()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Protocol/FirmwareVolume2/
DFirmwareVolume2.h187 UINT32 KeySize; member

12