Hi, How I can do an RSA_verify_PKCS1_PSS() in OpenSSl 3? In OpenSSL 1.0.2 I used: unsigned char * decrypted_sign = (unsigned char *)OPENSSL_malloc((int)signature.length()); ret = RSA_public_decrypt((int)signature.length(), (unsigned char *)signature.c_str(), decrypted_sign, rsa, RSA_NO_PADDING); ret = RSA_verify_PKCS1_PSS(rsa, (unsigned char *)strPaddedMsg.c_str(), EVP_sha256(), decrypted_sign, -2); Thanks, Martin |