CVSROOT:        /cvs
Module name:    src
Changes by:     js...@cvs.openbsd.org   2023/03/07 21:50:27

Modified files:
        lib/libcrypto/ec: ec2_smpl.c ec_local.h ec_oct.c ecp_mont.c 
                          ecp_nist.c ecp_smpl.c 

Log message:
Remove EC_FLAGS_DEFAULT_OCT.

The EC code has an amazing array of function pointer hooks, such that a
method can hook into almost any operation... and then there is the
EC_FLAGS_DEFAULT_OCT flag, which adds a bunch of complex code and #ifdef
so you can avoid setting three of those function pointers!

Remove EC_FLAGS_DEFAULT_OCT, the now unused flags field from EC_METHOD,
along with the various code that was wrapped in EC_FLAGS_DEFAULT_OCT,
setting the three function pointers that need to be set in each of the
EC_METHODs.

ok beck@ tb@

Reply via email to