CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2025/01/06 04:59:02
Modified files: lib/libcrypto/ec: ec_lib.c ec_local.h ecp_methods.c Log message: Stop caching one in the Montgomery domain This is only used by ec_points_make_affine(), which is only used by the wNAF multiplication, which is only used by ECDSA. We can afford computing that one once per ECDSA verification given the cost of the rest of this. Thus, the field_set_to_one() member disappears from the EC_METHOD and the mont_one member disappears from EC_GROUP and with it all the complications when setting/copying/freeing the group. ok jsing