CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2024/11/24 03:12:05

Modified files:
        lib/libcrypto/ec: ec_curve.c 

Log message:
Disable small builtin curves

This disables all the curves over fields < 224 bits and a few others.
Specifically:

SECG: 112r1 112r2 128r1 128r2 160k1 160r1 160r2 192k1 192r1 192v{1,2,3}
WTLS: 6 7 8 9 12
Brainpool: P160r1 P160t1 P192r1 P192t1

These are below or at the limit of what is acceptable nowadays. This is
less aggressive than what some enterprise linux distributions are using
in their patched OpenSSL versions where everything over fields < 256 bits
is disabled with the exception of P-224, so interoperability should not
be a problem.

The curves are left in the tree for now and can be re-enabled by compiling
libcrypto with -DENABLE_SMALL_CURVES. They will be fully removed later.

One nice benefit of doing this is that the incorrect parameters for WTLS 7
are fixed (obviously nobody uses this one) and now all the builtin curves
have a unique corresponding OID (nid).

Something like this was suggested a while back by beck, makes sense to sthen

ok jsing

Reply via email to