On Thu, May 26, 2016 at 9:47 AM, Niels Möller <[email protected]> wrote:
> Aaron Boxer <[email protected]> writes: > > > The only remaining issue is converting between big endian byte arrays and > > gmp types, but I have > > asked about this on the gmp forum. > > For an example, you can also look at the nettle_mpz_to_octets and > nettle_mpz_from_octets functions in > https://git.lysator.liu.se/nettle/nettle/blob/master/bignum.c. If you > use the mpz_ interface (not mpn_), mpz_import and mpz_export are the > functions to use. > Thanks, I will try this. I am also having trouble with the BN_num_bytes method. Do you know of an equivalent method in gmp ? > > Would you be able to do a quick review of the port once I am done? > > I could probably do a basic review. > > Even a 5 minute review would be very much appreciated. Regards, Aaron _______________________________________________ nettle-bugs mailing list [email protected] http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs
