Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2000-12-04 | Update the documentation to the current state of the LHASH changes. There | Geoff Thorpe | 1 | -7/+50 | |
will probably be more when the lh_doall[_arg] callbacks are similarly tidied up, but this 'pod' should now be current. | |||||
2000-12-04 | Make a note of the LHASH changes. | Geoff Thorpe | 1 | -0/+6 | |
2000-12-04 | Make the remaining LHASH macro changes. This should leave no remaining | Geoff Thorpe | 6 | -15/+39 | |
cases of function pointer casting in lh_new() calls - and leave only the lh_doall and lh_doall_arg cases to be finished. | |||||
2000-12-03 | Fix warnings. | Ben Laurie | 3 | -7/+13 | |
2000-12-03 | include <limits.h> | Bodo Möller | 1 | -0/+1 | |
2000-12-03 | Don't allow BIGNUMs to become so large that computations with dmax | Bodo Möller | 3 | -0/+8 | |
might overflow. | |||||
2000-12-02 | Use the new LHASH macros to declare type-safe wrapper functions that can | Geoff Thorpe | 2 | -17/+26 | |
be used as the hash/compare callbacks without function pointer casting. For now, this is just happening in the apps/ directory whilst a few people check the approach. The rest of the library will be moved across to the same idea if there's no problems with this. | |||||
2000-12-02 | Next step in tidying up the LHASH code. This commit defines DECLARE and | Geoff Thorpe | 1 | -0/+29 | |
IMPLEMENT macros for defining wrapper functions for "hash" and "cmp" callbacks that are specific to the underlying item type in a hash-table. This prevents function pointer casting altogether, and also provides some type-safety because the macro does per-variable casting from the (void *) type used in LHASH itself to the type declared in the macro - and if that doesn't match the prototype expected by the "hash" or "cmp" function then a compiler error will result. NB: IMPLEMENT macros are not required unless predeclared forms are required (either in a header file, or further up in a C file than the implementation needs to be). The DECLARE macros must occur after the type-specific hash/cmp callbacks are declared. Also, the IMPLEMENT and DECLARE macros are such that they can be prefixed with "static" if desired and a trailing semi-colon should be appended (making it look more like a regular declaration and easier on auto-formatting text-editors too). Now that these macros are defined, I will next be commiting changes to a number of places in the library where the casting was doing bad things. After that, the final step will be to make the analogous changes for the lh_doall and lh_doall_arg functions (more specifically, their callback parameters). | |||||
2000-12-02 | Add a comment to explain the purpose of bn_cmp_part_words(). | Richard Levitte | 1 | -0/+7 | |
2000-12-02 | last commit was wrong. Now it works. :) | Ulf Möller | 1 | -2/+2 | |
2000-12-02 | argl | Ulf Möller | 1 | -1/+1 | |
2000-12-02 | remember the problem with ftime() | Ulf Möller | 1 | -1/+1 | |
2000-12-02 | forgot to remove the loop variable | Ulf Möller | 1 | -8/+0 | |
2000-12-02 | Loops like this one: | Ulf Möller | 1 | -28/+0 | |
if (bp == NULL) for (j=0; j<10000; j++) BN_add(&c,&a,&b); seem to be pretty useless, and bp never is NULL anyway. | |||||
2000-12-02 | Move the rijndael "test" to the bf and cast tests. | Ulf Möller | 1 | -2/+2 | |
2000-12-02 | Note the bntest change. | Ulf Möller | 1 | -5/+7 | |
The *_part_words functions are not static. | |||||
2000-12-02 | New function BN_bntest_rand() to detect more BN library bugs. | Ulf Möller | 3 | -35/+63 | |
The bn_cmp_part_words bug was only caught in the BN_mod_mul() test, not in the BN_mul() test, so apparently the choice of parameters in some cases is bad. | |||||
2000-12-02 | Fix bn_cmp_part_words() and move it to bn_lib.c. | Ulf Möller | 3 | -13/+29 | |
2000-12-02 | remove unused static function | Ulf Möller | 1 | -0/+2 | |
2000-12-01 | First step in tidying up the LHASH code. The callback prototypes (and | Geoff Thorpe | 15 | -40/+66 | |
casts) used in the lhash code are about as horrible and evil as they can be. For starters, the callback prototypes contain empty parameter lists. Yuck. This first change defines clearer prototypes - including "typedef"'d function pointer types to use as "hash" and "compare" callbacks, as well as the callbacks passed to the lh_doall and lh_doall_arg iteration functions. Now at least more explicit (and clear) casting is required in all of the dependant code - and that should be included in this commit. The next step will be to hunt down and obliterate some of the function pointer casting being used when it's not necessary - a particularly evil variant exists in the implementation of lh_doall. | |||||
2000-12-01 | Write a first HOWTO on how to create certificates. This is currently | Richard Levitte | 1 | -0/+85 | |
a draft. | |||||
2000-12-01 | Correct a mail address... | Richard Levitte | 1 | -1/+1 | |
2000-12-01 | Document the addition of Kerberos stuff. | Richard Levitte | 1 | -0/+6 | |
2000-12-01 | Typo corrected. | Richard Levitte | 1 | -1/+1 | |
2000-12-01 | functionality for BN_mod_sqrt timings | Bodo Möller | 1 | -30/+72 | |
2000-12-01 | "make depend" | Bodo Möller | 4 | -765/+745 | |
2000-12-01 | update | Bodo Möller | 1 | -0/+21 | |
2000-12-01 | GPL FAQ. | Ulf Möller | 1 | -0/+19 | |
I hope this adequately summarizes the results of all those disussions. | |||||
2000-12-01 | Borland C fix. | Ulf Möller | 1 | -0/+3 | |
2000-12-01 | typo | Ulf Möller | 1 | -1/+1 | |
2000-12-01 | Recognise Darwin as well. For now, have it do exactly the same thing as for ↵ | Richard Levitte | 2 | -1/+7 | |
Rhapsody | |||||
2000-11-30 | COMP_zlib should always be declared, even if it is not functional. | Bodo Möller | 2 | -3/+1 | |
Don't dump core in ssltest. | |||||
2000-11-30 | Fix the recently introduced test that checks if the result is 0 | Bodo Möller | 1 | -2/+2 | |
2000-11-30 | First tentative impementation of Kerberos 5 cryptos and keys for SSL/TLS. ↵ | Richard Levitte | 21 | -811/+1873 | |
Implemented by Vern Staats <staatsvr@asc.hpc.mil>, further hacked and distributed by Jeffrey Altman <jaltnab@columbia.edu> | |||||
2000-11-30 | Fix BN_rshift, which caused lots of trouble. | Bodo Möller | 4 | -19/+11 | |
2000-11-30 | Remove randomness from the test. These constants give me a segment | Bodo Möller | 1 | -2/+8 | |
violation in test_kron on a 32 bit system. | |||||
2000-11-30 | BN_mod_exp(r,a,p,m,ctx) should not be called with r == p. | Bodo Möller | 1 | -45/+19 | |
But even if this is avoided, there are still segmentation violations (during one of the BN_free()s at the end of test_kron in some cases, in other cases during BN_kronecker, or later in BN_sqrt; choosing a different exponentiation algorithm in bntest.c appears to influence when the SIGSEGV takes place). | |||||
2000-11-30 | It's "#elif", not "#elsif". | Bodo Möller | 1 | -1/+31 | |
2000-11-30 | A few bug fixes for Windows. | Richard Levitte | 1 | -5/+5 | |
2000-11-30 | Changes to Lenka's Montgomery implementation. | Bodo Möller | 4 | -122/+186 | |
Submitted by: Lenka Fibikova | |||||
2000-11-30 | New format for the FAQ. We now have different sections for different | Richard Levitte | 2 | -196/+228 | |
types of questions. Hopefully, that'll make them easier to spot, and specially, easier to refer to. | |||||
2000-11-30 | Corrections to the comments in BN_mod_inverse. | Bodo Möller | 1 | -7/+7 | |
2000-11-30 | The compression method may be undefined for some reason that has | Richard Levitte | 1 | -0/+3 | |
generated errors. Therefore, print whatever error there may be... | |||||
2000-11-30 | Simplify and provide the possibility to clean a compression method. | Richard Levitte | 1 | -12/+10 | |
2000-11-30 | comp_methods in a SSL_CTX points at an internal database. Do *not* | Richard Levitte | 1 | -0/+4 | |
free that, since it's shared by all SSL_CTX's, present and future. | |||||
2000-11-30 | Turn off memory checking when loading new compression algorithms. | Richard Levitte | 1 | -1/+5 | |
2000-11-30 | COMP_METHOD has a new argument since some time back... | Richard Levitte | 2 | -0/+3 | |
2000-11-30 | Make it possible to test SSL compression | Richard Levitte | 2 | -29/+68 | |
2000-11-30 | Change c_zlib further to allow loading a shared zlib on all operating | Richard Levitte | 1 | -34/+51 | |
systems where such an operation is supported. | |||||
2000-11-30 | BN_mod_exp problems ... | Bodo Möller | 1 | -0/+10 | |