Home
last modified time | relevance | path

Searched refs:PublicKey (Results 1 – 15 of 15) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/
DPeiRsa2048Sha256GuidedSectionExtractLib.c139 UINT8 *PublicKey; in Rsa2048Sha256GuidedSectionHandler() local
239 …ha256Update (HashContext, &CertBlockRsa2048Sha256->PublicKey, sizeof(CertBlockRsa2048Sha256->Publi… in Rsa2048Sha256GuidedSectionHandler()
255 PublicKey = (UINT8 *)PcdGetPtr (PcdRsa2048Sha256PublicKeyBuffer); in Rsa2048Sha256GuidedSectionHandler()
256 DEBUG ((DEBUG_VERBOSE, "PeiPcdRsa2048Sha256: PublicKeyBuffer = %p\n", PublicKey)); in Rsa2048Sha256GuidedSectionHandler()
257 ASSERT (PublicKey != NULL); in Rsa2048Sha256GuidedSectionHandler()
264 if (CompareMem (Digest, PublicKey, SHA256_DIGEST_SIZE) == 0) { in Rsa2048Sha256GuidedSectionHandler()
268 PublicKey = PublicKey + SHA256_DIGEST_SIZE; in Rsa2048Sha256GuidedSectionHandler()
291 …= RsaSetKey (Rsa, RsaKeyN, CertBlockRsa2048Sha256->PublicKey, sizeof(CertBlockRsa2048Sha256->Publi… in Rsa2048Sha256GuidedSectionHandler()
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/
DDxeRsa2048Sha256GuidedSectionExtractLib.c142 UINT8 *PublicKey; in Rsa2048Sha256GuidedSectionHandler() local
255 …ha256Update (HashContext, &CertBlockRsa2048Sha256->PublicKey, sizeof(CertBlockRsa2048Sha256->Publi… in Rsa2048Sha256GuidedSectionHandler()
271 PublicKey = (UINT8 *)PcdGetPtr (PcdRsa2048Sha256PublicKeyBuffer); in Rsa2048Sha256GuidedSectionHandler()
272 DEBUG ((DEBUG_VERBOSE, "DxePcdRsa2048Sha256: PublicKeyBuffer = %p\n", PublicKey)); in Rsa2048Sha256GuidedSectionHandler()
273 ASSERT (PublicKey != NULL); in Rsa2048Sha256GuidedSectionHandler()
280 if (CompareMem (Digest, PublicKey, SHA256_DIGEST_SIZE) == 0) { in Rsa2048Sha256GuidedSectionHandler()
284 PublicKey = PublicKey + SHA256_DIGEST_SIZE; in Rsa2048Sha256GuidedSectionHandler()
307 …= RsaSetKey (Rsa, RsaKeyN, CertBlockRsa2048Sha256->PublicKey, sizeof(CertBlockRsa2048Sha256->Publi… in Rsa2048Sha256GuidedSectionHandler()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Rsa2048Sha256Sign/
DRsa2048Sha256Sign.py152 PublicKey = '' variable
154 PublicKey = PublicKey + chr(int(PublicKeyHexString[0:2],16)) variable
173 args.OutputFile.write(PublicKey)
195 if Header.PublicKey <> PublicKey:
DRsa2048Sha256GenerateKeys.py128 PublicKey = '' variable
130 PublicKey = PublicKey + chr(int(PublicKeyHexString[Index:Index + 2], 16)) variable
136 Process.stdin.write (PublicKey)
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/
DCryptDh.c225 OUT UINT8 *PublicKey, in DhGenerateKey() argument
240 if (PublicKey == NULL && *PublicKeySize != 0) { in DhGenerateKey()
254 BN_bn2bin (Dh->pub_key, PublicKey); in DhGenerateKey()
DCryptDhNull.c121 OUT UINT8 *PublicKey, in DhGenerateKey() argument
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/
DIpSecCryptIo.c686 OUT UINT8 *PublicKey, in IpSecCryptoIoDhGetPublicKey() argument
699 if (!DhGenerateKey (*DhContext, PublicKey, PublicKeySize)) { in IpSecCryptoIoDhGetPublicKey()
944 OUT UINT8 **PublicKey, in IpSecCryptoIoGetPublicKeyFromCert() argument
970 *PublicKey = AllocateZeroPool (*PublicKeyLen); in IpSecCryptoIoGetPublicKeyFromCert()
971 ASSERT (*PublicKey != NULL); in IpSecCryptoIoGetPublicKeyFromCert()
973 if (!RsaGetKey (RsaContext, RsaKeyN, *PublicKey, PublicKeyLen)) { in IpSecCryptoIoGetPublicKeyFromCert()
DIpSecCryptIo.h669 OUT UINT8 *PublicKey,
802 OUT UINT8 **PublicKey,
/device/linaro/bootloader/edk2/MdePkg/Include/Guid/
DWinCertificate.h66 UINT8 PublicKey[256]; member
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/Common/
DUefiMultiPhase.h122 UINT8 PublicKey[256]; member
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/
DCryptDhNull.c121 OUT UINT8 *PublicKey, in DhGenerateKey() argument
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/
DAuthService.c687 … if (CompareMem (KekItem->SignatureData, CertBlock->PublicKey, EFI_CERT_TYPE_RSA2048_SIZE) == 0) { in ProcessVarWithKek()
698 Status = VerifyDataPayload (VirtualMode, Global, Data, DataSize, CertBlock->PublicKey); in ProcessVarWithKek()
841 PubKey = CertBlock->PublicKey; in VerifyVariable()
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/
DPayload.c1440 UINT8 *PublicKey; in Ikev2GenerateCertificatePayload() local
1461 PublicKey = NULL; in Ikev2GenerateCertificatePayload()
1494 &PublicKey, in Ikev2GenerateCertificatePayload()
1501 Fragment[0].Data = PublicKey; in Ikev2GenerateCertificatePayload()
1546 if (PublicKey != NULL) { in Ikev2GenerateCertificatePayload()
1547 FreePool (PublicKey); in Ikev2GenerateCertificatePayload()
/device/linaro/bootloader/edk2/CryptoPkg/Include/Library/
DBaseCryptLib.h2309 OUT UINT8 *PublicKey,
/device/linaro/bootloader/edk2/SecurityPkg/Library/AuthVariableLib/
DAuthService.c2320 PubKey = CertBlock->PublicKey; in ProcessVariable()