Home
last modified time | relevance | path

Searched refs:PubKey (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/
DAuthService.c216 IN UINT8 *PubKey in AddPubKeyInStore() argument
225 if (PubKey == NULL) { in AddPubKeyInStore()
242 if (CompareMem (Ptr, PubKey, EFI_CERT_TYPE_RSA2048_SIZE) == 0) { in AddPubKeyInStore()
260 …CopyMem (Global->PubKeyStore + mPubKeyNumber * EFI_CERT_TYPE_RSA2048_SIZE, PubKey, EFI_CERT_TYPE_R… in AddPubKeyInStore()
304 IN UINT8 *PubKey in VerifyDataPayload() argument
318 if (Data == NULL || PubKey == NULL) { in VerifyDataPayload()
371 Status = RsaSetKey (Rsa, RsaKeyN, PubKey, EFI_CERT_TYPE_RSA2048_SIZE); in VerifyDataPayload()
771 UINT8 *PubKey; in VerifyVariable() local
779 PubKey = NULL; in VerifyVariable()
841 PubKey = CertBlock->PublicKey; in VerifyVariable()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Library/AuthVariableLib/
DAuthService.c1266 IN UINT8 *PubKey in GetAvailableKeyIndex() argument
1366 IN UINT8 *PubKey, in AddPubKeyInStore() argument
1376 if (PubKey == NULL) { in AddPubKeyInStore()
1384 …if (CompareMem (((AUTHVAR_KEY_DB_DATA *) mPubKeyStore + Index)->KeyData, PubKey, EFI_CERT_TYPE_RSA… in AddPubKeyInStore()
1389 KeyIndex = GetAvailableKeyIndex (PubKey); in AddPubKeyInStore()
1410 …CopyMem (((AUTHVAR_KEY_DB_DATA *) mPubKeyStore + mPubKeyNumber)->KeyData, PubKey, EFI_CERT_TYPE_RS… in AddPubKeyInStore()
1454 IN UINT8 *PubKey in VerifyCounterBasedPayload() argument
1469 if (Data == NULL || PubKey == NULL) { in VerifyCounterBasedPayload()
1526 Status = RsaSetKey (Rsa, RsaKeyN, PubKey, EFI_CERT_TYPE_RSA2048_SIZE); in VerifyCounterBasedPayload()
2199 UINT8 *PubKey; in ProcessVariable() local
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/
DSa.c1417 UINT8 *PubKey; in Ikev2GenerateSaDhComputeKey() local
1421 PubKey = (UINT8 *) (Ke + 1); in Ikev2GenerateSaDhComputeKey()
1432 PubKey, in Ikev2GenerateSaDhComputeKey()
1448 CopyMem (DhBuffer->GyBuffer, PubKey, DhBuffer->GySize); in Ikev2GenerateSaDhComputeKey()