- 14 3月, 2004 3 次提交
-
-
由 Geoff Thorpe 提交于
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 提交于
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 提交于
change to work properly; BN_zero() should set 'neg' to zero as well as 'top' to match the behaviour of BN_new().
-
- 10 3月, 2004 1 次提交
-
-
由 Geoff Thorpe 提交于
-
- 09 3月, 2004 3 次提交
-
-
由 Geoff Thorpe 提交于
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 提交于
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
-
由 Dr. Stephen Henson 提交于
-
- 08 3月, 2004 1 次提交
-
-
由 Dr. Stephen Henson 提交于
-
- 06 3月, 2004 3 次提交
-
-
由 Dr. Stephen Henson 提交于
-
由 Dr. Stephen Henson 提交于
-
由 Dr. Stephen Henson 提交于
when X509_V_FLAG_X509_STRICT is set. Check for CRLSign in CRL issuer certificates. Reject CRLs with unhandled (any) critical extensions.
-
- 05 3月, 2004 1 次提交
-
-
由 Dr. Stephen Henson 提交于
Reported by: Jose Castejon-Amenedo <Jose.Castejon-Amenedo@hp.com>
-
- 01 3月, 2004 1 次提交
-
-
由 Richard Levitte 提交于
Notified by Paul Siegel <psiegel@corestreet.com>
-
- 27 2月, 2004 1 次提交
-
-
由 Richard Levitte 提交于
PR: 833
-
- 23 2月, 2004 2 次提交
-
-
由 Geoff Thorpe 提交于
Submitted by: Nils Larsch Reviewed by: Geoff Thorpe
-
由 Geoff Thorpe 提交于
Submitted by: Nils Larsch Reviewed by: Geoff Thorpe
-
- 20 2月, 2004 1 次提交
-
-
由 Dr. Stephen Henson 提交于
The old raw format can't be handled by some implementations and updates to RFC2560 will make this mandatory.
-
- 11 2月, 2004 1 次提交
-
-
由 Geoff Thorpe 提交于
-
- 07 2月, 2004 1 次提交
-
-
由 Andy Polyakov 提交于
PR: 821
-
- 01 2月, 2004 1 次提交
-
-
由 Dr. Stephen Henson 提交于
memory allocate when calling EVP_MD_CTX_copy_ex(). Without this HMAC is several times slower than < 0.9.7.
-
- 30 1月, 2004 2 次提交
-
-
由 Andy Polyakov 提交于
-
由 Andy Polyakov 提交于
-
- 29 1月, 2004 4 次提交
-
-
由 Richard Levitte 提交于
-
由 Richard Levitte 提交于
-
由 Richard Levitte 提交于
Add the corresponding AES parts while I'm at it. make update
-
由 Richard Levitte 提交于
-
- 28 1月, 2004 3 次提交
-
-
由 Richard Levitte 提交于
-
由 Andy Polyakov 提交于
_POSIX_C_SOURCE needed in first place.
-
由 Andy Polyakov 提交于
-
- 27 1月, 2004 2 次提交
-
-
由 Richard Levitte 提交于
Windows).
-
由 Richard Levitte 提交于
let's check for those macros, and if they aren't defined, let's assume there aren't Unixly devices on this platform.
-
- 25 1月, 2004 2 次提交
-
-
由 Andy Polyakov 提交于
automatically to accomodate the value, some compilers fail to do so. Most notably 0x0123456789ABCDEF should come out as long long in 32-bit context, but HP compiler truncates it to 32-bit value. Which in turn breaks GF(2^m) arithmetics in hpux-parisc2-cc build. Therefore this fix...
-
由 Andy Polyakov 提交于
-
- 24 1月, 2004 1 次提交
-
-
由 Richard Levitte 提交于
-
- 23 1月, 2004 1 次提交
-
-
由 Richard Levitte 提交于
-
- 21 1月, 2004 1 次提交
-
-
由 Andy Polyakov 提交于
-
- 11 1月, 2004 1 次提交
-
-
由 Richard Levitte 提交于
VMS. The C RTL can handle it well if the "directory" is a logical name with no colon, therefore ending being 'logname/file'. However, if the given logical names actually has a colon, or if you use a full VMS-syntax directory, you end up with 'logname:/file' or 'dev:[dir1.dir2]/file', and that isn't handled in any good way. So, on VMS, we need to check if the directory string ends with a separator (one of ':', ']' or '>' (< and > can be used instead [ and ])), and handle that by not inserting anything between the directory spec and the file name. In all other cases, it's assumed the directory spec is a logical name, so we need to place a colon between it and the file. Notified by Kevin Greaney <kevin.greaney@hp.com>.
-
- 05 1月, 2004 1 次提交
-
-
由 Lutz Jänicke 提交于
Submitted by: Gertjan van Oosten <gertjan@West.NL> PR: #804
-
- 28 12月, 2003 2 次提交
-
-
由 Richard Levitte 提交于
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
-
由 Richard Levitte 提交于
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
-