summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa_gen.c
diff options
context:
space:
mode:
authortb <>2025-02-13 11:04:20 +0000
committertb <>2025-02-13 11:04:20 +0000
commit6d52d4fe853e27733eac9f76135f5e20b77e61a7 (patch)
tree6331480d1d99f90f319b23c696f38c97cf3908da /src/lib/libcrypto/dsa/dsa_gen.c
parent0f51b02842d02b34cdbbb6ebd6c3b819b3fc0a45 (diff)
downloadopenbsd-6d52d4fe853e27733eac9f76135f5e20b77e61a7.tar.gz
openbsd-6d52d4fe853e27733eac9f76135f5e20b77e61a7.tar.bz2
openbsd-6d52d4fe853e27733eac9f76135f5e20b77e61a7.zip
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
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_gen.c')
0 files changed, 0 insertions, 0 deletions