summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjason <jason@openbsd.org>2002-05-01 21:35:08 +0000
committerjason <jason@openbsd.org>2002-05-01 21:35:08 +0000
commit1c0e5d187724a8f9a1153ad96ef81d428ed88451 (patch)
treeed97d13e91e071357604237be565987715ae3540 /lib/libc
parentwhen filtering termcap selecet vt220, not vt200, since that's what we gonna use later, plus a few rcsid vicinity cleanups; millert@ ok (diff)
downloadwireguard-openbsd-1c0e5d187724a8f9a1153ad96ef81d428ed88451.tar.xz
wireguard-openbsd-1c0e5d187724a8f9a1153ad96ef81d428ed88451.zip
- make sure 'me' is initialized
- compute modulus bits early (if its too big, return E2BIG) - modulus bits must be rounded to 512/768/1024 (and/or 1536/2048 for 5820) - allocate the result based on modulus bits and bzero it - add two diagnostic checks that will hang the chip: unaligned result/length [score so far: 655 out of 1000 test cases work for modexp on 5820]
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions