diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2014-07-19 14:20:05 +0100 |
---|---|---|
committer | Janusz Kozerski <j.kozerski@samsung.com> | 2014-10-20 15:25:31 +0200 |
commit | 39a5a2df43b1893f61ec8e23a58fafd69cbce854 (patch) | |
tree | 1e2ca395b22518b1ef61a9fd3ebdeccaddfc6b74 /doc | |
parent | 193981754f98cabf485f4e8f7f018296ecb83f40 (diff) | |
download | openssl-39a5a2df43b1893f61ec8e23a58fafd69cbce854.tar.gz openssl-39a5a2df43b1893f61ec8e23a58fafd69cbce854.tar.bz2 openssl-39a5a2df43b1893f61ec8e23a58fafd69cbce854.zip |
Fix documentation for RSA_set_method(3)
PR#1675
Reviewed-by: Matt Caswell <matt@openssl.org>
(cherry picked from commit 197400c3f0d617d71ad8167b52fb73046d334320)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/crypto/RSA_set_method.pod | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/doc/crypto/RSA_set_method.pod b/doc/crypto/RSA_set_method.pod index 2c963d7..0ef0781 100644 --- a/doc/crypto/RSA_set_method.pod +++ b/doc/crypto/RSA_set_method.pod @@ -125,14 +125,18 @@ the default method is used. /* sign. For backward compatibility, this is used only * if (flags & RSA_FLAG_SIGN_VER) */ - int (*rsa_sign)(int type, unsigned char *m, unsigned int m_len, - unsigned char *sigret, unsigned int *siglen, RSA *rsa); - + int (*rsa_sign)(int type, + const unsigned char *m, unsigned int m_length, + unsigned char *sigret, unsigned int *siglen, const RSA *rsa); /* verify. For backward compatibility, this is used only * if (flags & RSA_FLAG_SIGN_VER) */ - int (*rsa_verify)(int type, unsigned char *m, unsigned int m_len, - unsigned char *sigbuf, unsigned int siglen, RSA *rsa); + int (*rsa_verify)(int dtype, + const unsigned char *m, unsigned int m_length, + const unsigned char *sigbuf, unsigned int siglen, + const RSA *rsa); + /* keygen. If NULL builtin RSA key generation will be used */ + int (*rsa_keygen)(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb); } RSA_METHOD; |