Libgcrypt (hopefully not OT)

Bob (Robert) Cavanaugh robertc at
Fri May 3 23:27:42 CEST 2013

Hi All,

I am using Libgcrypt 1.5.2 with gcc v 4.5.3 on Cygwin to use the MPI functions. Can you please provide some guidance on how to handle signed and negative MPIs? I cannot seem to get a negative MPI, which is causing problems with other computations (specifically gcry_mpi_invm never returns and hangs).

As an alternative,  Is it possible to use the ecc functions with a custom random number generator algorithm?

Bob Cavanaugh
Broadcom Corporation
16340 West Bernardo Drive
San Diego CA 92127
Work:    858-521-5562
Fax:     858-385-8810
Cell:    858-361-2068

More information about the Gnupg-users mailing list