Get the RSA‐PSS salt length configured on an EVP_PKEY_CTX.

Synopsis

Declared in <openssl/rsa.h>

int
EVP_PKEY_CTX_get_rsa_pss_saltlen(
    EVP_PKEY_CTX* ctx,
    int* saltlen);

Return Value

1 on success, or a negative value for unsupported / failure.

Parameters

Name

Description

ctx

Context whose padding mode must already be RSA_PKCS1_PSS_PADDING.

saltlen

Receives the salt length (or a special RSA_PSS_SALTLEN_* value).

Created with MrDocs