- 09 3月, 2004 1 次提交
-
-
由 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
-
- 05 11月, 2003 1 次提交
-
-
由 Geoff Thorpe 提交于
is itself experimental, and in addition may cause execution to break on existing openssl "bugs" that previously were harmless or at least invisible.
-
- 30 10月, 2003 2 次提交
-
-
由 Geoff Thorpe 提交于
left in an inconsistent state when they are released for later reuse. This change resets the BIGNUMs when they are released back to the context.
-
由 Geoff Thorpe 提交于
except internally to the allocator BN_CTX_new(), as such this deprecates the use of BN_CTX_init() in the API. Moreover, the structure definition of BN_CTX is taken out of bn_lcl.h and moved into bn_ctx.c itself. NDEBUG should probably only be "forced" in the top-level configuration, but until it is I will avoid removing it from bn_ctx.c which might surprise people with massive slow-downs in their keygens. So I've left it in bn_ctx.c but tidied up the preprocessor logic a touch and made it more tolerant of debugging efforts.
-
- 08 3月, 2001 1 次提交
-
-
由 Bodo Möller 提交于
Incease the number of BIGNUMs in a BN_CTX.
-
- 08 11月, 2000 1 次提交
-
-
由 Bodo Möller 提交于
-
- 02 6月, 2000 1 次提交
-
-
由 Richard Levitte 提交于
like Malloc, Realloc and especially Free conflict with already existing names on some operating systems or other packages. That is reason enough to change the names of the OpenSSL memory allocation macros to something that has a better chance of being unique, like prepending them with OPENSSL_. This change includes all the name changes needed throughout all C files.
-
- 06 2月, 2000 3 次提交
-
-
由 Ulf Möller 提交于
-
由 Bodo Möller 提交于
and initialize too_many because memset(..., 0, ...) is not used here.
-
由 Bodo Möller 提交于
Avoid enabled 'assert()' in production library.
-
- 05 2月, 2000 2 次提交
-
-
由 Ulf Möller 提交于
temporary BIGNUMs. BN_CTX still uses a fixed number of BIGNUMs, but the BN_CTX implementation could now easily be changed.
-
由 Ulf Möller 提交于
used anywhere in OpenSSL, but might be used by libdes applications.
-
- 04 12月, 1999 1 次提交
-
-
由 Bodo Möller 提交于
Never use des_set_key (it depends on the global variable des_check_key), but usually des_set_key_unchecked. Only destest.c bothered to look at the return values of des_set_key, but it did not set des_check_key -- if it had done so, most checks would have failed because of wrong parity and because of weak keys.
-
- 16 5月, 1999 1 次提交
-
-
由 Bodo Möller 提交于
(meaning pointer to char) to des_cblock * (meaning pointer to array with 8 char elements), which allows the compiler to do more typechecking. (The changed argument types were of type des_cblock * back in SSLeay, and a lot of ugly casts were used then to turn them into pointers to elements; but it can be done without those casts.) Introduce new type const_des_cblock -- before, the pointers rather than the elements pointed to were declared const, and for some reason gcc did not complain about this (but some other compilers did).
-
- 20 4月, 1999 1 次提交
-
-
由 Ulf Möller 提交于
-
- 14 2月, 1999 1 次提交
-
-
由 Ben Laurie 提交于
-
- 21 12月, 1998 2 次提交
-
-
由 Ralf S. Engelschall 提交于
-
由 Ralf S. Engelschall 提交于
-