diff options
author | Geoff Thorpe <geoff@openssl.org> | 2003-12-02 04:28:24 +0100 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2003-12-02 04:28:24 +0100 |
commit | 82b2f57e30e1348edc620855ed0999cbb50f1d52 (patch) | |
tree | e5c435c721eff30f68336bb276a675c784a5b8f5 /crypto/bn/bn_exp2.c | |
parent | BN_FLG_FREE is of extremely dubious usefulness, and is only referred to (diff) | |
download | openssl-82b2f57e30e1348edc620855ed0999cbb50f1d52.tar.xz openssl-82b2f57e30e1348edc620855ed0999cbb50f1d52.zip |
Use the BN_is_odd() macro in place of code that (inconsistently) does much
the same thing.
Also, I have some stuff on the back-burner related to some BN_CTX notes
from Peter Gutmann about his cryptlib hacks to the bignum code. The BN_CTX
comments are there to remind me of some relevant points in the code.
Diffstat (limited to '')
-rw-r--r-- | crypto/bn/bn_exp2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/bn/bn_exp2.c b/crypto/bn/bn_exp2.c index 3bf7dafeee..979ceeffce 100644 --- a/crypto/bn/bn_exp2.c +++ b/crypto/bn/bn_exp2.c @@ -123,6 +123,7 @@ int BN_mod_exp2_mont(BIGNUM *rr, const BIGNUM *a1, const BIGNUM *p1, int r_is_one=1,ts1=0,ts2=0; BIGNUM *d,*r; const BIGNUM *a_mod_m; + /* TODO: BN_CTX??? */ BIGNUM val1[TABLE_SIZE], val2[TABLE_SIZE]; BN_MONT_CTX *mont=NULL; |