Searched refs:Rsa (Results 1 - 5 of 5) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Application/Cryptest/
H A DRsaVerify.c94 VOID *Rsa; local
110 Rsa = RsaNew ();
112 if (Rsa == NULL) {
125 Status = RsaSetKey (Rsa, RsaKeyN, RsaN, sizeof (RsaN));
132 Status = RsaGetKey (Rsa, RsaKeyN, NULL, &KeySize);
139 Status = RsaGetKey (Rsa, RsaKeyN, KeyBuffer, &KeySize);
155 Status = RsaSetKey (Rsa, RsaKeyE, RsaE, sizeof (RsaE));
162 Status = RsaGetKey (Rsa, RsaKeyE, NULL, &KeySize);
169 Status = RsaGetKey (Rsa, RsaKeyE, KeyBuffer, &KeySize);
190 Status = RsaSetKey (Rsa, RsaKey
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/
H A DAuthService.c309 VOID *Rsa; local
312 Rsa = NULL;
363 Rsa = RsaNew ();
364 ASSERT (Rsa != NULL);
369 Status = RsaSetKey (Rsa, RsaKeyN, PubKey, EFI_CERT_TYPE_RSA2048_SIZE);
373 Status = RsaSetKey (Rsa, RsaKeyE, mRsaE, sizeof (mRsaE));
381 Rsa,
389 if (Rsa != NULL) {
390 RsaFree (Rsa);
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Library/BaseCryptLib/Pk/
H A DCryptRsa.c592 RSA *Rsa; local
604 Rsa = (RSA *) RsaContext;
605 Size = BN_num_bytes (Rsa->n);
622 Rsa,
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Library/DxeImageVerificationLib/
H A DDxeImageVerificationLib.c1032 VOID *Rsa; local
1043 Rsa = NULL;
1104 Rsa = RsaNew ();
1105 if (Rsa == NULL) {
1114 Status = RsaSetKey (Rsa, RsaKeyN, CertBlock->PublicKey, EFI_CERT_TYPE_RSA2048_SIZE);
1118 Status = RsaSetKey (Rsa, RsaKeyE, mRsaE, sizeof (mRsaE));
1126 Rsa,
1137 if (Rsa != NULL ) {
1138 RsaFree (Rsa);
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/RuntimeDxe/
H A DAuthService.c525 VOID *Rsa; local
527 Rsa = NULL;
576 Rsa = RsaNew ();
577 ASSERT (Rsa != NULL);
582 Status = RsaSetKey (Rsa, RsaKeyN, PubKey, EFI_CERT_TYPE_RSA2048_SIZE);
586 Status = RsaSetKey (Rsa, RsaKeyE, mRsaE, sizeof (mRsaE));
594 Rsa,
602 if (Rsa != NULL) {
603 RsaFree (Rsa);

Completed in 768 milliseconds