aboutsummaryrefslogtreecommitdiff
path: root/crypto/bn
AgeCommit message (Collapse)AuthorFilesLines
2002-08-07avoid SIGSEGVBodo Möller1-3/+3
Submitted by: Nils Larsch, Douglas Stebila
2002-08-03oops, undo previous change (was just for testing)Bodo Möller1-1/+1
2002-08-03fix bn_expand2Bodo Möller2-3/+4
2002-08-03use bn_wexpand instead of bn_expand2 (the latter is not needed here,Bodo Möller1-1/+1
and it does not yet work correctly) Submitted by: Douglas Stebila
2002-08-02disable Sun divison algorithm by defaultBodo Möller1-1/+1
2002-08-02fix bn_expand2Bodo Möller1-8/+11
2002-08-02remove obsolete part of commentBodo Möller1-2/+0
2002-08-02remove obsoleted disabled codeBodo Möller1-10/+0
2002-08-02Let BN_rand_range() abort with an error after 100 iterationsBodo Möller1-0/+14
without success.
2002-08-02Change BN_mod_sqrt() so that it verifies that the input value isBodo Möller1-18/+31
really the square of the return value.
2002-08-02move GF2m tests to the endBodo Möller1-8/+8
2002-08-02Rename implementations of method functions so that they matchBodo Möller1-7/+7
the new method names where _GF... suffixes have been removed. Revert changes to ..._{get/set}_Jprojective_coordinates_...: The current implementation for ECC over binary fields does not use projective coordinates, and if it did, it would not use Jacobian projective coordinates; so it's OK to use the ..._GFp prefix for all this. Add author attributions to some files so that it doesn't look as if Sun wrote all of this :-)
2002-08-02Binary field arithmetic contributed by Sun Microsystems.Bodo Möller5-3/+1716
The 'OPENSSL_NO_SUN_DIV' default is still subject to change, so I didn't bother to finish the CHANGES entry yet. Submitted by: Douglas Stebila <douglas.stebila@sun.com>, Sheueling Chang <sheueling.chang@sun.com> (CHANGES entry by Bodo Moeller)
2002-07-25Move zeroing from bn_expand_internal() to bn_expand2() so that itBodo Möller1-12/+22
happens reliably, even if the BIGNUM is already sufficiently large. [Note that the bn_expand()/bn_wexpand() macros call bn_expand2() only if the BIGNUM actually has to grow, so this change does not add any new overhead as currently bn_expand2() is never called directly.]
2002-07-10remove obsolete commentBodo Möller1-1/+1
2002-06-27Pass CFLAG to dependency makers, so non-standard system include paths areRichard Levitte1-1/+1
handled properly. Part of PR 75
2002-06-13Add support for DJGPP.Richard Levitte1-1/+1
PR: 75
2002-05-30Check the return values where memory allocation failures may happen.Richard Levitte3-14/+14
PR: 49
2002-05-10Fallback to normal multiply if n2 == 8 and dna or dnb is not zeroDr. Stephen Henson1-3/+9
in bn_mul_recursive. This is (hopefully) what was triggering bignum errors on 64 bit platforms and causing the BN_mod_mul test to fail.
2002-05-10Avoid gcc warning: BN_DEC_CONV when SIXTY_FOUR_BIT is defined is unsigned.Dr. Stephen Henson1-1/+1
2002-03-25add missing declarationBodo Möller1-0/+2
Submitted by: Nils Larsch
2001-12-17remove redundant ERR_load_... declarationsBodo Möller1-1/+0
2001-12-14fix BN_rand_rangeBodo Möller1-11/+13
2001-11-15make updateRichard Levitte1-0/+1
perl util/mkerr.pl -recurse -write -rebuild
2001-11-09adjust to OpenSSL_0_9_6-stable versionBodo Möller1-2/+3
2001-10-14openbsd-x86 macrosUlf Möller2-2/+2
Submitted by: Toomas Kiisk <vix@cyber.ee>
2001-10-04'make update'Richard Levitte1-6/+6
2001-09-25"make update".Geoff Thorpe1-3/+4
2001-09-05bug fix: bn_sqr_recursive output is twice its input size.Ulf Möller1-1/+1
2001-09-04OpenSSL copyright notices ...Bodo Möller1-1/+1
2001-09-03Correct a typo.Geoff Thorpe1-1/+1
2001-09-03Use uniformly chosen witnesses for Miller-Rabin testBodo Möller3-8/+74
(by using new BN_pseudo_rand_range function)
2001-07-31make updateRichard Levitte1-23/+24
2001-07-30Really add the EVP and all of the DES changes.Ben Laurie1-24/+23
2001-07-30Enhanced support for IA-64 Linux and HP-UX (as well as better support forAndy Polyakov1-0/+12
HP-UX in common in ./config). Note that for the moment of this writing none of 64-bit platforms pass bntest. I'm committing this anyway as it's too frustrating to patch snapshots over and over while 0.9.6 is known to work.
2001-07-30Support for Intel and HP-UXi assemblers.Andy Polyakov1-456/+465
2001-06-22This fixes "Spurious test failures on IRIX?" reported in April. ApparentlyAndy Polyakov1-185/+245
I was wrong in conclusions about when addition starts overflowing in combaX routines.
2001-06-11Get rid of "possible WAW dependency" warnings.Andy Polyakov1-0/+5
Submitted by: Reviewed by: PR:
2001-05-30Get rid of RAW dependency warnings.Andy Polyakov1-7/+7
Submitted by: Reviewed by: PR:
2001-05-28Assembler support for IA-64. See the source code commentary for furtherAndy Polyakov1-0/+1484
details (performance numbers and accompanying discussions:-). Note that the code is not engaged in ./Configure yet. I'll add it later this week along with updates for .spec file. Submitted by: Reviewed by: PR:
2001-05-14branch on equal is beql, not beq...Richard Levitte1-1/+1
2001-04-09Adjust BN_mod_inverse algorithm selection according to experiments onBodo Möller1-2/+3
Ultra-Sparcs (both 32-bit and 64-bit compilations)
2001-04-08commentBodo Möller1-1/+1
2001-04-08code documentationBodo Möller1-4/+8
2001-04-08binary algorithm for modular inversionBodo Möller2-98/+183
2001-03-27The IRIX fix. Asm recap and corresponding declation.Andy Polyakov2-4/+5
Submitted by: Reviewed by: PR:
2001-03-15Completely remove mont2 stuff.Bodo Möller2-406/+0
It does not appear to be faster than the current Montgomery code except for very small moduli (somewhere between 192 and 224 bits in a 64-bit Sun environment, and even less than 192 bits on 32 bit systems).
2001-03-11EC_METHOD based on bn_mont2 (not used in the library)Bodo Möller2-9/+30
2001-03-10More EC stuff, including EC_POINTs_mul() for simultaneous scalarBodo Möller2-2/+2
multiplication of an arbitrary number of points.
2001-03-09Instead of telling both 'make' and the user that ranlibBodo Möller1-2/+1
errors can be tolerated, hide the error from 'make'. This gives shorter output both if ranlib fails and if it works.