From: Dr. Stephen Henson Date: Sat, 28 May 2005 20:50:11 +0000 (+0000) Subject: Add PSS prototype to rsa.h X-Git-Tag: OpenSSL_0_9_8-beta3~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b4d2858f95e12a8271839357996422141550460c;p=oweals%2Fopenssl.git Add PSS prototype to rsa.h --- diff --git a/crypto/rsa/rsa.h b/crypto/rsa/rsa.h index 2dd403b81b..1f6131b42a 100644 --- a/crypto/rsa/rsa.h +++ b/crypto/rsa/rsa.h @@ -320,6 +320,12 @@ int RSA_padding_check_X931(unsigned char *to,int tlen, const unsigned char *f,int fl,int rsa_len); int RSA_X931_hash_id(int nid); +int RSA_verify_PKCS1_PSS(RSA *rsa, const unsigned char *mHash, + const EVP_MD *Hash, const unsigned char *EM, int sLen); +int RSA_padding_add_PKCS1_PSS(RSA *rsa, unsigned char *EM, + const unsigned char *mHash, + const EVP_MD *Hash, int sLen); + int RSA_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int RSA_set_ex_data(RSA *r,int idx,void *arg);