diff options
author | jsing <> | 2019-11-02 13:47:41 +0000 |
---|---|---|
committer | jsing <> | 2019-11-02 13:47:41 +0000 |
commit | a1469fa8c12bfdc4903287f9aeb13ff9f42c1884 (patch) | |
tree | 5ba6639ec8986e3ce41efcd816aa8f8a04a3508e /src/lib/libcrypto/rsa/rsa_locl.h | |
parent | 62f18837e161d982ece761650e31494cb100129f (diff) | |
download | openbsd-a1469fa8c12bfdc4903287f9aeb13ff9f42c1884.tar.gz openbsd-a1469fa8c12bfdc4903287f9aeb13ff9f42c1884.tar.bz2 openbsd-a1469fa8c12bfdc4903287f9aeb13ff9f42c1884.zip |
Make RSA_padding_{add,check}_PKCS1_OAEP_mgf1() public.
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa_locl.h')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa_locl.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_locl.h b/src/lib/libcrypto/rsa/rsa_locl.h index ef4dddd16b..7036449c36 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.10 2019/11/02 13:44:19 jsing Exp $ */ | 1 | /* $OpenBSD: rsa_locl.h,v 1.11 2019/11/02 13:47:41 jsing Exp $ */ |
2 | 2 | ||
3 | __BEGIN_HIDDEN_DECLS | 3 | __BEGIN_HIDDEN_DECLS |
4 | 4 | ||
@@ -17,11 +17,4 @@ extern int int_rsa_verify(int dtype, const unsigned char *m, | |||
17 | unsigned int m_len, unsigned char *rm, size_t *prm_len, | 17 | unsigned int m_len, unsigned char *rm, size_t *prm_len, |
18 | const unsigned char *sigbuf, size_t siglen, RSA *rsa); | 18 | const unsigned char *sigbuf, size_t siglen, RSA *rsa); |
19 | 19 | ||
20 | int RSA_padding_add_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, | ||
21 | const unsigned char *from, int flen, const unsigned char *param, int plen, | ||
22 | const EVP_MD *md, const EVP_MD *mgf1md); | ||
23 | int RSA_padding_check_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, | ||
24 | const unsigned char *from, int flen, int num, const unsigned char *param, | ||
25 | int plen, const EVP_MD *md, const EVP_MD *mgf1md); | ||
26 | |||
27 | __END_HIDDEN_DECLS | 20 | __END_HIDDEN_DECLS |