Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Constification of the data of a hash table. This means the callback | Richard Levitte | 2000-12-13 | 13 | -87/+92 |
| | | | | | | | functions need to be constified, and therefore meant a number of easy changes a little everywhere. Now, if someone could explain to me why OBJ_dup() cheats... | ||||
* | Problem: bn_mul_normal() misbehaves if the size of b is 0. | Richard Levitte | 2000-12-13 | 1 | -1/+7 |
| | | | | Solution: multiply a with 0, putting the result in r, and return. | ||||
* | In bn_mul_recursive(), make sure the comba routines are only called | Richard Levitte | 2000-12-13 | 1 | -4/+7 |
| | | | | | when both a and b are of the exact right size. This may change to something better later. | ||||
* | When using -pedantic, it's a good thing to define PEDANTIC as well. | Richard Levitte | 2000-12-13 | 1 | -2/+3 |
| | | | | Also, define a second debugging configuration without assembler. | ||||
* | Stop extension creation code core dumping. | Dr. Stephen Henson | 2000-12-13 | 1 | -0/+1 |
| | | | | | | This was caused by no initialising the buffer to NULL when using the auto allocating version if i2d. | ||||
* | Rewrite the extension code to use an ASN1_ITEM structure | Dr. Stephen Henson | 2000-12-13 | 19 | -119/+99 |
| | | | | | | | | for its ASN1 operations as well as the old style function pointers (i2d, d2i, new, free). Change standard extensions to support this. Fix a warning in BN_mul(), bn_mul.c about uninitialised 'j'. | ||||
* | Add description of SSL_[CTX_]_check_private_key(). | Lutz Jänicke | 2000-12-12 | 1 | -1/+12 |
| | |||||
* | SSL_new() may potentially add a certfificate. Therefore, wen | Richard Levitte | 2000-12-12 | 1 | -0/+4 |
| | | | | | | duplicating the certificate that is in the original SSL, remove the one that SSL_new() provided, if any. Spotted by: Mike Zeoli <zeoli@roguewave.com> | ||||
* | Change/add comments | Bodo Möller | 2000-12-11 | 1 | -1/+4 |
| | |||||
* | Stop on bntest error. | Ulf Möller | 2000-12-10 | 1 | -1/+1 |
| | |||||
* | *** empty log message *** | Ulf Möller | 2000-12-10 | 1 | -4/+12 |
| | |||||
* | Make TYPE_RSA the default type instead of just setting it when -new is | Richard Levitte | 2000-12-09 | 1 | -2/+1 |
| | | | | | given. That also allows the arguments to come in any order (-new last, for example). | ||||
* | Use continuation lines in test/bctest as far as it is possible | Bodo Möller | 2000-12-09 | 1 | -2/+16 |
| | | | | | to dermine what the expression should look like. Apparently CVS does not like lines longer than about 2^10 characters. | ||||
* | Don't throw away bctest's error messages. | Bodo Möller | 2000-12-09 | 1 | -2/+2 |
| | |||||
* | Test for SCO bc bug | Ulf Möller | 2000-12-09 | 1 | -3/+5 |
| | |||||
* | Next step in tidying up the LHASH code. | Geoff Thorpe | 2000-12-08 | 7 | -73/+96 |
| | | | | | | | | | | | | | | | | DECLARE/IMPLEMENT macros now exist to create type (and prototype) safe wrapper functions that avoid the use of function pointer casting yet retain type-safety for type-specific callbacks. However, most of the usage within OpenSSL itself doesn't really require the extra function because the hash and compare callbacks are internal functions declared only for use by the hash table. So this change catches all those cases and reimplements the functions using the base-level LHASH prototypes and does per-variable casting inside those functions to convert to the appropriate item type. The exception so far is in ssl_lib.c where the hash and compare callbacks are not static - they're exposed in ssl.h so their prototypes should not be changed. In this last case, the IMPLEMENT_LHASH_*** macros have been left intact. | ||||
* | bn_part_sub_word prototype. | Ulf Möller | 2000-12-08 | 1 | -0/+2 |
| | |||||
* | Merge from the ASN1 branch of new ASN1 code | Dr. Stephen Henson | 2000-12-08 | 120 | -8178/+6492 |
| | | | | | | to main trunk. Lets see if the makes it to openssl-cvs :-) | ||||
* | Add manual pages for certficate/key loading and friends. | Lutz Jänicke | 2000-12-08 | 6 | -5/+253 |
| | |||||
* | Placeholder for SCO bc bug detection | Bodo Möller | 2000-12-08 | 1 | -8/+21 |
| | |||||
* | Fix some things that look like bugs. | Bodo Möller | 2000-12-07 | 6 | -47/+121 |
| | | | | | | One problem that looked like a problem in bn_recp.c at first turned out to be a BN_mul bug. An example is given in bn_recp.c; finding the bug responsible for this is left as an exercise. | ||||
* | TEST_MUL and TEST_SQR added. | Bodo Möller | 2000-12-07 | 1 | -2/+24 |
| | |||||
* | Sign-related fixes (and tests). | Bodo Möller | 2000-12-07 | 4 | -17/+34 |
| | | | | | | BN_mod_exp_mont does not work properly yet if modulus m is negative (we want computations to be carried out modulo |m|). | ||||
* | Move 'q->neg = 0' to those places where it is needed | Bodo Möller | 2000-12-07 | 1 | -1/+5 |
| | | | | (just in cases someone uses a negative modulus) | ||||
* | BN_mod_sqrt documentation/comment | Bodo Möller | 2000-12-06 | 2 | -2/+4 |
| | |||||
* | Don't check for bc at all. We can now run a meaningful test even if | Ulf Möller | 2000-12-06 | 1 | -7/+0 |
| | | | | it is missing. | ||||
* | remove a comment that shouldn't have been there any more | Ulf Möller | 2000-12-06 | 1 | -1/+1 |
| | |||||
* | Faster BN_mod_sqrt algorithm for p == 5 (8). | Bodo Möller | 2000-12-06 | 2 | -6/+80 |
| | |||||
* | Printing "verify ..." should not be counted as a test for the | Bodo Möller | 2000-12-06 | 1 | -1/+1 |
| | | | | "xxx tests passed" message. | ||||
* | During the self test, we only want to know what bctest says on | Richard Levitte | 2000-12-06 | 1 | -1/+1 |
| | | | | stderr... | ||||
* | Have the self test use bctest to check that bc is sane. | Richard Levitte | 2000-12-06 | 1 | -1/+1 |
| | |||||
* | Use bc's "print" feature whenever it is available, | Bodo Möller | 2000-12-06 | 3 | -8/+18 |
| | | | | not just on certain platforms. | ||||
* | Add a comment. | Bodo Möller | 2000-12-06 | 1 | -0/+5 |
| | |||||
* | Workaround for broken (or missing) bc. | Bodo Möller | 2000-12-06 | 2 | -2/+29 |
| | |||||
* | remove useless instruction | Ulf Möller | 2000-12-06 | 1 | -2/+0 |
| | |||||
* | Intel assembler version for bn_sub_part_words(). I haven't got | Ulf Möller | 2000-12-06 | 2 | -2/+215 |
| | | | | reliable timings yet, please try it out! | ||||
* | another fix for the debug print | Ulf Möller | 2000-12-06 | 1 | -2/+4 |
| | |||||
* | test_mod_mul is useful, let's run it more often. | Ulf Möller | 2000-12-06 | 1 | -1/+3 |
| | |||||
* | move constants for debug functions to end of file | Ulf Möller | 2000-12-06 | 1 | -2/+6 |
| | |||||
* | Update the internal docs. | Richard Levitte | 2000-12-05 | 1 | -9/+10 |
| | |||||
* | Typo and additional information about cert-chain building. | Lutz Jänicke | 2000-12-05 | 1 | -1/+4 |
| | |||||
* | Add EXAMPLES for SSL_CIPHER_description() output. | Lutz Jänicke | 2000-12-05 | 1 | -0/+9 |
| | |||||
* | Discuss http://www.shoup.net/papers/oaep.ps.Z | Bodo Möller | 2000-12-05 | 1 | -1/+16 |
| | |||||
* | On Windows, Rainbow uses _stdcall convention under Windows. | Richard Levitte | 2000-12-05 | 1 | -10/+31 |
| | | | | Spotted by plin <plin@rainbow.com> | ||||
* | push the flags too | Ulf Möller | 2000-12-05 | 1 | -0/+2 |
| | |||||
* | looks like it works now | Ulf Möller | 2000-12-05 | 1 | -4/+4 |
| | |||||
* | save registers in the debug output code (return value is overwritten too) | Ulf Möller | 2000-12-05 | 1 | -1/+23 |
| | |||||
* | more of the same: add printf() for perlasm. | Ulf Möller | 2000-12-05 | 1 | -11/+39 |
| | |||||
* | minor modification to the previous change | Ulf Möller | 2000-12-05 | 1 | -3/+2 |
| | |||||
* | PERLASM - the wierdest programming language since Intercal. | Ulf Möller | 2000-12-05 | 1 | -1/+27 |
| | | | | add debug output facilities. |