/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/CryptRuntimeDxe/ |
H A D | CryptRuntime.c | 143 @param[in] RsaContext Pointer to the RSA context to be released. 149 IN VOID *RsaContext 152 RsaFree (RsaContext); 160 If RsaContext is NULL, then return FALSE. 162 @param[in, out] RsaContext Pointer to RSA context being set. 174 IN OUT VOID *RsaContext, 180 return RsaSetKey (RsaContext, KeyTag, BigNumber, BnLength); 187 If RsaContext is NULL, then return FALSE. 192 @param[in] RsaContext Pointer to RSA context for signature verification. 205 IN VOID *RsaContext, 173 RuntimeCryptRsaSetKey( IN OUT VOID *RsaContext, IN RSA_KEY_TAG KeyTag, IN CONST UINT8 *BigNumber, IN UINTN BnLength ) argument 204 RuntimeCryptRsaPkcs1Verify( IN VOID *RsaContext, IN CONST UINT8 *MessageHash, IN UINTN HashLength, IN UINT8 *Signature, IN UINTN SigLength ) argument [all...] |
H A D | CryptRuntime.h | 122 @param[in] RsaContext Pointer to the RSA context to be released. 128 IN VOID *RsaContext 136 If RsaContext is NULL, then return FALSE. 138 @param[in, out] RsaContext Pointer to RSA context being set. 150 IN OUT VOID *RsaContext, 161 If RsaContext is NULL, then return FALSE. 166 @param[in] RsaContext Pointer to RSA context for signature verification. 179 IN VOID *RsaContext,
|
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Library/BaseCryptLib/Pem/ |
H A D | CryptPem.c | 59 @param[out] RsaContext Pointer to new-generated RSA context which contain the retrieved 64 If RsaContext is NULL, then return FALSE. 76 OUT VOID **RsaContext 85 if (PemData == NULL || RsaContext == NULL || PemSize > INT_MAX) { 113 *RsaContext = PEM_read_bio_RSAPrivateKey (PemBio, NULL, (pem_password_cb *)&PasswordCallback, (void *)Password); 114 if (*RsaContext != NULL) {
|
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Library/BaseCryptLib/Pk/ |
H A D | CryptRsa.c | 63 If RsaContext is NULL, then return FALSE. 65 @param[in] RsaContext Pointer to the RSA context to be released. 71 IN VOID *RsaContext 77 RSA_free ((RSA *)RsaContext); 88 If RsaContext is NULL, then return FALSE. 90 @param[in, out] RsaContext Pointer to RSA context being set. 105 IN OUT VOID *RsaContext, 116 if (RsaContext == NULL) { 120 RsaKey = (RSA *)RsaContext; 258 If RsaContext i 104 RsaSetKey( IN OUT VOID *RsaContext, IN RSA_KEY_TAG KeyTag, IN CONST UINT8 *BigNumber, IN UINTN BnSize ) argument 275 RsaGetKey( IN OUT VOID *RsaContext, IN RSA_KEY_TAG KeyTag, OUT UINT8 *BigNumber, IN OUT UINTN *BnSize ) argument 422 RsaGenerateKey( IN OUT VOID *RsaContext, IN UINTN ModulusLength, IN CONST UINT8 *PublicExponent, IN UINTN PublicExponentSize ) argument 584 RsaPkcs1Sign( IN VOID *RsaContext, IN CONST UINT8 *MessageHash, IN UINTN HashSize, OUT UINT8 *Signature, IN OUT UINTN *SigSize ) argument 655 RsaPkcs1Verify( IN VOID *RsaContext, IN CONST UINT8 *MessageHash, IN UINTN HashSize, IN UINT8 *Signature, IN UINTN SigSize ) argument [all...] |
H A D | CryptPkcs7.c | 145 UINT8 *RsaContext; local 158 RsaContext = NULL; 171 (VOID **) &RsaContext 195 Key->pkey.rsa = (RSA *) RsaContext; 258 if (RsaContext != NULL) { 259 RsaFree (RsaContext);
|
H A D | CryptX509.c | 388 @param[out] RsaContext Pointer to new-generated RSA context which contain the retrieved 393 If RsaContext is NULL, then return FALSE. 404 OUT VOID **RsaContext 414 if (Cert == NULL || RsaContext == NULL) { 441 if ((*RsaContext = RSAPublicKey_dup (Pkey->pkey.rsa)) != NULL) {
|
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Include/Protocol/ |
H A D | RuntimeCrypt.h | 125 @param[in] RsaContext Pointer to the RSA context to be released. 131 IN VOID *RsaContext 139 If RsaContext is NULL, then return FALSE. 141 @param[in, out] RsaContext Pointer to RSA context being set. 153 IN OUT VOID *RsaContext, 163 If RsaContext is NULL, then return FALSE. 168 @param[in] RsaContext Pointer to RSA context for signature verification. 181 IN VOID *RsaContext,
|
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/ |
H A D | RuntimeDxeIpfCryptLib.c | 302 @param[in] RsaContext Pointer to the RSA context to be released. 308 IN VOID *RsaContext 315 mCryptProtocol->RsaFree (RsaContext); 323 If RsaContext is NULL, then return FALSE. 325 @param[in, out] RsaContext Pointer to RSA context being set. 337 IN OUT VOID *RsaContext, 347 return mCryptProtocol->RsaSetKey (RsaContext, KeyTag, BigNumber, BnLength); 354 If RsaContext is NULL, then return FALSE. 359 @param[in] RsaContext Pointer to RSA context for signature verification. 372 IN VOID *RsaContext, 336 RsaSetKey( IN OUT VOID *RsaContext, IN RSA_KEY_TAG KeyTag, IN CONST UINT8 *BigNumber, IN UINTN BnLength ) argument 371 RsaPkcs1Verify( IN VOID *RsaContext, IN CONST UINT8 *MessageHash, IN UINTN HashLength, IN UINT8 *Signature, IN UINTN SigLength ) argument [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/IpSecDxe/ |
H A D | IpSecCryptIo.c | 824 UINT8 *RsaContext; local 836 (VOID **) &RsaContext 838 if (RsaContext == NULL) { 846 if (!RsaPkcs1Sign (RsaContext, InData, InDataSize, Signature, &SigSize)) { 852 RsaPkcs1Sign (RsaContext, InData, InDataSize, Signature, &SigSize); 857 if (RsaContext != NULL) { 858 RsaFree (RsaContext); 891 UINT8 *RsaContext; local 897 RsaContext = RsaNew (); 898 if (RsaContext 946 UINT8 *RsaContext; local [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Include/Library/ |
H A D | BaseCryptLib.h | 1209 If RsaContext is NULL, then return FALSE. 1211 @param[in] RsaContext Pointer to the RSA context to be released. 1217 IN VOID *RsaContext 1228 If RsaContext is NULL, then return FALSE. 1230 @param[in, out] RsaContext Pointer to RSA context being set. 1245 IN OUT VOID *RsaContext, 1262 If RsaContext is NULL, then return FALSE. 1266 @param[in, out] RsaContext Pointer to RSA context being set. 1280 IN OUT VOID *RsaContext, 1296 If RsaContext i [all...] |