diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-05-01 21:35:09 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-05-01 21:35:09 +0000 |
commit | 1ae1ad084bd1cf4d67201d70439b524f02a68dbd (patch) | |
tree | 2eed587be88c792c42cee32df3d80ec4d71d8a3b /etc/etc.mac68k/MAKEDEV | |
parent | c0bcf841767a2d6e5165d3e880c2dc4e54a9a58d (diff) |
- 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 'etc/etc.mac68k/MAKEDEV')
0 files changed, 0 insertions, 0 deletions