Set the OAEP message digest by name on an RSA key context.
Declared in <openssl/rsa.h>
int
EVP_PKEY_CTX_set_rsa_oaep_md_name(
EVP_PKEY_CTX* ctx,
char const* mdname,
char const* mdprops);
1 on success, or a non-positive value on failure.
| Name | Description |
|---|---|
| ctx | RSA key context used for encrypt/decrypt. |
| mdname | Digest name (for example "SHA256"). |
| mdprops | Property query for fetching mdname, or NULL. |