diff options
author | jsing <> | 2023-04-11 18:58:20 +0000 |
---|---|---|
committer | jsing <> | 2023-04-11 18:58:20 +0000 |
commit | 28c1968b342ae3ee2e863c4a47a59d90c3d7da9c (patch) | |
tree | 566c48c290ac86140f8df6c959b74661e1d596a7 /src/lib/libcrypto/dsa/dsa_asn1.c | |
parent | d64e2f3567e88a542a225f4ab620c2851bd7f9e7 (diff) | |
download | openbsd-28c1968b342ae3ee2e863c4a47a59d90c3d7da9c.tar.gz openbsd-28c1968b342ae3ee2e863c4a47a59d90c3d7da9c.tar.bz2 openbsd-28c1968b342ae3ee2e863c4a47a59d90c3d7da9c.zip |
Handle BN_CTX at the EC API boundary.
The EC API allows callers to optionally pass in a BN_CTX, which means that
any code needing a BN_CTX has to check if one was provided, allocate one if
not, then free it again. Rather than doing this dance throughout the EC
code, handle the BN_CTX existance at the EC API boundary. This means that
lower level implementation code can simply assume that the BN_CTX is
available.
ok tb@
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_asn1.c')
0 files changed, 0 insertions, 0 deletions