[#RSA_padding_check_PKCS1_OAEP] = RSA_padding_check_PKCS1_OAEP :mrdocs: Verify PKCS#1 OAEP padding and recover the encoded message (deprecated). == Synopsis Declared in `<openssl/rsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int RSA_padding_check_PKCS1_OAEP( unsigned char* to, int tlen, unsigned char const* f, int fl, int rsa_len, unsigned char const* p, int pl); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value Length of the recovered message on success, or a negative value on error. == Parameters [cols="1,4"] |=== | Name| Description | *to* | Destination buffer for the recovered message. | *tlen* | Capacity of `to` in bytes. | *f* | Encoded message after RSA public operation (typically modulus‐sized). | *fl* | Length of `f` in bytes. | *rsa_len* | RSA modulus size in bytes (used to validate encoding length). | *p* | Optional OAEP encoding parameter / label octets, or NULL. | *pl* | Length of `p` in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#