[#RSA_verify_PKCS1_PSS_mgf1] = RSA_verify_PKCS1_PSS_mgf1 :mrdocs: Verify a PKCS#1 PSS‐encoded digest using an explicit MGF1 hash (deprecated). == Synopsis Declared in `<openssl/rsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int RSA_verify_PKCS1_PSS_mgf1( xref:RSA.adoc[RSA]* rsa, unsigned char const* mHash, xref:EVP_MD.adoc[EVP_MD] const* Hash, xref:EVP_MD.adoc[EVP_MD] const* mgf1Hash, unsigned char const* EM, int sLen); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 if the encoding is valid, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *rsa* | RSA key whose modulus length defines the encoded message size. | *mHash* | Message digest that was signed. | *Hash* | Hash algorithm that produced `mHash` and labels the PSS encoding. | *mgf1Hash* | Hash algorithm used by MGF1, or NULL to use `Hash.` | *EM* | Encoded message to verify (typically RSA_size(rsa) bytes). | *sLen* | Salt length in bytes, or a special RSA_PSS_SALTLEN_* value. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#