diff options
Diffstat (limited to 'src/lib/libcrypto/doc/RSA_set_method.pod')
| -rw-r--r-- | src/lib/libcrypto/doc/RSA_set_method.pod | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/doc/RSA_set_method.pod b/src/lib/libcrypto/doc/RSA_set_method.pod index deb1183a23..14b0b4cf35 100644 --- a/src/lib/libcrypto/doc/RSA_set_method.pod +++ b/src/lib/libcrypto/doc/RSA_set_method.pod | |||
| @@ -87,10 +87,11 @@ the default method is used. | |||
| 87 | int (*rsa_priv_dec)(int flen, unsigned char *from, | 87 | int (*rsa_priv_dec)(int flen, unsigned char *from, |
| 88 | unsigned char *to, RSA *rsa, int padding); | 88 | unsigned char *to, RSA *rsa, int padding); |
| 89 | 89 | ||
| 90 | /* compute r0 = r0 ^ I mod rsa->n. May be NULL */ | 90 | /* compute r0 = r0 ^ I mod rsa->n (May be NULL for some |
| 91 | implementations) */ | ||
| 91 | int (*rsa_mod_exp)(BIGNUM *r0, BIGNUM *I, RSA *rsa); | 92 | int (*rsa_mod_exp)(BIGNUM *r0, BIGNUM *I, RSA *rsa); |
| 92 | 93 | ||
| 93 | /* compute r = a ^ p mod m. May be NULL */ | 94 | /* compute r = a ^ p mod m (May be NULL for some implementations) */ |
| 94 | int (*bn_mod_exp)(BIGNUM *r, BIGNUM *a, const BIGNUM *p, | 95 | int (*bn_mod_exp)(BIGNUM *r, BIGNUM *a, const BIGNUM *p, |
| 95 | const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); | 96 | const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); |
| 96 | 97 | ||
