CVSROOT: /cvs Module name: src Changes by: js...@cvs.openbsd.org 2025/05/24 23:12:05
Modified files: lib/libcrypto : Makefile lib/libcrypto/bn: bn_internal.h bn_mont.c Added files: lib/libcrypto/ec: ec_field.c ec_internal.h Log message: Implement EC field element operations. Provide EC_FIELD_ELEMENT and EC_FIELD_MODULUS, which allow for operations on fixed width fields in constant time. These can in turn be used to implement Elliptic Curve cryptography for prime fields, without needing to use BN. This will improve the code, reduces timing leaks and enable further optimisation. ok beck@ tb@