Enforce a lower bound of of EC group order so 80 bits for ECDSA
authortb <tb@openbsd.org>
Sat, 4 Mar 2023 21:39:34 +0000 (21:39 +0000)
committertb <tb@openbsd.org>
Sat, 4 Mar 2023 21:39:34 +0000 (21:39 +0000)
commit899e8679c4976f0da298bc0475377a74aa2f66e3
tree2a7dd87b4e6847a55341034cc66b3d7516dbb7df
parent0e40a4a32e25cab9ecc20364f76d0fbbeef213ce
Enforce a lower bound of of EC group order so 80 bits for ECDSA

This makes sure that the elliptic curve is not completely stupid.
This is conservative enough: the smallest named groups that we support
have an order of 112 bits.

ok beck jsing
lib/libcrypto/ecdsa/ecs_ossl.c