diff options
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa_locl.h')
| -rw-r--r-- | src/lib/libcrypto/rsa/rsa_locl.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_locl.h b/src/lib/libcrypto/rsa/rsa_locl.h index e949ee8aa9..28bf4110c2 100644 --- a/src/lib/libcrypto/rsa/rsa_locl.h +++ b/src/lib/libcrypto/rsa/rsa_locl.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: rsa_locl.h,v 1.4 2016/12/21 15:49:29 jsing Exp $ */ | 1 | /* $OpenBSD: rsa_locl.h,v 1.5 2019/10/04 16:51:31 jsing Exp $ */ |
| 2 | 2 | ||
| 3 | __BEGIN_HIDDEN_DECLS | 3 | __BEGIN_HIDDEN_DECLS |
| 4 | 4 | ||
| @@ -6,4 +6,11 @@ extern int int_rsa_verify(int dtype, const unsigned char *m, | |||
| 6 | unsigned int m_len, unsigned char *rm, size_t *prm_len, | 6 | unsigned int m_len, unsigned char *rm, size_t *prm_len, |
| 7 | const unsigned char *sigbuf, size_t siglen, RSA *rsa); | 7 | const unsigned char *sigbuf, size_t siglen, RSA *rsa); |
| 8 | 8 | ||
| 9 | int RSA_padding_add_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, | ||
| 10 | const unsigned char *from, int flen, const unsigned char *param, int plen, | ||
| 11 | const EVP_MD *md, const EVP_MD *mgf1md); | ||
| 12 | int RSA_padding_check_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, | ||
| 13 | const unsigned char *from, int flen, int num, const unsigned char *param, | ||
| 14 | int plen, const EVP_MD *md, const EVP_MD *mgf1md); | ||
| 15 | |||
| 9 | __END_HIDDEN_DECLS | 16 | __END_HIDDEN_DECLS |
