summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_shift.c
AgeCommit message (Collapse)Author
2003-11-13This rewrites two "for" loops in BN_rshift() - equality with zero isGeoff Thorpe
generally a more efficient comparison than comparing two integers, and the first of these two loops was off-by-one (copying one too many values). This change also removes a superfluous assignment that would set an unused word to zero (and potentially allow an overrun in some cases). Submitted by: Nils Larsch Reviewed by: Geoff Thorpe
2003-11-06Add debug-screening of input parameters to some functions I'd missedGeoff Thorpe
before.
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.
2000-11-30Fix BN_rshift, which caused lots of trouble.Bodo Möller
2000-11-29Fix warnings in expspeed.c (but the segmentation fault remains)Bodo Möller
Improve readability of bn_shift.c. Add comment in bn_lib.c (why zero data between top and max?) Change bntest.c output for BN_kronecker test
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-06-13This probably fixes a BN_rshift bug.Bodo Möller
1999-06-04Some constification and stacks that slipped through the cracks (how?).Ben Laurie
1999-04-19Change functions to ANSI C.Ulf Möller
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