Searched defs:RsaContext (Results 1 - 5 of 5) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/CryptRuntimeDxe/
H A DCryptRuntime.c143 @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...]
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/
H A DRuntimeDxeIpfCryptLib.c302 @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/CryptoPkg/Library/BaseCryptLib/Pk/
H A DCryptRsa.c63 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 DCryptPkcs7.c145 UINT8 *RsaContext; local
158 RsaContext = NULL;
171 (VOID **) &RsaContext
195 Key->pkey.rsa = (RSA *) RsaContext;
258 if (RsaContext != NULL) {
259 RsaFree (RsaContext);
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/IpSecDxe/
H A DIpSecCryptIo.c824 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...]

Completed in 44 milliseconds