/device/linaro/bootloader/edk2/CryptoPkg/Application/Cryptest/ |
D | RsaVerify.c | 102 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/ |
D | CryptArc4.c | 62 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()
|
D | CryptArc4Null.c | 53 IN UINTN KeySize in Arc4Init() argument
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Hmac/ |
D | CryptHmacMd5.c | 55 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()
|
D | CryptHmacSha256.c | 55 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()
|
D | CryptHmacSha1.c | 55 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()
|
D | CryptHmacSha1Null.c | 53 IN UINTN KeySize in HmacSha1Init() argument
|
D | CryptHmacMd5Null.c | 53 IN UINTN KeySize in HmacMd5Init() argument
|
D | CryptHmacSha256Null.c | 53 IN UINTN KeySize in HmacSha256Init() argument
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/ |
D | CryptDh.c | 296 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()
|
D | CryptDhNull.c | 151 IN OUT UINTN *KeySize in DhComputeKey() argument
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ |
D | ArmFvpDxe.c | 107 Key = AllocatePool (FvProtocol->KeySize); in InternalFindFdtByGuid() 109 ZeroMem (Key, FvProtocol->KeySize); in InternalFindFdtByGuid()
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Hmac/ |
D | CryptHmacMd5Null.c | 53 IN UINTN KeySize in HmacMd5Init() argument
|
D | CryptHmacSha1Null.c | 53 IN UINTN KeySize in HmacSha1Init() argument
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Cipher/ |
D | CryptArc4Null.c | 53 IN UINTN KeySize in Arc4Init() argument
|
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/ |
D | BdsAppLoader.c | 85 Key = AllocatePool (FvInstance->KeySize); in LocateEfiApplicationInFvByName() 87 ZeroMem (Key, FvInstance->KeySize); in LocateEfiApplicationInFvByName()
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/ |
D | CryptDhNull.c | 151 IN OUT UINTN *KeySize in DhComputeKey() argument
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FvOnFv2Thunk/ |
D | FvOnFv2Thunk.c | 471 Private->FirmwareVolume.KeySize = Private->FirmwareVolume2->KeySize; in FvNotificationEvent()
|
/device/linaro/bootloader/edk2/CryptoPkg/Include/Library/ |
D | BaseCryptLib.h | 934 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/ |
D | FirmwareVolume.h | 293 UINT32 KeySize; member
|
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/ |
D | IpSecCryptIo.h | 79 IN UINTN KeySize 697 IN OUT UINTN *KeySize
|
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Include/Protocol/ |
D | FirmwareVolume.h | 336 UINT32 KeySize; member
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
D | BlockIoCrypto.h | 53 UINT64 KeySize; member
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/Fv2OnFvThunk/ |
D | Fv2OnFvThunk.c | 749 Private->FirmwareVolume2.KeySize = Private->FirmwareVolume->KeySize; in Fv2NotificationEvent()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Protocol/FirmwareVolume2/ |
D | FirmwareVolume2.h | 187 UINT32 KeySize; member
|