[#RSA_private_decrypt] = RSA_private_decrypt :mrdocs: Decrypt `flen` ciphertext bytes with RSA private key `rsa` (deprecated). == Synopsis Declared in `<openssl/rsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int RSA_private_decrypt( int flen, unsigned char const* from, unsigned char* to, xref:RSA.adoc[RSA]* rsa, int padding); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value Length of the recovered plaintext, or a negative value on error. == Parameters [cols="1,4"] |=== | Name| Description | *flen* | Length of `from` in bytes (typically RSA_size(`rsa)).` | *from* | Ciphertext produced by RSA_public_encrypt() (or equivalent). | *to* | Output buffer large enough for the recovered plaintext. | *rsa* | RSA private key. | *padding* | Padding mode that was used when encrypting. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#