joseph k j wrote:
...
I am using openssl-0.9.8-stable-SNAP-20050810,
BN_set_word(BIGNUM *a, unsigned long w);
what should i do if i need to set a prime whose bits exceeds that of
a long.
can some one give me a pointer to a good doc on BN.
depends on the format of the number you want to set: if it's
a hex number try BN_hex2bn (see `man BN_hex2bn`) if the number
is in binary form try BN_bin2bn (see `man BN_bin2bn`).
Cheers,
Nils
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]