CVSROOT: /cvs Module name: src Changes by: js...@cvs.openbsd.org 2023/01/14 08:10:45
Modified files: lib/libcrypto/ec: ec_key.c Log message: Clean up and simplify EC_KEY handling, mostly from a BN_CTX perspective. If we have a BN_CTX available, make use of it rather than calling BN_new(). Always allocate a new priv_key and pub_key, rather than having complex reuse dances on entry and exit. Add missing BN_CTX_start()/BN_CTX_end() calls. ok tb@