CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2025/02/13 04:04:20
Modified files: lib/libcrypto/bn: bn_local.h bn_mont.c Log message: bn: add internal BN_MONT_CTX_create() This does what the public BN_MONT_CTX_new() should have done in the first place rather than doing the toolkit thing of returning an invalid object that you need to figure out how to populate and with what because the docs are abysmal. It takes the required arguments and calls BN_MONT_CTX_set(), which all callers do immediately after _new() (except for DSA which managed to squeeze 170 lines of garbage between the two calls). ok jsing