Searched defs:KeyBuffer (Results 1 - 3 of 3) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Application/Cryptest/
H A DRsaVerify.c103 UINT8 *KeyBuffer; local
138 KeyBuffer = AllocatePool (KeySize);
139 Status = RsaGetKey (Rsa, RsaKeyN, KeyBuffer, &KeySize);
145 if (CompareMem (KeyBuffer, RsaN, KeySize) != 0) {
150 FreePool (KeyBuffer);
168 KeyBuffer = AllocatePool (KeySize);
169 Status = RsaGetKey (Rsa, RsaKeyE, KeyBuffer, &KeySize);
175 if (CompareMem (KeyBuffer, RsaE, KeySize) != 0) {
180 FreePool (KeyBuffer);
231 KeyBuffer
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/IpSecDxe/Ikev2/
H A DSa.c1485 UINT8 *KeyBuffer; local
1498 KeyBuffer = NULL;
1533 KeyBuffer = AllocateZeroPool (KeyBufferSize);
1534 ASSERT (KeyBuffer != NULL);
1536 CopyMem (KeyBuffer, IkeSaSession->NiBlock, IkeSaSession->NiBlkSize);
1537 CopyMem (KeyBuffer + IkeSaSession->NiBlkSize, IkeSaSession->NrBlock, IkeSaSession->NrBlkSize);
1552 KeyBuffer,
1739 if (KeyBuffer != NULL) {
1740 FreePool (KeyBuffer);
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/
H A DSecureBootConfigImpl.c458 UINT8 *KeyBuffer; local
463 KeyBuffer = NULL;
496 KeyBuffer = AllocateZeroPool (KeyLenInBytes);
497 if (KeyBuffer == NULL) {
504 KeyBuffer,
507 CopyMem(KeyBlob + sizeof(CPL_KEY_INFO), KeyBuffer, KeyLenInBytes);
591 if (KeyBuffer != NULL) {
592 FreePool (KeyBuffer);

Completed in 378 milliseconds