Set the message digest used when generating an RSA‐PSS key via an EVP_PKEY_CTX.
Synopsis
Declared in <openssl/rsa.h>
int
EVP_PKEY_CTX_set_rsa_pss_keygen_md_name(
EVP_PKEY_CTX* ctx,
char const* mdname,
char const* mdprops);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
ctx |
Keygen context for RSA‐PSS. |
mdname |
Digest name such as "SHA256". |
mdprops |
Optional property query for fetching the digest, or NULL. |
Created with MrDocs