diff options
author | Richard Levitte <levitte@openssl.org> | 2000-11-06 21:15:54 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-11-06 21:15:54 +0000 |
commit | 020fc820dc90dbbcf0d7e3f3345af9e44cf905a7 (patch) | |
tree | 43557879bf9ba3fd467211edf75155c45a51fd6f /crypto/bn/bn_mont.c | |
parent | bc8a9f1f0fa10e75a8a3610d870c37d742cb0eb7 (diff) | |
download | openssl-020fc820dc90dbbcf0d7e3f3345af9e44cf905a7.tar.gz |
Constify the BIGNUM routines a bit more. The only trouble were the
two functions that did expansion on in parameters (BN_mul() and
BN_sqr()). The problem was solved by making bn_dup_expand() which is
a mix of bn_expand2() and BN_dup().
Diffstat (limited to 'crypto/bn/bn_mont.c')
-rw-r--r-- | crypto/bn/bn_mont.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/bn_mont.c b/crypto/bn/bn_mont.c index 8cf1febacc..202eec4462 100644 --- a/crypto/bn/bn_mont.c +++ b/crypto/bn/bn_mont.c @@ -69,7 +69,7 @@ #define MONT_WORD /* use the faster word-based algorithm */ -int BN_mod_mul_montgomery(BIGNUM *r, BIGNUM *a, BIGNUM *b, +int BN_mod_mul_montgomery(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_MONT_CTX *mont, BN_CTX *ctx) { BIGNUM *tmp,*tmp2; |