update the Streamlined NTRU Prime code from the "ref" implementation
authordjm <djm@openbsd.org>
Sun, 15 Sep 2024 02:20:51 +0000 (02:20 +0000)
committerdjm <djm@openbsd.org>
Sun, 15 Sep 2024 02:20:51 +0000 (02:20 +0000)
commitcaf32fd41f30b9f4eeffa37529a2aafe2259cd52
tree51728cc81586e73f9d7e0c190e2fe06b5a06e951
parent5f4d9abc4ca09dabd4471447fea08436e3f6119c
update the Streamlined NTRU Prime code from the "ref" implementation
in SUPERCOP 20201130 to the "compact" implementation in SUPERCOP
20240808. The new version is substantially faster.
Thanks to Daniel J Bernstein for pointing out the new implementation
(and of course for writing it).

tested in snaps/ok deraadt@
usr.bin/ssh/kexsntrup761x25519.c
usr.bin/ssh/sntrup761.c
usr.bin/ssh/sntrup761.sh