History log of /openssl/crypto/bn/bn_mont.c (Results 51 – 75 of 108)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OpenSSL_1_0_0d, OpenSSL_0_9_8r
# 7edfe674 27-Jan-2011 Dr. Stephen Henson

Move all FIPSAPI renames into fips.h header file, include early in
crypto.h if needed.

Modify source tree to handle change.


# aa87945f 27-Jan-2011 Dr. Stephen Henson

Update source files to handle new FIPS_lock() location. Add FIPS_lock()
definition. Remove stale function references from fips.h


# 7c8ced94 27-Jan-2011 Dr. Stephen Henson

Change OPENSSL_FIPSEVP to OPENSSL_FIPSAPI as it doesn't just refer
to EVP any more.

Move locking #define into fips.h.

Set FIPS locking callbacks at same time as OpenSSL locking

Change OPENSSL_FIPSEVP to OPENSSL_FIPSAPI as it doesn't just refer
to EVP any more.

Move locking #define into fips.h.

Set FIPS locking callbacks at same time as OpenSSL locking callbacks.

show more ...


# a27de7b7 27-Jan-2011 Dr. Stephen Henson

use FIPSEVP in some bn and rsa files


Revision tags: OpenSSL_0_9_8q, OpenSSL_1_0_0c, OpenSSL_0_9_8p, OpenSSL_1_0_0b, OpenSSL_0_9_8o, OpenSSL_1_0_0a, OpenSSL_1_0_0, OpenSSL_0_9_8n, OpenSSL_0_9_8m, OpenSSL_0_9_8m-beta1, OpenSSL_1_0_0-beta5, OpenSSL_1_0_0-beta4, OpenSSL_0_9_8l, OpenSSL_1_0_0-beta3, OpenSSL_1_0_0-beta2, OpenSSL_1_0_0-beta1, OpenSSL_0_9_8k, OpenSSL_0_9_8j, OpenSSL_0_9_8i, OpenSSL_0_9_8h
# fabe640f 02-May-2008 Bodo Möller

Clarifying comment.


# d05a4745 01-May-2008 Bodo Möller

Montgomery-related minor cleanups/documentation


# 7c9882eb 27-Feb-2008 Bodo Möller

fix BIGNUM flag handling


Revision tags: OpenSSL_0_9_8g, OpenSSL_0_9_8f, FIPS_098_TEST_8, FIPS_098_TEST_7
# 08b229e1 18-Sep-2007 Bodo Möller

Make sure that BN_from_montgomery keeps the BIGNUMS in proper format


Revision tags: FIPS_098_TEST_6, FIPS_098_TEST_5, FIPS_098_TEST_4, FIPS_098_TEST_3, FIPS_098_TEST_2, FIPS_098_TEST_1
# 673c55a2 29-Jun-2007 Andy Polyakov

Latest bn_mont.c modification broke ECDSA test. I've got math wrong, which
is fixed now.


# c693b5a5 11-Jun-2007 Andy Polyakov

Commentary updates and minor optimization for bn_mont.c.


# 6b6443de 10-Jun-2007 Andy Polyakov

Eliminate conditional final subtraction in Montgomery multiplication.


Revision tags: OpenSSL_0_9_7m, OpenSSL_0_9_8e, OpenSSL_0_9_7l, OpenSSL_0_9_8d, OpenSSL_0_9_8c, OpenSSL_0_9_7k
# 4584ecce 16-Jun-2006 Bodo Möller

another thread-safety fix


# 675f605d 14-Jun-2006 Bodo Möller

Thread-safety fixes


Revision tags: OpenSSL_0_9_7j, OpenSSL_0_9_8b, OpenSSL_FIPS_1_0
# d6a03a23 11-Nov-2005 Dr. Stephen Henson

Update from stable branch.


# c2012f9b 22-Oct-2005 Andy Polyakov

Eliminate gcc warning in bn_mont.c.


# 4d524040 22-Oct-2005 Andy Polyakov

Change bn_mul_mont declaration and BN_MONT_CTX. Update CHANGES.


