- 08 12月, 2002 6 次提交
-
-
由 Geoff Thorpe 提交于
key-generation and prime-checking functions. Rather than explicitly passing callback functions and caller-defined context data for the callbacks, a new structure BN_GENCB is defined that encapsulates this; a pointer to the structure is passed to all such functions instead. This wrapper structure allows the encapsulation of "old" and "new" style callbacks - "new" callbacks return a boolean result on the understanding that returning FALSE should terminate keygen/primality processing. The BN_GENCB abstraction will allow future callback modifications without needing to break binary compatibility nor change the API function prototypes. The new API functions have been given names ending in "_ex" and the old functions are implemented as wrappers to the new ones. The OPENSSL_NO_DEPRECATED symbol has been introduced so that, if defined, declaration of the older functions will be skipped. NB: Some openssl-internal code will stick with the older callbacks for now, so appropriate "#undef" logic will be put in place - this is in case the user is *building* openssl (rather than *including* its headers) with this symbol defined. There is another change in the new _ex functions; the key-generation functions do not return key structures but operate on structures passed by the caller, the return value is a boolean. This will allow for a smoother transition to having key-generation as "virtual function" in the various ***_METHOD tables.
-
由 Geoff Thorpe 提交于
-
由 Richard Levitte 提交于
ZLIB a known compression method, with the identity 1.
-
由 Richard Levitte 提交于
stateless variant is kept, but isn't used anywhere.
-
由 Richard Levitte 提交于
-
由 Richard Levitte 提交于
-
- 07 12月, 2002 1 次提交
-
-
由 Andy Polyakov 提交于
Submitted by: <appro> Reviewed by: PR:
-
- 06 12月, 2002 7 次提交
-
-
由 Richard Levitte 提交于
anything.
-
由 Richard Levitte 提交于
compatible, don't use ==, use = instead...
-
由 Richard Levitte 提交于
-
由 Richard Levitte 提交于
-
由 Richard Levitte 提交于
-
由 Richard Levitte 提交于
a first alternative to try
-
由 Richard Levitte 提交于
-
- 05 12月, 2002 14 次提交
-
-
由 Andy Polyakov 提交于
Submitted by: Reviewed by: PR:
-
由 Richard Levitte 提交于
-
由 Richard Levitte 提交于
-
由 Richard Levitte 提交于
-
由 Richard Levitte 提交于
PR: 380
-
由 Richard Levitte 提交于
PR: 376
-
由 Richard Levitte 提交于
well to be able to use the CHIL engine. PR: 281
-
由 Richard Levitte 提交于
-
由 Richard Levitte 提交于
PR: 381
-
由 Richard Levitte 提交于
rule for SHA stuff. PR: 381
-
由 Richard Levitte 提交于
PR: 379
-
由 Richard Levitte 提交于
-
由 Bodo Möller 提交于
(length of the order of the group, not length of the actual key, which will be shorter in some cases). Submitted by: Nils Larsch
-
由 Bodo Möller 提交于
Include X9.62 signature examples. Submitted by: Nils Larsch
-
- 04 12月, 2002 9 次提交
-
-
由 Lutz Jänicke 提交于
Submitted by: Christian Hohnstaedt <chohnstaedt@innominate.com> Reviewed by: PR:
-
由 Richard Levitte 提交于
PR: 347
-
由 Richard Levitte 提交于
PR: 348
-
由 Richard Levitte 提交于
PR: 375
-
由 Dr. Stephen Henson 提交于
Make ASN1_TYPE_get() work for V_ASN1_NULL type.
-
由 Dr. Stephen Henson 提交于
-
由 Dr. Stephen Henson 提交于
return the requested number of bytes when reading content.
-
由 Richard Levitte 提交于
exit() in whatever way works for the intended platform, and define OPENSSL_EXIT() to have the old meaning (the name is of course because it's only used in the openssl program)
-
由 Richard Levitte 提交于
-
- 03 12月, 2002 3 次提交
-
-
由 Richard Levitte 提交于
-
由 Richard Levitte 提交于
gets defined). PR: 371
-
由 Richard Levitte 提交于
the divisor was a bit more complex than I first saw. The lost bit can't just be discarded, as there are cases where it is important. For example, look at dividing 320000 with 80000 vs. 80001 (all decimals), the difference is crucial. The trick here is to check if that lost bit was 1, and in that case, do the following: 1. subtract the quotient from the remainder 2. as long as the remainder is negative, add the divisor (the whole divisor, not the shofted down copy) to it, and decrease the quotient by one. There's probably a nice mathematical proof for this already, but I won't bother with that, unless someone requests it from me.
-