RSA_verify_PKCS1_PSS_mgf1

Verify a PKCS#1 PSS-encoded digest using an explicit MGF1 hash (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int
RSA_verify_PKCS1_PSS_mgf1(
    RSA* rsa,
    unsigned char const* mHash,
    EVP_MD const* Hash,
    EVP_MD const* mgf1Hash,
    unsigned char const* EM,
    int sLen);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 if the encoding is valid, or 0 on failure.

Parameters

NameDescription
rsaRSA key whose modulus length defines the encoded message size.
mHashMessage digest that was signed.
HashHash algorithm that produced mHash and labels the PSS encoding.
mgf1HashHash algorithm used by MGF1, or NULL to use Hash.
EMEncoded message to verify (typically RSA_size(rsa) bytes).
sLenSalt length in bytes, or a special RSA_PSS_SALTLEN_* value.