eng_devcrypto: add cipher CTX copy function
authorEneas U de Queiroz <cote2004-github@yahoo.com>
Tue, 13 Nov 2018 11:23:22 +0000 (09:23 -0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 10 Dec 2018 12:22:14 +0000 (13:22 +0100)
commita19d1a1d370e2959555fccbafc4e970634840352
tree53e741d10e352e842ab6183858dc9a744be14f72
parent5378c582c8d3f1130b17abb2950bfd09cde099c6
eng_devcrypto: add cipher CTX copy function

The engine needs a custom cipher context copy function to open a new
/dev/crypto session.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7585)

(cherry picked from commit 6d99e238397859f2df58c60e28905193b2dd6762)
crypto/engine/eng_devcrypto.c