Add PSS prototype to rsa.h
authorDr. Stephen Henson <steve@openssl.org>
Sat, 28 May 2005 20:50:11 +0000 (20:50 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 28 May 2005 20:50:11 +0000 (20:50 +0000)
crypto/rsa/rsa.h

index 2dd403b81bc4c0990c703c275cebaccb42391a8c..1f6131b42ae658d9f4157db1bd0f722b9e12b6fd 100644 (file)
@@ -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);