CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2025/01/07 01:30:52

Modified files:
        lib/libcrypto/ec: ec_lib.c ec_local.h ecp_methods.c 

Log message:
Check discriminant directly in EC_GROUP_set_discriminant()

After possibly decoding a and b in EC_GROUP_get_curve(), this is a pure
calculation in GFp and as such doesn't make use of any method-specifics.
Let's perform this calculation directly in the public API implementation
rather than redirecting through the methods and remove yet another method
handler.

ok jsing

Reply via email to