Revision tags: OpenSSL_0_9_7i, OpenSSL_0_9_8a, OpenSSL_0_9_7h
# 9b4eab50 06-Oct-2005 Andy Polyakov

Refine logic in bn_mont.c and eliminate redundant BN_CTX pulls.


# ca04d7a2 06-Oct-2005 Andy Polyakov

Leave the decision to call/implement bn_sqr_mont to assembler developer.


# e7382805 04-Oct-2005 Andy Polyakov

Add reference implementation for bn_[mul|sqr]_mont, new candidates for
assembler implementation.


# 17a2994d 21-Jul-2005 Nils Larsch

set correct bn->top value


Revision tags: OpenSSL_0_9_8, FIPS_TEST_10, OpenSSL_0_9_8-beta6, OpenSSL_0_9_8-beta5, FIPS_TEST_9, OpenSSL_0_9_8-beta4, OpenSSL_0_9_8-beta3, BEN_FIPS_TEST_8, OpenSSL_0_9_8-beta2, OpenSSL_0_9_8-beta1
# 6ec8e63a 26-Apr-2005 Dr. Stephen Henson

Port BN_MONT_CTX_set_locked() from stable branch.

The function rsa_eay_mont_helper() has been removed because it is no longer
needed after this change.


Revision tags: OpenSSL_0_9_7g, OpenSSL_0_9_7f, BEN_FIPS_TEST_7, BEN_FIPS_TEST_6
# a0e7c8ee 05-Dec-2004 Dr. Stephen Henson

Add lots of checks for memory allocation failure, error codes to indicate
failure and freeing up memory if a failure occurs.

PR:620


Revision tags: OpenSSL_0_9_7e
# c86f2054 25-Mar-2004 Geoff Thorpe

Adjust various bignum functions to use BN_CTX for variables instead of
locally initialising their own.

NB: I've removed the "BN_clear_free()" loops for the exit-paths in some of
thes

Adjust various bignum functions to use BN_CTX for variables instead of
locally initialising their own.

NB: I've removed the "BN_clear_free()" loops for the exit-paths in some of
these functions, and that may be a major part of the performance
improvements we're seeing. The "free" part can be removed because we're
using BN_CTX. The "clear" part OTOH can be removed because BN_CTX
destruction automatically performs this task, so performing it inside
functions that may be called repeatedly is wasteful. This is currently safe
within openssl due to the fact that BN_CTX objects are never created for
longer than a single high-level operation. However, that is only because
there's currently no mechanism in openssl for thread-local storage. Beyond
that, this might be an issue for applications using the bignum API directly
and caching their own BN_CTX objects. The solution is to introduce a flag
to BN_CTX_start() that allows its variables to be automatically sanitised
on release during BN_CTX_end(). This way any higher-level function (and
perhaps the application) can specify this flag in its own
BN_CTX_start()/BN_CTX_end() pair, and this will cause inner-loop functions
specifying the flag to be ignored so that sanitisation is handled only once
back out at the higher level. I will be implementing this in the near
future.

show more ...


Revision tags: OpenSSL_0_9_7d, OpenSSL-engine-0_9_6m, OpenSSL_0_9_6m, LEVITTE_after_const, LEVITTE_before_const
# b6358c89 13-Mar-2004 Geoff Thorpe

Convert openssl code not to assume the deprecated form of BN_zero().

Remove certain redundant BN_zero() initialisations, because BN_CTX_get(),
BN_init(), [etc] already initialise to zero

Convert openssl code not to assume the deprecated form of BN_zero().

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).

show more ...


Revision tags: BEN_FIPS_TEST_5, BEN_FIPS_TEST_4
# d870740c 04-Nov-2003 Geoff Thorpe

Put the first stage of my bignum debugging adventures into CVS. This code
is itself experimental, and in addition may cause execution to break on
existing openssl "bugs" that previously were

Put the first stage of my bignum debugging adventures into CVS. This code
is itself experimental, and in addition may cause execution to break on
existing openssl "bugs" that previously were harmless or at least
invisible.

show more ...


12345