Searched refs:KeyBuffer (Results 1 – 3 of 3) sorted by relevance
/device/linaro/bootloader/edk2/CryptoPkg/Application/Cryptest/ |
D | RsaVerify.c | 103 UINT8 *KeyBuffer; in ValidateCryptRsa() local 138 KeyBuffer = AllocatePool (KeySize); in ValidateCryptRsa() 139 Status = RsaGetKey (Rsa, RsaKeyN, KeyBuffer, &KeySize); in ValidateCryptRsa() 145 if (CompareMem (KeyBuffer, RsaN, KeySize) != 0) { in ValidateCryptRsa() 150 FreePool (KeyBuffer); in ValidateCryptRsa() 168 KeyBuffer = AllocatePool (KeySize); in ValidateCryptRsa() 169 Status = RsaGetKey (Rsa, RsaKeyE, KeyBuffer, &KeySize); in ValidateCryptRsa() 175 if (CompareMem (KeyBuffer, RsaE, KeySize) != 0) { in ValidateCryptRsa() 180 FreePool (KeyBuffer); in ValidateCryptRsa() 231 KeyBuffer = AllocatePool (KeySize); in ValidateCryptRsa() [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/ |
D | Sa.c | 1480 UINT8 *KeyBuffer; in Ikev2GenerateSaKeys() local 1493 KeyBuffer = NULL; in Ikev2GenerateSaKeys() 1526 KeyBuffer = AllocateZeroPool (KeyBufferSize); in Ikev2GenerateSaKeys() 1527 ASSERT (KeyBuffer != NULL); in Ikev2GenerateSaKeys() 1529 CopyMem (KeyBuffer, IkeSaSession->NiBlock, IkeSaSession->NiBlkSize); in Ikev2GenerateSaKeys() 1530 CopyMem (KeyBuffer + IkeSaSession->NiBlkSize, IkeSaSession->NrBlock, IkeSaSession->NrBlkSize); in Ikev2GenerateSaKeys() 1545 KeyBuffer, in Ikev2GenerateSaKeys() 1732 if (KeyBuffer != NULL) { in Ikev2GenerateSaKeys() 1733 FreePool (KeyBuffer); in Ikev2GenerateSaKeys()
|
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/ |
D | SecureBootConfigImpl.c | 537 UINT8 *KeyBuffer; in EnrollRsa2048ToKek() local 542 KeyBuffer = NULL; in EnrollRsa2048ToKek() 575 KeyBuffer = AllocateZeroPool (KeyLenInBytes); in EnrollRsa2048ToKek() 576 if (KeyBuffer == NULL) { in EnrollRsa2048ToKek() 583 KeyBuffer, in EnrollRsa2048ToKek() 586 CopyMem(KeyBlob + sizeof(CPL_KEY_INFO), KeyBuffer, KeyLenInBytes); in EnrollRsa2048ToKek() 670 if (KeyBuffer != NULL) { in EnrollRsa2048ToKek() 671 FreePool (KeyBuffer); in EnrollRsa2048ToKek()
|