On Sun, Dec 05, 2010, Eugene N wrote: > Dear sirs > > I am looking for a way to perform a set of heterogeneous operations, with > some parameters being BIGNUM and some just 32 bit integers. > for example, multiply a bignum by 2, increment a bignum by 1, find a result > of BIGNUM modulo 3, etc. > > How can i do it, without initialising bignums to 2, 1 or 3? >
There are a number of BIGNUM operations that have "word" in their function names which do what you want, for example BN_add_word, BN_mul_word, BN_mod_word etc. Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: http://www.openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org