Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix BN_kronecker so that it works correctly if 'a' is negative | Bodo Möller | 2000-11-29 | 1 | -2/+2 | |
| | | | | (we need the two's complement of BN_lsw then). | |||||
* | BN_to_montgomery expects its inputs to be in the interval 0 .. modulus-1, | Bodo Möller | 2000-11-29 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | so we have to reduce the random numbers used in test_mont. Before this change, test_mont failed in [debug-]solaris-sparcv9-gcc configurations ("Montgomery multiplication test failed!" because the multiplication result obtained with Montgomery multiplication differed from the result obtained by BN_mod_mul). Substituing the old version of bn_gcd.c (BN_mod_inverse) did not avoid the problem. The strange thing is that it I did not observe any problems when using debug-solaris-sparcv8-gcc and solaris-sparcv9-cc, as well as when compiling OpenSSL 0.9.6 in the solaric-sparcv9-gcc configuration on the same system. | |||||
* | Fix warnings in expspeed.c (but the segmentation fault remains) | Bodo Möller | 2000-11-29 | 1 | -1/+4 | |
| | | | | | | | | 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 | |||||
* | Implement BN_kronecker test. | Bodo Möller | 2000-11-29 | 1 | -2/+78 | |
| | | | | | Modify "CHANGES" entry for BN_mod_inverse (it's not just avoiding BN_div that increases performance, avoiding BN_mul also helps) | |||||
* | Correct a bug in BN_kronecker. | Bodo Möller | 2000-11-28 | 1 | -0/+10 | |
| | | | | Sketch the test for BN_kronecker. | |||||
* | Add test_kron function, which will contain a test for BN_kronecker. | Bodo Möller | 2000-11-28 | 1 | -0/+11 | |
| | ||||||
* | Undo previous commit, which was an accident. | Bodo Möller | 2000-11-27 | 1 | -4/+0 | |
| | ||||||
* | Fix BN_is_... macros. | Bodo Möller | 2000-11-27 | 1 | -0/+4 | |
| | | | | | | | Fix BN_gcd. Analyze BN_mod_inverse. Add BN_kronecker. "make update". | |||||
* | More BN_mod_... functions. | Bodo Möller | 2000-11-26 | 1 | -0/+10 | |
| | ||||||
* | Constify the BIGNUM routines a bit more. The only trouble were the | Richard Levitte | 2000-11-06 | 1 | -0/+1 | |
| | | | | | | 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(). | |||||
* | Update comment. | Bodo Möller | 2000-03-02 | 1 | -1/+2 | |
| | ||||||
* | Don't call BN_rand with zero bits in bntest.c | Dr. Stephen Henson | 2000-02-27 | 1 | -1/+1 | |
| | ||||||
* | Enhance consistency by using BIO_flush() instead of fflush(). | Richard Levitte | 2000-02-25 | 1 | -17/+17 | |
| | ||||||
* | Do fflush(stdout) when there was an error. | Bodo Möller | 2000-02-24 | 1 | -0/+1 | |
| | ||||||
* | correct macro. | Ulf Möller | 2000-02-23 | 1 | -1/+1 | |
| | ||||||
* | test_mont was exercising 100-bit multiplication modulus X*I-bit, where | Andy Polyakov | 2000-02-15 | 1 | -1/+1 | |
| | | | | | | | X is 5120 on 32-bit and 151552 on 64-bit architectures and I varies from 0 to 4. As result the test was *unreasonably* slow and virtually impossible to complete on 64-bit architectures (e.g. IRIX bc couldn't even swallow such long lines). | |||||
* | Make gcc 2.95.2 happy again, even under ``-Wall -Wshadow -Wpointer-arith ↵ | Ralf S. Engelschall | 2000-02-11 | 1 | -1/+1 | |
| | | | | | | -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline''. | |||||
* | Add command line password options to the reamining utilities, | Dr. Stephen Henson | 2000-02-08 | 1 | -3/+3 | |
| | | | | amend docs. | |||||
* | "print" is GNU bc specific. | Ulf Möller | 2000-02-06 | 1 | -1/+1 | |
| | ||||||
* | put missing line back in. | Ulf Möller | 2000-02-06 | 1 | -1/+2 | |
| | ||||||
* | Improve bntest slightly, and fix another bug in the BN library. | Ulf Möller | 2000-02-06 | 1 | -68/+113 | |
| | ||||||
* | enable Montgomery test | Bodo Möller | 2000-01-27 | 1 | -3/+6 | |
| | ||||||
* | AFAICS lst1 stands for "lshift test" not "list". | Ulf Möller | 2000-01-21 | 1 | -2/+2 | |
| | ||||||
* | Rename lst1 to list1 to avoid name conflict on some platforms. | Bodo Möller | 2000-01-20 | 1 | -2/+2 | |
| | ||||||
* | - Pseudo-seed the PRNG in programs used for "make test" | Bodo Möller | 2000-01-14 | 1 | -0/+6 | |
| | | | | | | | | | because otherwise BN_rand will fail unless DEVRANDOM works, which causes the programs to dump core because they don't check the return value of BN_rand (and if they did, we still couldn't test anything). - add comment to some files that appear not to be used at all. | |||||
* | Improve support for running everything as a monolithic application. | Bodo Möller | 1999-10-25 | 1 | -0/+5 | |
| | | | | Submitted by: Lennart Bång, Bodo Möller | |||||
* | More DES library cleanups: remove references to srand/rand | Ulf Möller | 1999-07-15 | 1 | -2/+0 | |
| | | | | and delete an unused file. | |||||
* | Make "make test" fail if bntest fails an internal selfcheck. | Ben Laurie | 1999-06-09 | 1 | -0/+1 | |
| | ||||||
* | Update dependencies. | Ben Laurie | 1999-05-29 | 1 | -6/+28 | |
| | ||||||
* | It was a very bad idea to use #include "../e_os.h" -- when this occurs | Bodo Möller | 1999-05-21 | 1 | -5/+1 | |
| | | | | | | | | | | in cryptlib.h (which is often included as "../cryptlib.h"), then the question remains relative to which directory this is to be interpreted. gcc went one further directory up, as intended; but makedepend thinks differently, and so probably do some C compilers. So the ../ must go away; thus e_os.h goes back into include/openssl (but I now use #include "openssl/e_os.h" instead of <openssl/e_os.h> to make the point) -- and we have another huge bunch of dependency changes. Argh. | |||||
* | Don't install e_os.h in include/openssl, use it only as a local | Bodo Möller | 1999-05-20 | 1 | -1/+7 | |
| | | | | include file. | |||||
* | Add actual testing to bntest... | Ben Laurie | 1999-05-15 | 1 | -18/+165 | |
| | ||||||
* | Remove NOPROTO definitions and error code comments. | Ulf Möller | 1999-04-26 | 1 | -19/+0 | |
| | ||||||
* | Change #include filenames from <foo.h> to <openssl.h>. | Bodo Möller | 1999-04-23 | 1 | -6/+6 | |
| | | | | | | Submitted by: Reviewed by: PR: | |||||
* | Change functions to ANSI C. | Ulf Möller | 1999-04-19 | 1 | -42/+17 | |
| | ||||||
* | Fixes to BN code. Previously the default was to define BN_RECURSION | Mark J. Cox | 1999-01-28 | 1 | -0/+46 | |
| | | | | | | | | | but the BN code had some problems that would cause failures when doing certificate verification and some other functions. Submitted by: Eric A Young from a C2Net version of SSLeay Reviewed by: Mark J Cox PR: | |||||
* | Import of old SSLeay release: SSLeay 0.9.1b (unreleased) | Ralf S. Engelschall | 1998-12-21 | 1 | -120/+187 | |
| | ||||||
* | Import of old SSLeay release: SSLeay 0.9.0b | Ralf S. Engelschall | 1998-12-21 | 1 | -14/+16 | |
| | ||||||
* | Import of old SSLeay release: SSLeay 0.8.1b | Ralf S. Engelschall | 1998-12-21 | 1 | -0/+775 | |