On Sun, Dec 5, 2010 at 11:12 AM, Eugene N <neverov.biks.0...@gmail.com> 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?
Taking from bn.h. #define BN_ULONG unsigned long ... int BN_add_word(BIGNUM *a, BN_ULONG w); BN_value_one() might also be useful. Jeff ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org