- 19 8月, 2014 1 次提交
-
-
由 Doug Goldstein 提交于
Several files #include stdio.h and don't need it. Also, per tjh, remove BN_COUNT Reviewed-by: NEmilia Kasper <emilia@openssl.org>
-
- 14 7月, 2014 1 次提交
-
-
由 Matt Caswell 提交于
This is actually ok for this function, but initialised to zero anyway if PURIFY defined. This does have the impact of masking any *real* unitialised data reads in bn though. Patch based on approach suggested by Rich Salz. PR#3415
-
- 28 3月, 2014 1 次提交
-
-
由 Dr. Stephen Henson 提交于
Add functions to return the "bits of security" for various public key algorithms. Based on SP800-57.
-
- 12 3月, 2014 1 次提交
-
-
由 Dr. Stephen Henson 提交于
Fix for the attack described in the paper "Recovering OpenSSL ECDSA Nonces Using the FLUSH+RELOAD Cache Side-channel Attack" by Yuval Yarom and Naomi Benger. Details can be obtained from: http://eprint.iacr.org/2014/140 Thanks to Yuval Yarom and Naomi Benger for discovering this flaw and to Yuval Yarom for supplying a fix. (cherry picked from commit 2198be3483259de374f91e57d247d0fc667aef29) Conflicts: CHANGES
-
- 15 9月, 2011 1 次提交
-
-
由 Andy Polyakov 提交于
-
- 28 1月, 2011 2 次提交
-
-
由 Dr. Stephen Henson 提交于
crypto.h if needed. Modify source tree to handle change.
-
由 Dr. Stephen Henson 提交于
OpenSSL malloc dependencies.
-
- 26 1月, 2011 1 次提交
-
-
由 Dr. Stephen Henson 提交于
routines from bn_lib.c
-
- 29 12月, 2008 2 次提交
-
-
由 Andy Polyakov 提交于
-
由 Andy Polyakov 提交于
-
- 12 11月, 2008 1 次提交
-
-
由 Geoff Thorpe 提交于
knock-on work than expected - they've been extracted into a patch series that can be completed elsewhere, or in a different branch, before merging back to HEAD.
-
- 01 11月, 2008 1 次提交
-
-
由 Ben Laurie 提交于
-
- 28 10月, 2008 1 次提交
-
-
由 Andy Polyakov 提交于
-
- 28 3月, 2007 1 次提交
-
-
由 Bodo Möller 提交于
Submitted by: Matthew D Wood Reviewed by: Bodo Moeller
-
- 21 1月, 2007 1 次提交
-
-
由 Dr. Stephen Henson 提交于
-
- 16 12月, 2005 1 次提交
-
-
http://cvs.openssl.org/chngview?cn=14690由 Andy Polyakov 提交于
keep disclaiming narrower than 32-bit support.
-
- 04 5月, 2005 1 次提交
-
-
由 Nils Larsch 提交于
useful anyway
-
- 23 4月, 2005 1 次提交
-
-
由 Nils Larsch 提交于
and BN_get_sign - implement BN_set_negative as a function - always use "#define BN_is_zero(a) ((a)->top == 0)"
-
- 20 6月, 2004 1 次提交
-
-
由 Geoff Thorpe 提交于
- Remove unused and unuseful debug cruft. - Remove unnecessary 'top' fudging from BN_copy(). - Fix a potential memory leak and simplify the expansion logic in BN_bin2bn(). Submitted by: Nils Larsch Reviewed by: Geoff Thorpe
-
- 18 6月, 2004 3 次提交
-
-
由 Geoff Thorpe 提交于
-
由 Geoff Thorpe 提交于
-
由 Geoff Thorpe 提交于
Yet another question: some time ago you changed BN_set_word. Why didn't you change BN_get_word as well? Quite. I'm also removing the older commented-out implementations to improve readability. This complex stuff seems to date from a time when the types didn't match up well. Submitted by: Nils Larsch, Geoff Thorpe
-
- 18 3月, 2004 1 次提交
-
-
由 Geoff Thorpe 提交于
- Remove some unnecessary "+1"-like fudges. Sizes should be handled exactly, as enlarging size parameters causes needless bloat and may just make bugs less likely rather than fixing them: bn_expand() macro, bn_expand_internal(), and BN_sqr(). - Deprecate bn_dup_expand() - it's new since 0.9.7, unused, and not that useful. - Remove unnecessary zeroing of unused bytes in bn_expand2(). - Rewrite BN_set_word() - it should be much simpler, the previous complexities probably date from old mismatched type issues. - Add missing bn_check_top() macros in bn_word.c - Improve some degenerate case handling in BN_[add|sub]_word(), add comments, and avoid a bignum expansion if an overflow isn't possible.
-
- 27 12月, 2003 1 次提交
-
-
由 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>
-
- 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 2 次提交
-
-
由 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 提交于
-
- 30 11月, 2003 1 次提交
-
-
由 Geoff Thorpe 提交于
functions.
-
- 15 11月, 2003 1 次提交
-
-
由 Ulf Möller 提交于
Keep it as is to avoid an API change, but check for negativ values. Submitted by: Nils Larsch
-
- 06 11月, 2003 1 次提交
-
-
由 Geoff Thorpe 提交于
constant BIGNUMs. It turns out that this trips up different but equally useful compiler warnings to -Wcast-qual, and so wasn't worth the ugliness it created. (Thanks to Ulf for the forehead-slap.)
-
- 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.
-
- 04 11月, 2003 1 次提交
-
-
由 Geoff Thorpe 提交于
and structures as constant without having to cast away const at any point. There is still plenty of other code that makes gcc's "-Wcast-qual" unhappy, but crypto/bn/ is now ok. Purists are welcome to suggest alternatives.
-
- 30 10月, 2003 2 次提交
-
-
由 Geoff Thorpe 提交于
structures being passed in to or out of API functions, and this corrects a couple of cases found so far. Also, lop off a couple of bytes of white-space.
-
由 Geoff Thorpe 提交于
I have tried to convert 'len' type variable declarations to unsigned as a means to address these warnings when appropriate, but when in doubt I have used casts in the comparisons instead. The better solution (that would get us all lynched by API users) would be to go through and convert all the function prototypes and structure definitions to use unsigned variables except when signed is necessary. The proliferation of (signed) "int" for strictly non-negative uses is unfortunate.
-
- 29 11月, 2002 1 次提交
-
-
由 Richard Levitte 提交于
I *think* I got them all covered by now, bu please, if you find any more, tell me and I'll correct it. PR: 343
-
- 28 10月, 2002 1 次提交
-
-
由 Bodo Möller 提交于
Submitted by: Nils Larsch
-
- 04 8月, 2002 1 次提交
-
-
由 Bodo Möller 提交于
-
- 03 8月, 2002 1 次提交
-
-
由 Bodo Möller 提交于
-
- 25 7月, 2002 1 次提交
-
-
由 Bodo Möller 提交于
happens reliably, even if the BIGNUM is already sufficiently large. [Note that the bn_expand()/bn_wexpand() macros call bn_expand2() only if the BIGNUM actually has to grow, so this change does not add any new overhead as currently bn_expand2() is never called directly.]
-
- 08 3月, 2001 1 次提交
-
-
由 Bodo Möller 提交于
-