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.

> Would you be able to do a quick review of the port once I am done?

I could probably do a basic review.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to