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.