Get the MGF1 digest configured for RSA-PSS or RSA-OAEP on a key context.
Declared in <openssl/rsa.h>
int
EVP_PKEY_CTX_get_rsa_mgf1_md(
EVP_PKEY_CTX* ctx,
EVP_MD const** md);
1 on success, or a non-positive value on failure.
| Name | Description |
|---|---|
| ctx | RSA key context. |
| md | Receives a pointer to the digest method (do not free). |