RSA public‐key decryption / signature recovery (deprecated).
Synopsis
Declared in <openssl/rsa.h>
[[deprecated]]
int
RSA_public_decrypt(
int flen,
unsigned char const* from,
unsigned char* to,
RSA* rsa,
int padding);
|
Warning
|
Deprecated. Use of this entity is allowed but discouraged. |
Return Value
Number of bytes written to to, or a negative value on error.
Parameters
Name |
Description |
flen |
Length of |
from |
Ciphertext / signature bytes to process with the public key. |
to |
Output buffer of at least RSA_size( |
rsa |
RSA public key. |
padding |
Padding mode such as RSA_PKCS1_PADDING or RSA_NO_PADDING. |
Created with MrDocs