summaryrefslogtreecommitdiff
path: root/lib/libpanel
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-11-24 10:12:06 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-11-24 10:12:06 +0000
commite5cb5378f2b0d924da7fbff6240e25a9ca157aa1 (patch)
treeb7ab0661de506e5a0ab8b253ea7ff08999c40bd2 /lib/libpanel
parent2957d6e99868a3e0db6c8b355a1db394f88182f5 (diff)
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
Diffstat (limited to 'lib/libpanel')
0 files changed, 0 insertions, 0 deletions