diff options
author | Bodo Möller <bodo@openssl.org> | 2000-11-27 21:17:20 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2000-11-27 21:17:20 +0000 |
commit | dcbd0d74d5d2732f725228adedab8d689801d20e (patch) | |
tree | ec48a79a2eda9d35ee127c29625a8542fb5eb05a /CHANGES | |
parent | 1ec0a3862e0ce377ac6dc77ee95260d16bcec976 (diff) |
Fix BN_is_... macros.
Fix BN_gcd.
Analyze BN_mod_inverse.
Add BN_kronecker.
"make update".
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -3,6 +3,28 @@ Changes between 0.9.6 and 0.9.7 [xx XXX 2000] + *) New function BN_kronecker. + [Bodo Moeller] + + *) Fix BN_gcd so that it works on negative inputs; the result is + positive unless both parameters are zero. + Previously something reasonably close to an infinite loop was + possible because numbers could be growing instead of shrinking + in the implementation of Euclid's algorithm. + [Bodo Moeller] + + *) Fix BN_is_word() and BN_is_one() macros to take into account the + sign of the number in question. + + Fix BN_is_word(a,w) to work correctly for w == 0. + + The old BN_is_word(a,w) macro is now called BN_abs_is_word(a,w) + because its test if the absolute value of 'a' equals 'w'. + Note that BN_abs_is_word does *not* handle w == 0 reliably; + it exists mostly for use in the implementations of BN_is_zero(), + BN_is_one(), and BN_is_word(). + [Bodo Moeller] + *) Initialise "ex_data" member of an RSA structure prior to calling the method-specific "init()" handler, and clean up ex_data after calling the method-specific "finish()" handler. Previously, this was happening |