History log of /openssl/crypto/bn/bn_div.c (Results 51 – 75 of 87)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: BEN_FIPS_TEST_5, BEN_FIPS_TEST_4
# 9e989810 22-Nov-2003 Geoff Thorpe

BN_div() cleanup: replace the use of BN_sub and BN_add with bn_sub_words
and bn_add_words to avoid using fake bignums to window other bignums that
can lead to corruption. This change allows a

BN_div() cleanup: replace the use of BN_sub and BN_add with bn_sub_words
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

show more ...


# 5c0c2280 06-Nov-2003 Geoff Thorpe

Put more debug screening in BN_div() and correct a comment.


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


Revision tags: OpenSSL-engine-0_9_6l, OpenSSL_0_9_6l
# a9fd78f9 31-Oct-2003 Geoff Thorpe

bn_div() does some pretty nasty things with temporary variables,
constructing BIGNUM structures with pointers offset into other bignums
(among other things). This corrects some of it that is

bn_div() does some pretty nasty things with temporary variables,
constructing BIGNUM structures with pointers offset into other bignums
(among other things). This corrects some of it that is too plainly insane,
and tries to ensure that bignums are normalised when passed to other
functions.

show more ...


# c4db1a8b 30-Oct-2003 Geoff Thorpe

This fixes a couple of cases where an inconsistent BIGNUM could be passed as
input to a function.


Revision tags: BEN_FIPS_TEST_3, BEN_FIPS_TEST_2, BEN_FIPS_TEST_1, OpenSSL-engine-0_9_6k, OpenSSL_0_9_6k, OpenSSL_0_9_7c, OpenSSL-engine-0_9_6j, OpenSSL_0_9_7b, OpenSSL_0_9_6j, OpenSSL-engine-0_9_6i, OpenSSL_0_9_6i, OpenSSL_0_9_7a, OpenSSL_0_9_7
# 3c801fa4 20-Dec-2002 Richard Levitte

A little debugging.


Revision tags: OpenSSL_0_9_7-beta6
# 2f98abbc 14-Dec-2002 Andy Polyakov

x86_64 performance patch.


Revision tags: STATE_after_zlib, STATE_before_zlib, OpenSSL_0_9_7-beta5, OpenSSL-engine-0_9_6h, OpenSSL_0_9_6h, OpenSSL_0_9_7-beta4, OpenSSL-engine-0_9_6g, OpenSSL_0_9_6g, OpenSSL-engine-0_9_6f, OpenSSL_0_9_6f, OpenSSL_0_9_7-beta3, OpenSSL-engine-0_9_6e, OpenSSL_0_9_6e, OpenSSL_0_9_7-beta2, OpenSSL_0_9_7-beta1
# 9cdf87f1 30-May-2002 Richard Levitte

Check the return values where memory allocation failures may happen.
PR: 49


Revision tags: AFTER_COMPAQ_PATCH, BEFORE_COMPAQ_PATCH, OpenSSL-engine-0_9_6d, OpenSSL_0_9_6d, OpenSSL-engine-0_9_6d-beta1, OpenSSL_0_9_6d-beta1, OpenSSL-engine-0_9_6c, OpenSSL_0_9_6c
# 5dd955dc 14-Oct-2001 Ulf Möller

openbsd-x86 macros

Submitted by: Toomas Kiisk <vix@cyber.ee>


Revision tags: OpenSSL-engine-0_9_6b, OpenSSL_0_9_6b, OpenSSL_0_9_6a, OpenSSL-engine-0_9_6a, OpenSSL-engine-0_9_6a-beta3, OpenSSL_0_9_6a-beta3
# 500230ee 27-Mar-2001 Andy Polyakov

The IRIX fix. Asm recap and corresponding declation.

Submitted by:
Reviewed by:
PR:


Revision tags: OpenSSL-engine-0_9_6a-beta2, OpenSSL_0_9_6a-beta2, OpenSSL-engine-0_9_6a-beta1, OpenSSL_0_9_6a-beta1
# 3d2e469c 28-Feb-2001 Dr. Stephen Henson

Fix a bug which caused BN_div to produce the
wrong result if rm==num and num < 0.


