summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/rand48.3
diff options
context:
space:
mode:
authorjsing <>2023-04-19 10:51:22 +0000
committerjsing <>2023-04-19 10:51:22 +0000
commit0954bbaddbf74f6f184f313822c63bf1b56695bd (patch)
treeb572e3eea1eb6a5996c544ab694d76a6c2c83085 /src/lib/libc/stdlib/rand48.3
parent0aeb12748acb6b4c8e28de80f588e344c1dab0fe (diff)
downloadopenbsd-0954bbaddbf74f6f184f313822c63bf1b56695bd.tar.gz
openbsd-0954bbaddbf74f6f184f313822c63bf1b56695bd.tar.bz2
openbsd-0954bbaddbf74f6f184f313822c63bf1b56695bd.zip
unifdef BN_RECURSION
This removes a bunch of incomplete and scary code, which potentially leaks secrets and is not constant time. A performance gain is achieved on arm64 for sizes that we care about, while a minimal decrease in performance is noted for larger sizes on some other platforms. While we will potentially reimplement Karatsuba (or Toom-Cook) at a later date, it will be easier and safer to do it from a clean slate. ok tb@
Diffstat (limited to 'src/lib/libc/stdlib/rand48.3')
0 files changed, 0 insertions, 0 deletions