int and BIGNUM operations?

2010-12-06 Thread Eugene N
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,

Re: int and BIGNUM operations?

2010-12-06 Thread Dr. Stephen Henson
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

Re: int and BIGNUM operations?

2010-12-06 Thread Jeffrey Walton
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