- Jun 16, 2000
-
-
Dr. Stephen Henson authored
After some messing around this seems to work but needs a few more tests. Working out the syntax for sk_set_cmp_func() (cast it to a function that itself returns a function pointer) was painful :-( Needs some testing to see what other compilers think of this syntax. Also needs similar stuff for ASN1_SET_OF etc etc.
-
- Jun 15, 2000
-
-
Dr. Stephen Henson authored
-
- Jun 11, 2000
-
-
Dr. Stephen Henson authored
Documentation correction.
-
Dr. Stephen Henson authored
to support multiple calls. New function to retrieve email address from certificates and requests.
-
- Jun 10, 2000
-
-
Bodo Möller authored
as expected -- maybe it's the different processor, maybe my previous timings were too inaccurate.
-
Bodo Möller authored
Don't give performance gain estimates that appear to be more precise than they really are, especially when they are wrong (2/(1/1.15 + 1) = ca. 1.0698).
-
- Jun 08, 2000
-
-
Bodo Möller authored
marginally faster BN_mod_exp for 1024 bit exponents.
-
Bodo Möller authored
-
Bodo Möller authored
because we're only handling words anyway) in BN_mod_exp_mont_word making it a little faster for very small exponents, and adjust the performance gain estimate in CHANGES according to slightly more thorough measurements. (15% faster than BN_mod_exp_mont for "large" base, 20% faster than BN_mod_exp_mont for small base.)
-
- Jun 07, 2000
-
-
Bodo Möller authored
-
- Jun 03, 2000
-
-
Ulf Möller authored
Submitted by: John Jarvie <jjarvie@newsguy.com>
-
- Jun 01, 2000
-
-
Geoff Thorpe authored
structures and functions for each stack type. The previous behaviour can be enabled by configuring with the "-DDEBUG_SAFESTACK" option. This will also cause "make update" (mkdef.pl in particular) to update the libeay.num and ssleay.num symbol tables with the number of extra functions DEBUG_SAFESTACK creates. The way this change works is to accompany each DECLARE_STACK_OF() macro with a set of "#define"d versions of the sk_##type##_*** functions that ensures all the existing "type-safe" stack calls are precompiled into the underlying stack calls. The presence or abscence of the DEBUG_SAFESTACK symbol controls whether this block of "#define"s or the DECLARE_STACK_OF() macro is taking effect. The block of "#define"s is in turn generated and maintained by a perl script (util/mkstack.pl) that encompasses the block with delimiting C comments. This works in a similar way to the auto-generated error codes and, like the other such maintenance ut...
-
Geoff Thorpe authored
yet tighter, and also put some heat on the rest of the library by insisting (correctly) that compare callbacks used in stacks are prototyped with "const" parameters. This has led to a depth-first explosion of compiler warnings in the code where 1 constification has led to 3 or 4 more. Fortunately these have all been resolved to completion and the code seems cleaner as a result - in particular many of the _cmp() functions should have been prototyped with "const"s, and now are. There was one little problem however; X509_cmp() should by rights compare "const X509 *" pointers, and it is now declared as such. However, it's internal workings can involve recalculating hash values and extensions if they have not already been setup. Someone with a more intricate understanding of the flow control of X509 might be able to tighten this up, but for now - this seemed the obvious place to stop the "depth-first" constification of the code by using an evil cast (they have migrated all the way here from safestack.h). Fortunately, this is the only place in the code where this was required to complete these type-safety changes, and it's reasonably clear and commented, and seemed the least unacceptable of the options. Trying to take the constification further ends up exploding out considerably, and indeed leads directly into generalised ASN functions which are not likely to cooperate well with this.
-
- May 30, 2000
-
-
Bodo Möller authored
-
Dr. Stephen Henson authored
More EVP cipher revision. Change EVP_SealInit() and EVP_OpenInit() to handle cipher parameters. Make it possible to set RC2 and RC5 params. Make RC2 ASN1 code use the effective key bits and not the key length. TODO: document how new API works.
-
Dr. Stephen Henson authored
Declare ciphers in terms of macros. This reduces the amount of code and places each block cipher EVP definition in a single file instead of being spread over 4 files.
-
- May 28, 2000
-
-
Dr. Stephen Henson authored
Remove duplicated code in EVP.
-
- May 27, 2000
-
-
Bodo Möller authored
-
Dr. Stephen Henson authored
Second phase of EVP cipher overhaul. Change functions like EVP_EncryptUpdate() so they now return a value. These normally have software only implementations which cannot fail so this was acceptable. However ciphers can be implemented in hardware and these could return errors.
-
- May 26, 2000
-
-
Dr. Stephen Henson authored
Beginnings of EVP cipher overhaul. This should eventually enhance and tidy up the EVP interface. This patch adds initial support for variable length ciphers and changes S/MIME code to use this. Some other library functions need modifying to support use of modified cipher parameters. Also need to change all the cipher functions that should return error codes, but currenly don't. And of course it needs extensive testing...
-
- May 25, 2000
-
-
Bodo Möller authored
Call dh_tmp_cb with correct 'is_export' flag. Avoid tabs in CHANGES.
-
- May 24, 2000
-
-
Dr. Stephen Henson authored
ASN1 encoding.
-
- May 18, 2000
-
-
Richard Levitte authored
-
Dr. Stephen Henson authored
-
- May 15, 2000
-
-
Ulf Möller authored
-
- May 04, 2000
-
-
Dr. Stephen Henson authored
-
Dr. Stephen Henson authored
Add a couple of FAQs.
-
- May 02, 2000
-
-
Bodo Möller authored
-
- Apr 29, 2000
-
-
Bodo Möller authored
for it).
-
- Apr 27, 2000
-
-
Ulf Möller authored
Submitted by: Reviewed by: PR:
-
- Apr 20, 2000
-
-
Geoff Thorpe authored
initialised, at which point an appropriate default was chosen. This meant a call to RSA_get_default_method might have returned FALSE. This change fixes that; now any called to RSA_new(), RSA_new_method(NULL), or RSA_get_default_method() will ensure that a default is chosen if it wasn't already.
-
- Apr 19, 2000
-
-
Geoff Thorpe authored
technique used is far from perfect and alternatives are welcome. Basically if the translation flag is set, the string is not too long, and there appears to be no path information in the string, then it is converted to whatever the standard should be for the DSO_METHOD in question, eg; blah --> libblah.so on *nix, and blah --> blah.dll on win32. This change also introduces the DSO_ctrl() function that is used by the name translation stuff.
-
- Apr 14, 2000
-
-
Bodo Möller authored
-
- Apr 10, 2000
-
-
Richard Levitte authored
-
- Apr 06, 2000
-
-
Bodo Möller authored
-
- Apr 04, 2000
-
-
Geoff Thorpe authored
-
- Apr 01, 2000
-
-
Richard Levitte authored
as important to keep a low profile here :-))
-
Richard Levitte authored
-
- Mar 30, 2000
-
-
Bodo Möller authored
-
- Mar 27, 2000
-
-
Bodo Möller authored
0.9.5a should not break anything that works in 0.9.5.
-