diff options
| author | jsing <> | 2019-11-02 13:47:41 +0000 |
|---|---|---|
| committer | jsing <> | 2019-11-02 13:47:41 +0000 |
| commit | 9bcb8be561ef8d77fc1dcbf6ea55bd3ce5a84757 (patch) | |
| tree | 5ba6639ec8986e3ce41efcd816aa8f8a04a3508e /src/lib/libcrypto/rsa/rsa_locl.h | |
| parent | 4f9a2246b4d1ab4a5877c32889433673a39dbb56 (diff) | |
| download | openbsd-9bcb8be561ef8d77fc1dcbf6ea55bd3ce5a84757.tar.gz openbsd-9bcb8be561ef8d77fc1dcbf6ea55bd3ce5a84757.tar.bz2 openbsd-9bcb8be561ef8d77fc1dcbf6ea55bd3ce5a84757.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 |
