use 64 bit math to avoid signed underflow. upstream code relies on
authordjm <djm@openbsd.org>
Mon, 16 Sep 2024 05:37:05 +0000 (05:37 +0000)
committerdjm <djm@openbsd.org>
Mon, 16 Sep 2024 05:37:05 +0000 (05:37 +0000)
commit91055178be64b0c25c43e9995157e10e35c3b1bc
treec8438731de0d57e1233cb1cd172c1fcdeaf8393f
parentebd6ceecbc40bf8f1e51766240a021a55ffdbe01
use 64 bit math to avoid signed underflow. upstream code relies on
using -fwrapv to provide defined over/underflow behaviour, but we use
-ftrapv to catch integer errors and abort the program. ok dtucker@
usr.bin/ssh/sntrup761.c
usr.bin/ssh/sntrup761.sh