diff options
author | tb <> | 2025-02-13 11:04:20 +0000 |
---|---|---|
committer | tb <> | 2025-02-13 11:04:20 +0000 |
commit | ade8722cf772f75a9dd24ace7878bf2f0730171c (patch) | |
tree | 6331480d1d99f90f319b23c696f38c97cf3908da /src/lib/libcrypto/dsa/dsa_gen.c | |
parent | 70b5e4a9ddfad29232b45bb7cfe175cb06edf1a7 (diff) | |
download | openbsd-ade8722cf772f75a9dd24ace7878bf2f0730171c.tar.gz openbsd-ade8722cf772f75a9dd24ace7878bf2f0730171c.tar.bz2 openbsd-ade8722cf772f75a9dd24ace7878bf2f0730171c.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