пн, 13 апр. 2020 г. в 15:08, Niels Möller nisse@lysator.liu.se:
I'm not sure I understand the implications. Getting it in would let GnuTLS drop some of the references to HOGWEED_INTERNAL, is that what you mean with simplify, or something different? But all of them? And it doesn't look like it would affect references to NETTLE_INTERNAL.
This would allow dropping all HOGWEED_INTERNAL dependencies for GnuTLS compiled against new Nettle library.
Nice. My understanding was that GnuTLS also includes additional GOST curves, and depends in the internal struct ecc_curve layout. Is that wrong? I can have a renewed look at the patch, but my gut feeling is to not add new features at this point.
GnuTLS includes only those two curves that are present in Nettle. Daiki did a great job on importing curve448 code into nettle. I'm reusing his script to bundle ecc code necessary for GOST. Two things remaining are gostdsa-vko (depends on ecc internals, etc) and gostdsa-mask (uses gmp and depends only on ecc->q.m). I can rework gostdsa-mask to remove this dependency afterwards. Thus the only significant problem is gostdsa-vko.
-- With best wishes Dmitry