Niels,
Here is a link to my changes, if you have time to take a look.

https://github.com/GrokImageCompression/asdcplib/commit/39cbb6188bce7112d826e6045cb739bfd1c8653b

Thanks again,
Aaron

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.
>
> > 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