[#RSA_padding_check_PKCS1_OAEP_mgf1] = RSA_padding_check_PKCS1_OAEP_mgf1 :mrdocs: Verify PKCS#1 OAEP padding with explicit digests and recover the message (deprecated). == Synopsis Declared in `<openssl/rsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int RSA_padding_check_PKCS1_OAEP_mgf1( unsigned char* to, int tlen, unsigned char const* from, int flen, int num, unsigned char const* param, int plen, xref:EVP_MD.adoc[EVP_MD] const* md, xref:EVP_MD.adoc[EVP_MD] const* mgf1md); ---- [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, 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. | *from* | Encoded OAEP block. | *flen* | Length of `from` in bytes. | *num* | RSA modulus size in bytes. | *param* | Optional OAEP label bytes, or NULL. | *plen* | Length of `param` in bytes. | *md* | Hash used by OAEP, or NULL for SHA‐1. | *mgf1md* | Hash used by MGF1, or NULL to use `md.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#