On Fri, Apr 30, 2010 at 06:32:30PM +0200, Michael T?xen wrote:
> On Apr 30, 2010, at 9:29 AM, [email protected] wrote:
>
> > Hi all.
> > I need to generate a BIGNUM C that is relatively prime with a BIGNUM N (
> > GCD
> > (N,C)=1 )
> > is there a pre-built function in openssl library ??
>
> Doesn't C=1 or C=N+1 solve your problem?
Indeed (1) is relatively-prime to all integers, and (n+1) is
relatively-prime to (n) for each (n). The OP perhaps has additional
unstated requirements.
--
Viktor.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [email protected]