diff options
author | Bodo Möller <bodo@openssl.org> | 2000-02-03 01:26:07 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2000-02-03 01:26:07 +0000 |
commit | 7999c65c9bfd80ec0f07f6eb5be5ce2e36927298 (patch) | |
tree | c9631f548315d57e6ca05ae6fdafd002058e1632 /doc/crypto | |
parent | bfe30e4d1b63c2f00584f26ed8d2ca0c37c480a8 (diff) |
Some 'const's for BNs.
Diffstat (limited to 'doc/crypto')
-rw-r--r-- | doc/crypto/BN_add_word.pod | 2 | ||||
-rw-r--r-- | doc/crypto/bn.pod | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/crypto/BN_add_word.pod b/doc/crypto/BN_add_word.pod index ee02e98920..1c3c629f7f 100644 --- a/doc/crypto/BN_add_word.pod +++ b/doc/crypto/BN_add_word.pod @@ -17,7 +17,7 @@ functions on BIGNUMs with integers BN_ULONG BN_div_word(BIGNUM *a, BN_ULONG w); - BN_ULONG BN_mod_word(BIGNUM *a, BN_ULONG w); + BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w); =head1 DESCRIPTION diff --git a/doc/crypto/bn.pod b/doc/crypto/bn.pod index 823561fa8d..c1cb2f61fd 100644 --- a/doc/crypto/bn.pod +++ b/doc/crypto/bn.pod @@ -43,7 +43,7 @@ bn - Multiprecision integer arithmetics int BN_sub_word(BIGNUM *a, BN_ULONG w); int BN_mul_word(BIGNUM *a, BN_ULONG w); BN_ULONG BN_div_word(BIGNUM *a, BN_ULONG w); - BN_ULONG BN_mod_word(BIGNUM *a, BN_ULONG w); + BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w); int BN_cmp(BIGNUM *a, BIGNUM *b); int BN_ucmp(BIGNUM *a, BIGNUM *b); @@ -63,7 +63,7 @@ bn - Multiprecision integer arithmetics BIGNUM *BN_generate_prime(BIGNUM *ret,int bits,int safe,BIGNUM *add, BIGNUM *rem,void (*callback)(int,int,void *),void *cb_arg); - int BN_is_prime(BIGNUM *p,int nchecks,void (*callback)(int,int,void *), + int BN_is_prime(const BIGNUM *p,int nchecks,void (*callback)(int,int,void *), BN_CTX *ctx,void *cb_arg); int BN_set_bit(BIGNUM *a, int n); |