Searched refs:Rsa (Results 1 – 6 of 6) sorted by relevance
/device/linaro/bootloader/edk2/CryptoPkg/Application/Cryptest/ |
D | RsaVerify.c | 94 VOID *Rsa; in ValidateCryptRsa() local 110 Rsa = RsaNew (); in ValidateCryptRsa() 112 if (Rsa == NULL) { in ValidateCryptRsa() 125 Status = RsaSetKey (Rsa, RsaKeyN, RsaN, sizeof (RsaN)); in ValidateCryptRsa() 132 Status = RsaGetKey (Rsa, RsaKeyN, NULL, &KeySize); in ValidateCryptRsa() 139 Status = RsaGetKey (Rsa, RsaKeyN, KeyBuffer, &KeySize); in ValidateCryptRsa() 155 Status = RsaSetKey (Rsa, RsaKeyE, RsaE, sizeof (RsaE)); in ValidateCryptRsa() 162 Status = RsaGetKey (Rsa, RsaKeyE, NULL, &KeySize); in ValidateCryptRsa() 169 Status = RsaGetKey (Rsa, RsaKeyE, KeyBuffer, &KeySize); in ValidateCryptRsa() 190 Status = RsaSetKey (Rsa, RsaKeyN, NULL, 0); in ValidateCryptRsa() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/ |
D | PeiRsa2048Sha256GuidedSectionExtractLib.c | 142 VOID *Rsa; in Rsa2048Sha256GuidedSectionHandler() local 145 Rsa = NULL; in Rsa2048Sha256GuidedSectionHandler() 280 Rsa = RsaNew (); in Rsa2048Sha256GuidedSectionHandler() 281 if (Rsa == NULL) { in Rsa2048Sha256GuidedSectionHandler() 291 …CryptoStatus = RsaSetKey (Rsa, RsaKeyN, CertBlockRsa2048Sha256->PublicKey, sizeof(CertBlockRsa2048… in Rsa2048Sha256GuidedSectionHandler() 297 CryptoStatus = RsaSetKey (Rsa, RsaKeyE, mRsaE, sizeof (mRsaE)); in Rsa2048Sha256GuidedSectionHandler() 334 Rsa, in Rsa2048Sha256GuidedSectionHandler() 353 if (Rsa != NULL) { in Rsa2048Sha256GuidedSectionHandler() 354 RsaFree (Rsa); in Rsa2048Sha256GuidedSectionHandler()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/ |
D | DxeRsa2048Sha256GuidedSectionExtractLib.c | 145 VOID *Rsa; in Rsa2048Sha256GuidedSectionHandler() local 148 Rsa = NULL; in Rsa2048Sha256GuidedSectionHandler() 296 Rsa = RsaNew (); in Rsa2048Sha256GuidedSectionHandler() 297 if (Rsa == NULL) { in Rsa2048Sha256GuidedSectionHandler() 307 …CryptoStatus = RsaSetKey (Rsa, RsaKeyN, CertBlockRsa2048Sha256->PublicKey, sizeof(CertBlockRsa2048… in Rsa2048Sha256GuidedSectionHandler() 313 CryptoStatus = RsaSetKey (Rsa, RsaKeyE, mRsaE, sizeof (mRsaE)); in Rsa2048Sha256GuidedSectionHandler() 350 Rsa, in Rsa2048Sha256GuidedSectionHandler() 369 if (Rsa != NULL) { in Rsa2048Sha256GuidedSectionHandler() 370 RsaFree (Rsa); in Rsa2048Sha256GuidedSectionHandler()
|
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/ |
D | AuthService.c | 311 VOID *Rsa; in VerifyDataPayload() local 314 Rsa = NULL; in VerifyDataPayload() 365 Rsa = RsaNew (); in VerifyDataPayload() 366 ASSERT (Rsa != NULL); in VerifyDataPayload() 371 Status = RsaSetKey (Rsa, RsaKeyN, PubKey, EFI_CERT_TYPE_RSA2048_SIZE); in VerifyDataPayload() 375 Status = RsaSetKey (Rsa, RsaKeyE, mRsaE, sizeof (mRsaE)); in VerifyDataPayload() 383 Rsa, in VerifyDataPayload() 391 if (Rsa != NULL) { in VerifyDataPayload() 392 RsaFree (Rsa); in VerifyDataPayload()
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/ |
D | CryptRsaExt.c | 328 RSA *Rsa; in RsaPkcs1Sign() local 339 Rsa = (RSA *) RsaContext; in RsaPkcs1Sign() 340 Size = BN_num_bytes (Rsa->n); in RsaPkcs1Sign()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/AuthVariableLib/ |
D | AuthService.c | 1461 VOID *Rsa; in VerifyCounterBasedPayload() local 1465 Rsa = NULL; in VerifyCounterBasedPayload() 1520 Rsa = RsaNew (); in VerifyCounterBasedPayload() 1521 ASSERT (Rsa != NULL); in VerifyCounterBasedPayload() 1526 Status = RsaSetKey (Rsa, RsaKeyN, PubKey, EFI_CERT_TYPE_RSA2048_SIZE); in VerifyCounterBasedPayload() 1530 Status = RsaSetKey (Rsa, RsaKeyE, mRsaE, sizeof (mRsaE)); in VerifyCounterBasedPayload() 1538 Rsa, in VerifyCounterBasedPayload() 1546 if (Rsa != NULL) { in VerifyCounterBasedPayload() 1547 RsaFree (Rsa); in VerifyCounterBasedPayload()
|