CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/01/20 15:56:11

Modified files:
        usr.bin/ssh    : sntrup761.c sntrup761.sh 

Log message:
Fill entropy in a single operation instead of hundreds.

The sntrup761 code we use from SUPERCOP fills entropy arrays 4 bytes at
a time.  On some platforms each of these operations has a significant
overhead, so instead fill it in a single operation and as a precaution
zero that array after it's used.

Analysis and code change is from Mike Frysinger via Github PR#621 with
feedback from djm@ and sed-ification from me.  ok djm@ beck@.

This change was submitted by Mike to SUPERCOP upstream so hopefully
future versions will already have it.

Reply via email to