Set the RSA‐PSS salt length for sign/verify on ctx.

Synopsis

Declared in <openssl/rsa.h>

int
EVP_PKEY_CTX_set_rsa_pss_saltlen(
    EVP_PKEY_CTX* ctx,
    int saltlen);

Return Value

1 on success, or a non‐positive value on error.

Parameters

Name

Description

ctx

Key context for an RSA‐PSS operation.

saltlen

Salt length in bytes, or RSA_PSS_SALTLEN_* special values.

Created with MrDocs