diff options
author | jsing <> | 2023-01-14 15:10:45 +0000 |
---|---|---|
committer | jsing <> | 2023-01-14 15:10:45 +0000 |
commit | aa7717a6a8a2075dc688a32afc8fd3c1647f6e8e (patch) | |
tree | 63af6ad68d1d4d138e55e626701feb329bf8d741 /src/usr.bin | |
parent | 8c3fb8abc1c51703bbfb514f4fd1ba9885108be3 (diff) | |
download | openbsd-aa7717a6a8a2075dc688a32afc8fd3c1647f6e8e.tar.gz openbsd-aa7717a6a8a2075dc688a32afc8fd3c1647f6e8e.tar.bz2 openbsd-aa7717a6a8a2075dc688a32afc8fd3c1647f6e8e.zip |
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@
Diffstat (limited to 'src/usr.bin')
0 files changed, 0 insertions, 0 deletions