]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - include/crypto/rsa.h
Teach the RSA implementation about TLS RSA Key Transport
[thirdparty/openssl.git] / include / crypto / rsa.h
index 6d2e7ffb5326258cdbe0e9ec6503e829d99d1c72..29256371f6580947e8903f7ade37451a6e1caefc 100644 (file)
@@ -18,4 +18,8 @@ int rsa_set0_all_params(RSA *r, const STACK_OF(BIGNUM) *primes,
 int rsa_get0_all_params(RSA *r, STACK_OF(BIGNUM_const) *primes,
                         STACK_OF(BIGNUM_const) *exps,
                         STACK_OF(BIGNUM_const) *coeffs);
+
+int rsa_padding_check_PKCS1_type_2_TLS(unsigned char *to, size_t tlen,
+                                       const unsigned char *from, size_t flen,
+                                       int client_version, int alt_version);
 #endif