Set the RSA-PSS salt length used when generating an RSA-PSS key.
Declared in <openssl/rsa.h>
int
EVP_PKEY_CTX_set_rsa_pss_keygen_saltlen(
EVP_PKEY_CTX* ctx,
int saltlen);
1 on success, or a non-positive value on failure.
| Name | Description |
|---|---|
| ctx | Keygen context for an RSA-PSS key type. |
| saltlen | Salt length in bytes, or a special value such as RSA_PSS_SALTLEN_DIGEST. |