- 15 Mar, 2004 3 commits
-
-
Richard Levitte authored
-
Richard Levitte authored
compilers may complain.
-
Richard Levitte authored
-
- 13 Mar, 2004 3 commits
-
-
Geoff Thorpe authored
Remove certain redundant BN_zero() initialisations, because BN_CTX_get(), BN_init(), [etc] already initialise to zero. Correct error checking in bn_sqr.c, and be less wishy-wash about how/why the result's 'top' value is set (note also, 'max' is always > 0 at this point).
-
Geoff Thorpe authored
bignums are passed in and out of functions and APIs in a consistent form has highlighted that zero-valued bignums don't need any allocated word data. The use of BN_set_word() to initialise a bignum to zero causes needless allocation and gives it a return value that must be checked. This change converts BN_zero() to a self-contained macro that has no return/expression value and does not cause any expansion of bignum data. Note, it would be tempting to rewrite the deprecated version as a success-valued comma expression, such as; #define BN_zero(a) ((a)->top = (a)->neg = 0, 1) However, this evaluates 'a' twice and would confuse initialisation loops (eg. while(..) { BN_zero(bn++) } ). As such, the deprecated version continues to use BN_set_word().
-
Geoff Thorpe authored
change to work properly; BN_zero() should set 'neg' to zero as well as 'top' to match the behaviour of BN_new().
-
- 12 Mar, 2004 1 commit
-
-
Andy Polyakov authored
For reference. Note that both cc and gcc support -Wl flag, but we can't use -Wl,-[not]all with both drivers, because cc rearranges options passed through -Wl. We can't use -Wl,-all,libcrypto.a,-notall with cc either, because it refuses to start with "no input" error.
-
- 10 Mar, 2004 1 commit
-
-
Geoff Thorpe authored
-
- 09 Mar, 2004 2 commits
-
-
Geoff Thorpe authored
redefine bn_clear_top2max() to be a NOP in the non-debugging case, and remove some unnecessary usages in bn_nist.c. Submitted by: Nils Larsch Reviewed by: Geoff Thorpe, Ulf Möller
-
Geoff Thorpe authored
return a "zero" bignum as BN_new() does - so reset 'top'. During BN_CTX_end(), released bignums should be consistent so enforce this in debug builds. Also, reduce the number of wasted BN_clear_free() calls from BN_CTX_end() (typically by 75% or so). Submitted by: Nils Larsch Reviewed by: Geoff Thorpe, Ulf Möller
-
- 08 Mar, 2004 2 commits
-
-
Dr. Stephen Henson authored
-
Dr. Stephen Henson authored
-
- 06 Mar, 2004 1 commit
-
-
Ulf Möller authored
-
- 05 Mar, 2004 4 commits
-
-
Dr. Stephen Henson authored
-
Dr. Stephen Henson authored
-
Dr. Stephen Henson authored
-
Dr. Stephen Henson authored
when X509_V_FLAG_X509_STRICT is set. Check for CRLSign in CRL issuer certificates. Reject CRLs with unhandled (any) critical extensions.
-
- 04 Mar, 2004 2 commits
-
-
Dr. Stephen Henson authored
Reported by: Jose Castejon-Amenedo <Jose.Castejon-Amenedo@hp.com>
-
Richard Levitte authored
-
- 02 Mar, 2004 3 commits
-
-
Dr. Stephen Henson authored
-
Dr. Stephen Henson authored
-
Dr. Stephen Henson authored
-
- 01 Mar, 2004 3 commits
-
-
Dr. Stephen Henson authored
-
Richard Levitte authored
Notified by Paul Siegel <psiegel@corestreet.com>
-
Dr. Stephen Henson authored
-
- 27 Feb, 2004 2 commits
-
-
Geoff Thorpe authored
Submitted by: Nils Larsch
-
Richard Levitte authored
-
- 26 Feb, 2004 2 commits
-
-
Richard Levitte authored
PR: 833
-
Richard Levitte authored
PR: 834
-
- 22 Feb, 2004 2 commits
-
-
Geoff Thorpe authored
Submitted by: Nils Larsch Reviewed by: Geoff Thorpe
-
Geoff Thorpe authored
Submitted by: Nils Larsch Reviewed by: Geoff Thorpe
-
- 19 Feb, 2004 1 commit
-
-
Dr. Stephen Henson authored
The old raw format can't be handled by some implementations and updates to RFC2560 will make this mandatory.
-
- 10 Feb, 2004 1 commit
-
-
Geoff Thorpe authored
-
- 08 Feb, 2004 1 commit
-
-
Dr. Stephen Henson authored
If -offset exceeds -length of data available exit with an error. Don't read past end of total data available when -offset supplied. If -length exceeds total available truncate it.
-
- 07 Feb, 2004 1 commit
-
-
Andy Polyakov authored
PR: 821
-
- 01 Feb, 2004 1 commit
-
-
Dr. Stephen Henson authored
memory allocate when calling EVP_MD_CTX_copy_ex(). Without this HMAC is several times slower than < 0.9.7.
-
- 30 Jan, 2004 1 commit
-
-
Andy Polyakov authored
-
- 29 Jan, 2004 3 commits
-
-
Andy Polyakov authored
-
Richard Levitte authored
-
Richard Levitte authored
-