History log of /openssl/crypto/bn/bn_rand.c (Results 76 – 90 of 90)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 39525845 08-Feb-2001 Bodo Möller

Change comments. (The expected number of iterations in BN_rand_range
never exceeds 1.333...).


# a5d2acfc 08-Feb-2001 Bodo Möller

oops -- remove observation code


# 35ed8cb8 08-Feb-2001 Bodo Möller

Integrate my implementation of a countermeasure against
Bleichenbacher's DSA attack. With this implementation, the expected
number of iterations never exceeds 2.

New semantics for B

Integrate my implementation of a countermeasure against
Bleichenbacher's DSA attack. With this implementation, the expected
number of iterations never exceeds 2.

New semantics for BN_rand_range():
BN_rand_range(r, min, range) now generates r such that
min <= r < min+range.
(Previously, BN_rand_range(r, min, max) generated r such that
min <= r < max.
It is more convenient to have the range; also the previous
prototype was misleading because max was larger than
the actual maximum.)

show more ...


# 57e7d3ce 07-Feb-2001 Ulf Möller

Bleichenbacher's DSA attack


# 111482cf 02-Dec-2000 Ulf Möller

New function BN_bntest_rand() to detect more BN library bugs.

The bn_cmp_part_words bug was only caught in the BN_mod_mul() test,
not in the BN_mul() test, so apparently the choice of pa

New function BN_bntest_rand() to detect more BN library bugs.

The bn_cmp_part_words bug was only caught in the BN_mod_mul() test,
not in the BN_mul() test, so apparently the choice of parameters in
some cases is bad.

show more ...


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
# 904cb691 02-Jul-2000 Bodo Möller

Return bignum '0' when BN_rand is asked for a 0 bit random number.


# 26a3a48d 01-Jun-2000 Richard Levitte

There have been a number of complaints from a number of sources that names
like Malloc, Realloc and especially Free conflict with already existing names
on some operating systems or other pac

There have been a number of complaints from a number of sources that names
like Malloc, Realloc and especially Free conflict with already existing names
on some operating systems or other packages. That is reason enough to change
the names of the OpenSSL memory allocation macros to something that has a
better chance of being unique, like prepending them with OPENSSL_.

This change includes all the name changes needed throughout all C files.

show more ...


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
# 953aa790 27-Jan-2000 Bodo Möller

A couple of things were reversed for BN_pseudo_rand ...


# 38e33cef 27-Jan-2000 Ulf Möller

Document DSA and SHA.
New function BN_pseudo_rand().
Use BN_prime_checks_size(BN_num_bits(w)) rounds of Miller-Rabin when
generating DSA primes (why not use BN_is_prime()?)


# eb952088 13-Jan-2000 Ulf Möller

Precautions against using the PRNG uninitialized: RAND_bytes() now
returns int (1 = ok, 0 = not seeded). New function RAND_add() is the
same as RAND_seed() but takes an estimate of the entrop

Precautions against using the PRNG uninitialized: RAND_bytes() now
returns int (1 = ok, 0 = not seeded). New function RAND_add() is the
same as RAND_seed() but takes an estimate of the entropy as an additional
argument.

show more ...


Revision tags: OpenSSL_0_9_4, OpenSSL_0_9_3a, OpenSSL_0_9_3, OpenSSL_0_9_3beta2, OpenSSL_0_9_3beta1
# ec577822 23-Apr-1999 Bodo Möller

Change #include filenames from <foo.h> to <openssl.h>.

Submitted by:
Reviewed by:
PR:


# 6b691a5c 19-Apr-1999 Ulf Möller

Change functions to ANSI C.


Revision tags: OpenSSL_0_9_2b
# bf5dcd13 09-Feb-1999 Ben Laurie

More exactitude with function arguments.


Revision tags: OpenSSL_0_9_1c, SSLeay_0_9_1b, SSLeay_0_9_0b
# 58964a49 21-Dec-1998 Ralf S. Engelschall

Import of old SSLeay release: SSLeay 0.9.0b


Revision tags: SSLeay_0_8_1b
# d02b48c6 21-Dec-1998 Ralf S. Engelschall

Import of old SSLeay release: SSLeay 0.8.1b


1234