Factor the calls to EVP_AEAD_CTX_open() and EVP_AEAD_CTX_seal() into
authortb <tb@openbsd.org>
Tue, 21 Aug 2018 16:23:21 +0000 (16:23 +0000)
committertb <tb@openbsd.org>
Tue, 21 Aug 2018 16:23:21 +0000 (16:23 +0000)
commit0f572472e0f47b3e74ddf5d8e5b1b63e4e51b322
tree94f2b96907e9bb3f6510b8fdb97f8c9fbc2b74a2
parentf09271baa2175edc761b718c5e39c33a7b69e2e1
Factor the calls to EVP_AEAD_CTX_open() and EVP_AEAD_CTX_seal() into
their own functions to make it easier to handle failures cleanly.

Discussed with jsing
regress/lib/libcrypto/wycheproof/wycheproof.go