summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_gcd.c
AgeCommit message (Collapse)Author
2015-10-07Set flags to 0 before calling BN_with_flags()Pascal Cuoq
BN_with_flags() will read the dest->flags to keep the BN_FLG_MALLOCED but overwrites everything else. Signed-off-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Rich Salz <rsalz@openssl.org> MR #1231 (cherry picked from commit f92768e6f5259069bd21dbed2b98b3423c1dfca4)
2015-01-22Re-align some comments after running the reformat script.OpenSSL_1_0_2-post-reformatMatt Caswell
This should be a one off operation (subsequent invokation of the script should not move them) This commit is for the 1.0.2 changes Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Run util/openssl-format-source -v -c .Matt Caswell
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22mark all block comments that need format preserving so thatTim Hudson
indent will not alter them when reformatting comments (cherry picked from commit 1d97c8435171a7af575f73c526d79e1ef0ee5960) Conflicts: crypto/bn/bn_lcl.h crypto/bn/bn_prime.c crypto/engine/eng_all.c crypto/rc4/rc4_utl.c crypto/sha/sha.h ssl/kssl.c ssl/t1_lib.c Reviewed-by: Tim Hudson <tjh@openssl.org>
2012-06-03Reduce version skew: trivia (I hope).Ben Laurie
2007-06-11Privatize BN_*_no_branch.Andy Polyakov
2007-04-19fix error codesBodo Möller
2007-03-28make BN_FLG_CONSTTIME semantics more fool-proofBodo Möller
2007-03-28Change to mitigate branch prediction attacksBodo Möller
Submitted by: Matthew D Wood Reviewed by: Bodo Moeller
2005-08-28fix warnings when building openssl with the following compiler options:Nils Larsch
-Wmissing-prototypes -Wcomment -Wformat -Wimplicit -Wmain -Wmultichar -Wswitch -Wshadow -Wtrigraphs -Werror -Wchar-subscripts -Wstrict-prototypes -Wreturn-type -Wpointer-arith -W -Wunused -Wno-unused-parameter -Wuninitialized
2003-12-06Avoid segfault if ret==0.Ulf Möller
Submitted by: Nils Larsch
2003-11-04Put the first stage of my bignum debugging adventures into CVS. This codeGeoff Thorpe
is itself experimental, and in addition may cause execution to break on existing openssl "bugs" that previously were harmless or at least invisible.
2001-04-09Adjust BN_mod_inverse algorithm selection according to experiments onBodo Möller
Ultra-Sparcs (both 32-bit and 64-bit compilations)
2001-04-08commentBodo Möller
2001-04-08code documentationBodo Möller
2001-04-08binary algorithm for modular inversionBodo Möller
2000-11-30Corrections to the comments in BN_mod_inverse.Bodo Möller
2000-11-29add missing bracesBodo Möller
2000-11-29Make BN_mod_inverse a little fasterBodo Möller
2000-11-29Improve BN_mod_inverse performance.Bodo Möller
Get the BN_mod_exp_mont bugfix (for handling negative inputs) correct this time.
2000-11-27Fix BN_is_... macros.Bodo Möller
Fix BN_gcd. Analyze BN_mod_inverse. Add BN_kronecker. "make update".
2000-11-16More constification of the BN library.Richard Levitte
2000-11-06Constify the BIGNUM routines a bit more. The only trouble were theRichard Levitte
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().
2000-02-05New functions BN_CTX_start(), BN_CTX_get(), BN_CTX_end() to accessUlf Möller
temporary BIGNUMs. BN_CTX still uses a fixed number of BIGNUMs, but the BN_CTX implementation could now easily be changed.
1999-06-04Some constification and stacks that slipped through the cracks (how?).Ben Laurie
1999-04-26Remove NOPROTO definitions and error code comments.Ulf Möller
1999-04-19Change functions to ANSI C.Ulf Möller
1998-12-21Import of old SSLeay release: SSLeay 0.9.1b (unreleased)SSLeayRalf S. Engelschall
1998-12-21Import of old SSLeay release: SSLeay 0.9.0bRalf S. Engelschall
1998-12-21Import of old SSLeay release: SSLeay 0.8.1bRalf S. Engelschall