---
name: "libressl-RSA_PSS_PARAMS_new"
section: "3"
platform: "linux"
package: "libressl"
version: "4.4.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libressl-RSA_PSS_PARAMS_new"
---

# libressl-RSA\_PSS\_PARAMS\_new(3)

probabilistic signature scheme with RSA hashing

## NAME

**RSA\_PSS\_PARAMS\_new**, **RSA\_PSS\_PARAMS\_free** – probabilistic signature scheme with RSA hashing

## SYNOPSIS

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*);

## DESCRIPTION

**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.

## SEE ALSO

RSA\_new(3), RSA\_padding\_add\_PKCS1\_type\_1(3), X509\_sign(3)

## 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.
