libcrypto/ec: another missing point-on-curve check
authortb <tb@openbsd.org>
Tue, 7 Feb 2023 09:00:48 +0000 (09:00 +0000)
committertb <tb@openbsd.org>
Tue, 7 Feb 2023 09:00:48 +0000 (09:00 +0000)
commit144b19be9afadbcd18f9ee06c121c6435df6ee16
tree371ddc4ddf4e3448006e6c91e36b4dfc01f4efcc
parent0590ad43f99279c7e8af4c1e8c0957c368f953c0
libcrypto/ec: another missing point-on-curve check

Unlike in the affine/compressed/... cases, when setting projective
coordinates of an elliptic curve point, there is no check whether
the point is actually on the curve.

Pointed out by Guido Vranken

ok beck miod
lib/libcrypto/ec/ec_lib.c