summaryrefslogtreecommitdiff
path: root/src/usr.bin
diff options
context:
space:
mode:
authorjsing <>2023-01-14 15:10:45 +0000
committerjsing <>2023-01-14 15:10:45 +0000
commitaa7717a6a8a2075dc688a32afc8fd3c1647f6e8e (patch)
tree63af6ad68d1d4d138e55e626701feb329bf8d741 /src/usr.bin
parent8c3fb8abc1c51703bbfb514f4fd1ba9885108be3 (diff)
downloadopenbsd-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