[#RSA_padding_add_PKCS1_OAEP] = RSA_padding_add_PKCS1_OAEP :mrdocs: Apply PKCS#1 OAEP padding using SHA‐1 / MGF1‐SHA‐1 defaults (deprecated). == Synopsis Declared in `<openssl/rsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int RSA_padding_add_PKCS1_OAEP( unsigned char* to, int tlen, unsigned char const* f, int fl, 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 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *to* | Destination encoded block of length `tlen.` | *tlen* | RSA modulus size in bytes. | *f* | Message bytes to pad. | *fl* | Length of `f` in bytes. | *p* | Optional OAEP encoding parameter / label bytes, or NULL. | *pl* | Length of `p` in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#