Dear all:
I have some question about parameters pass to bn_rand
from http://www.openssl.org/docs/crypto/BN_rand.html, the top has 3 choices.
a. -1 most significant bit of the random number can be zero
b. 0  most significant bit of the random number is 1
c. 1  most significant 2 bit of the random number are 1

the c is use to let final bits of multiplication of 2 rands will be 2*bits
but what is a, b used for?
what I mean is what is the significant of most significant bit in rand number?
signed or unsigned?
Sincerely Yours,
vichy
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to