Implement Wei25519 to exercise some more elliptic curve code
authortb <tb@openbsd.org>
Wed, 16 Oct 2024 23:49:49 +0000 (23:49 +0000)
committertb <tb@openbsd.org>
Wed, 16 Oct 2024 23:49:49 +0000 (23:49 +0000)
commit676041191340cdbf551d15c1bab1ef7afac8c020
treefbc6860346a041e91a7dc15ded485c5a90696960
parentce1663765cab19cd8cdad9053f5fa026adcdfba9
Implement Wei25519 to exercise some more elliptic curve code

This provides a non-trivial non-builtin curve that is unlikely to ever
become a builtin curve. This exercises the cofactor guessing code and
and ensures that things work as far as they can with a custom OID. The
main reason for adding it is to have a "real-world" example for an
upcoming check that EC parameters represent a builtin curve.
regress/lib/libcrypto/ec/ec_asn1_test.c