# cf1b7d96 19-Feb-2001 Richard Levitte

Make all configuration macros available for application by making
sure they are available in opensslconf.h, by giving them names starting
with "OPENSSL_" to avoid conflicts with other package

Make all configuration macros available for application by making
sure they are available in opensslconf.h, by giving them names starting
with "OPENSSL_" to avoid conflicts with other packages and by making
sure e_os2.h will cover all platform-specific cases together with
opensslconf.h.

I've checked fairly well that nothing breaks with this (apart from
external software that will adapt if they have used something like
NO_KRB5), but I can't guarantee it completely, so a review of this
change would be a good thing.

show more ...


# 75802000 23-Jan-2001 Ulf Möller

There is no C version of bn_div_3_words


# 80d89e6a 07-Dec-2000 Bodo Möller

Sign-related fixes (and tests).

BN_mod_exp_mont does not work properly yet if modulus m
is negative (we want computations to be carried out
modulo |m|).


# 78a0c1f1 26-Nov-2000 Bodo Möller

modular arithmetics

"make update"


# 7f7b8d68 08-Nov-2000 Bodo Möller

BN_CTX-related fixes.


Revision tags: rsaref, BEFORE_engine, OpenSSL_0_9_6-beta2, OpenSSL_0_9_6-beta1, OpenSSL_0_9_6, OpenSSL-engine-0_9_6, OpenSSL-engine-0_9_6-beta3, OpenSSL_0_9_6-beta3, OpenSSL-engine-0_9_6-beta2, OpenSSL-engine-0_9_6-beta1
# 2d978cbd 04-Aug-2000 Dr. Stephen Henson

Changes needed for Tandem NSK, supplied by Scott Uroff (scott@xypro.com).

Fix warnings with BIO_dump_indent().


Revision tags: OpenSSL_0_9_5, OpenSSL_0_9_5a, OpenSSL_0_9_5a-beta2, OpenSSL_0_9_5a-beta1, OpenSSL_0_9_5beta2, OpenSSL_0_9_5beta1
# 89cee61b 15-Feb-2000 Andy Polyakov

New NO_INLINE_ASM macro. Primary target for the moment is Solaris x86
which can't stand GNU C assembler templates.


# 4a6222d7 06-Feb-2000 Ulf Möller

BN_div bugfix. The q-- loop should not be entered in the n0==d0 case.


# 9b141126 05-Feb-2000 Ulf Möller

New functions BN_CTX_start(), BN_CTX_get(), BN_CTX_end() to access
temporary BIGNUMs. BN_CTX still uses a fixed number of BIGNUMs, but
the BN_CTX implementation could now easily be changed.


# fb81ac5e 02-Feb-2000 Andy Polyakov

Support for "multiply high" instruction, see BN_UMULT_HIGH comment in
crypto/bn/bn_lcl.h for further details. It should be noted that for
the moment of this writing the code was tested only o

Support for "multiply high" instruction, see BN_UMULT_HIGH comment in
crypto/bn/bn_lcl.h for further details. It should be noted that for
the moment of this writing the code was tested only on Alpha. If
compiled with DEC C the C implementation exhibits 12% performance
improvement over the crypto/bn/asm/alpha.s (on EV56 box running
AlphaLinux). GNU C is (unfortunately) 8% behind the assembler
implementation. But it's OpenVMS Alpha users who *may* benefit most
as 'apps/openssl speed rsa' exhibits 6 (six) times performance
improvement over the original VMS bignum implementation. Where "*may*"
means "as soon as code is enabled though #define SIXTY_FOUR_BIT and
crypto/bn/asm/vms.mar is skipped."

show more ...


# 0bde1089 01-Feb-2000 Ulf Möller

match the prototype


# cb5b7850 01-Feb-2000 Bodo Möller

If n0 == d0, we must alway compute 'rem' "by hand"


# fe7cd164 01-Feb-2000 Bodo Möller

Typo in preprocessor symbol.


# 3b14cb71 14-Dec-1999 Ulf Möller

Solaris x86 assembler problem is already addressed in ./config
(bug reports keep coming in because that was still missing in 0.9.4)


1234