- 27 12月, 2003 3 次提交
-
-
由 Richard Levitte 提交于
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
-
由 Richard Levitte 提交于
-
由 Richard Levitte 提交于
Use BUF_strlcat() instead of strcat(). Use BIO_snprintf() instead of sprintf(). In some cases, keep better track of buffer lengths. This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
-
- 12 12月, 2003 1 次提交
-
-
由 Richard Levitte 提交于
not the size of the integer used to index in said buffer. PR: 794 Notified by: Rhett Garber <rhett_garber@hp.com>
-
- 06 12月, 2003 3 次提交
-
-
由 Ulf Möller 提交于
Submitted by: Nils Larsch
-
由 Ulf Möller 提交于
Submitted by: Nils Larsch
-
由 Ulf Möller 提交于
Submitted by: Nils Larsch
-
- 04 12月, 2003 1 次提交
-
-
由 Lutz Jänicke 提交于
Submitted by: Witold Filipczyk <witekfl@poczta.gazeta.pl> PR: #513
-
- 03 12月, 2003 1 次提交
-
-
由 Geoff Thorpe 提交于
- Add missing bn_check_top() calls and relocate some others - Use BN_is_zero() where appropriate - Remove assert()s that bn_check_top() is already covering - Simplify the code in places (esp. bn_expand2()) - Only keep ambiguous zero handling if BN_STRICT isn't defined - Remove some white-space and make some other aesthetic tweaks
-
- 02 12月, 2003 7 次提交
-
-
由 Geoff Thorpe 提交于
the same thing. Also, I have some stuff on the back-burner related to some BN_CTX notes from Peter Gutmann about his cryptlib hacks to the bignum code. The BN_CTX comments are there to remind me of some relevant points in the code.
-
由 Geoff Thorpe 提交于
once in the source (where it is set for the benefit of no other code whatsoever). I've deprecated the declaration in the header and likewise made the use of the flag conditional in bn_lib.c. Note, this change also NULLs the 'd' pointer in a BIGNUM when it is reset but not deallocated.
-
由 Geoff Thorpe 提交于
-
由 Geoff Thorpe 提交于
white-space, and include extra headers to satisfy debugging builds.
-
由 Geoff Thorpe 提交于
white-space.
-
由 Geoff Thorpe 提交于
which, in turn, are used nowhere at all. This is a good thing because bn_set_max() would currently generate code that wouldn't compile (BIGNUM has no 'max' element). The only apparent use for bn_set_[low|high] would be for implementing windowing algorithms, and all of openssl's seem to use bn_***_words() helpers instead (including the BN_div() that Nils fixed recently, which had been using independently-coded versions of what these unused macros are intended for). I'm therefore consigning these macros to cvs oblivion in the name of readability.
-
由 Geoff Thorpe 提交于
bn_correct_top() or bn_check_top() depending on debug settings. For internal source, all bn_fix_top()s should be converted one way or the other depending on whether the use of bn_correct_top() is justified. For BN_div_recp(), these cases should not require correction if the other bignum functions are doing their jobs properly, so convert to bn_check_top().
-
- 01 12月, 2003 8 次提交
-
-
由 Richard Levitte 提交于
ty to allocate anything at all. This will allow eNULL to still work. PR: 751 Notified by: Lutz Jaenicke
-
由 Richard Levitte 提交于
PR: 751 Notified by: meder@mcs.anl.gov Reviewed by: Lutz Jaenicke, Richard Levitte
-
由 Richard Levitte 提交于
if the give size is 0. This is a thought that came up in PR 751.
-
由 Lutz Jänicke 提交于
PR: #735 Submitted by: Tim Rice <tim@multitalents.net>
-
由 Geoff Thorpe 提交于
this and a few other changes.
-
由 Geoff Thorpe 提交于
(ie. where top may be zero, or it may be one if the corresponding word is set to zero). Note, this only affects the macros in bn.h, there are probably similar corrections required in some c files. Also, clarify the audit-related macros at the top of the header. Mental note: I must not forget to clean all this out before 0.9.8 is released ...
-
由 Geoff Thorpe 提交于
tolerance of ambiguous zero-representation, it just improves BN_abs_is_word() and simplifies other macros that depend on it.
-
由 Geoff Thorpe 提交于
pseudo-random data for each bn_pollute().
-
- 30 11月, 2003 1 次提交
-
-
由 Geoff Thorpe 提交于
functions.
-
- 29 11月, 2003 5 次提交
-
-
由 Richard Levitte 提交于
Therefore, change all instances of the symbol 'list' to something else. PR: 758 Submitted by: Frédéric Giudicelli <groups@newpki.org>
-
由 Richard Levitte 提交于
PR: 768 Submitted by: Vadim Fedukovich <vf@unity.net>
-
由 Richard Levitte 提交于
that gets built before objects barfs all over the place because it uses a new NID that hasn't had a chance of getting defined yet (in this case, it was about a couple of new EC curves, and therefore a couple of new corresponding NIDs). I'm placing objects first in SDIRS! There.
-
由 Richard Levitte 提交于
PR: 771 Submitted by: c zhang <czhang2005@hotmail.com>
-
由 Geoff Thorpe 提交于
-
- 28 11月, 2003 1 次提交
-
-
由 Richard Levitte 提交于
PR: 780 Submitted by: Verdon Walker <VWalker@novell.com> Reviewed by: Richard Levitte
-
- 26 11月, 2003 2 次提交
-
-
由 Geoff Thorpe 提交于
against inconsistent BIGNUMs coming out of any of its API functions. So this change no longer "fixes" the bn_print.c functions, but it makes for cleaner code. This patch was a part of ticket 697. PR: 697 Submitted by: Otto Moerbeek Reviewed by: Geoff Thorpe
-
由 Geoff Thorpe 提交于
ticket 697 (though uses a different solution than the proposed one). This problem was initially raised by Otto Moerbeek. PR: 697 Submitted by: Nils Larsch Reviewed by: Geoff Thorpe
-
- 25 11月, 2003 2 次提交
-
-
由 Geoff Thorpe 提交于
optimizations. Submitted by: Nils Larsch
-
由 Lutz Jänicke 提交于
PR: #778 Submitted by: George Mitchell <george@m5p.com>
-
- 23 11月, 2003 1 次提交
-
-
由 Geoff Thorpe 提交于
and bn_add_words to avoid using fake bignums to window other bignums that can lead to corruption. This change allows all bignum tests to pass with BN_DEBUG and BN_DEBUG_RAND debugging and valgrind. NB: This should be tested on a few different architectures and configuration targets, as the bignum code this deals with is quite preprocessor (and assembly) sensitive. Submitted by: Nils Narsch Reviewed by: Geoff Thorpe, Ulf Moeller
-
- 22 11月, 2003 1 次提交
-
-
由 Geoff Thorpe 提交于
sure the current length is used to calculate the new buffer length instead of using the old length (prior to any variable substitution). Submitted by: Nils Larsch
-
- 21 11月, 2003 1 次提交
-
-
由 Dr. Stephen Henson 提交于
Max req -x509 use V1 if extensions section absent.
-
- 17 11月, 2003 1 次提交
-
-
由 Ulf Möller 提交于
which is used by BN_DEBUG_RAND Submitted by: Nils Larsch
-
- 16 11月, 2003 1 次提交
-
-
由 Lutz Jänicke 提交于
Submitted by: Tim Rice <tim@multitalents.net> PR: #735, #765
-