X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=doc%2Fcrypto%2FRSA_set_method.pod;h=c1a5b39c844f9a79312fbf1a680cd0591264ba7a;hp=8da805ff07845699c13e7cbe09e0c064c99167a6;hb=da542e1bf762507bc6630847e4c3dd18de81359d;hpb=2186cd8ef1c4db86109af7a38182c2bd9ddbbb32 diff --git a/doc/crypto/RSA_set_method.pod b/doc/crypto/RSA_set_method.pod index 8da805ff07..c1a5b39c84 100644 --- a/doc/crypto/RSA_set_method.pod +++ b/doc/crypto/RSA_set_method.pod @@ -4,7 +4,7 @@ RSA_set_default_method, RSA_get_default_method, RSA_set_method, RSA_get_method, RSA_PKCS1_SSLeay, RSA_PKCS1_RSAref, -RSA_PKCS1_null_method, RSA_flags, RSA_new_method - Select RSA method +RSA_null_method, RSA_flags, RSA_new_method - select RSA method =head1 SYNOPSIS @@ -87,10 +87,11 @@ the default method is used. int (*rsa_priv_dec)(int flen, unsigned char *from, unsigned char *to, RSA *rsa, int padding); - /* compute r0 = r0 ^ I mod rsa->n. May be NULL */ + /* compute r0 = r0 ^ I mod rsa->n (May be NULL for some + implementations) */ int (*rsa_mod_exp)(BIGNUM *r0, BIGNUM *I, RSA *rsa); - /* compute r = a ^ p mod m. May be NULL */ + /* compute r = a ^ p mod m (May be NULL for some implementations) */ int (*bn_mod_exp)(BIGNUM *r, BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); @@ -136,12 +137,12 @@ RSA_set_method() returns a pointer to the B previously associated with B. RSA_new_method() returns B and sets an error code that can be -obtained by ERR_get_error(3) if the allocation fails. Otherwise it +obtained by L if the allocation fails. Otherwise it returns a pointer to the newly allocated structure. =head1 SEE ALSO -rsa(3), RSA_new(3) +L, L =head1 HISTORY