summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ecdsa/ecs_lib.c
diff options
context:
space:
mode:
authortb <>2023-03-26 18:52:29 +0000
committertb <>2023-03-26 18:52:29 +0000
commit5842915a50f8217d841cdf480259d157ac95a0a2 (patch)
treef68192a44284de693a2e39a906f6393663182e03 /src/lib/libcrypto/ecdsa/ecs_lib.c
parente7c1fe4923c04c3cbcc74b60d5dd714eb4a9e3c0 (diff)
downloadopenbsd-5842915a50f8217d841cdf480259d157ac95a0a2.tar.gz
openbsd-5842915a50f8217d841cdf480259d157ac95a0a2.tar.bz2
openbsd-5842915a50f8217d841cdf480259d157ac95a0a2.zip
Make several calls to BN_nnmod() unconditional
This removes a potential branch in a sensitive function and makes the code a lot simpler. It is a really bad idea optimize here for what davidben aptly calls "calculator" purposes. ok jsing
Diffstat (limited to 'src/lib/libcrypto/ecdsa/ecs_lib.c')
0 files changed, 0 insertions, 0 deletions