libressl-RSA_PSS_PARAMS_new(3)

libressl-RSA_PSS_PARAMS_new3

Probabilistic signature scheme with rsa hashing

Usage

Crypto Library (libcrypto, -lcrypto)

#include <openssl/rsa.h>

RSA_PSS_PARAMS *

RSA_PSS_PARAMS_new(void);

void

RSA_PSS_PARAMS_free(RSA_PSS_PARAMS *params);

Overview

RSA_PSS_PARAMS_new() allocates and initializes an empty RSA_PSS_PARAMS object, representing an ASN.1 RSASSA-PSS-params structure defined in RFC 8017 appendix A.2.3. It references the hash function and the mask generation function and stores the length of the salt and the trailer field number. RSA_PSS_PARAMS_free() frees params.

Return values

RSA_PSS_PARAMS_new() returns the new RSA_PSS_PARAMS object or NULL if an error occurs.

Standards

RFC 8017: PKCS#1: RSA Cryptography Specifications Version 2.2

History

RSA_PSS_PARAMS_new() and RSA_PSS_PARAMS_free() first appeared in OpenSSL 1.0.1 and have been available since OpenBSD 5.3.

From libressl 4.4.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.