diff options
author | 2002-05-01 21:35:08 +0000 | |
---|---|---|
committer | 2002-05-01 21:35:08 +0000 | |
commit | 1c0e5d187724a8f9a1153ad96ef81d428ed88451 (patch) | |
tree | ed97d13e91e071357604237be565987715ae3540 /lib/libc | |
parent | when filtering termcap selecet vt220, not vt200, since that's what we gonna use later, plus a few rcsid vicinity cleanups; millert@ ok (diff) | |
download | wireguard-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