On Fri, Feb 09, 2001, Bodo Moeller wrote:
> So maybe we should have just one parameter, 'range'. The loop for
> implementing 'minimum' is easier to implement in the application than
> the addition for implementing 'offset' (BN_cmp() does not require error
> handling, BN_add() does). Even with the initial BN_range version it
> would have been advantegeous for the generation of DSA k to use
> min=NULL and put the loop around the BN_rand_range() call instead
> of using the loop in BN_rand_range(): the latter loop
> has to use BN_cmp() for generality, but in the DSA case we can
> use the BN_is_zero() macro.
Not that you'd notice that advantage for any practical purposes, but if
you insist...
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]