Verify an RSA-PSS encoded message EM against a message hash (deprecated).
Declared in <openssl/rsa.h>
[[deprecated]]
int
RSA_verify_PKCS1_PSS(
RSA* rsa,
unsigned char const* mHash,
EVP_MD const* Hash,
unsigned char const* EM,
int sLen);
Deprecated. Use of this entity is allowed but discouraged.
1 if the PSS encoding is valid, or 0 on failure.
| Name | Description |
|---|---|
| rsa | RSA public key used for verification context (size / parameters). |
| mHash | Hash of the original message. |
| Hash | Digest that produced mHash and is used by PSS. |
| EM | Encoded message of RSA_size(rsa) bytes (typically after RSA public operation). |
| sLen | PSS salt length in bytes, or a special negative sentinel accepted by the implementation. |