summaryrefslogtreecommitdiff
path: root/lib/libcrypto/ec/ec_curve.c
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-11-21 14:36:04 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-11-21 14:36:04 +0000
commit4ebe6fe8797a464862dc725e65479aee9c00fdca (patch)
tree18903ea3ad02d3425221914837ef1cf9ba128d8e /lib/libcrypto/ec/ec_curve.c
parentbc0ea56755b433cc317811dafdb1047e5b4bd503 (diff)
ec_wNAF_mul(): remove r_is_at_infinity silliness
All the EC_POINT_* API has a fast path for the point at infinity. So we're not gaining more than a few cycles by making this terrible mess even more terrible than it already is by avoding calls ot it (it's also incorrect as it is since we don't know that the point is no longer at infinity when it is unset). Simplify and add a comment explaining what this mess is doing. ok jsing
Diffstat (limited to 'lib/libcrypto/ec/ec_curve.c')
0 files changed, 0 insertions, 0 deletions