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:19:26 +0000 (13:19 +0100)
commit6d99e238397859f2df58c60e28905193b2dd6762
treeb8341cf4f5b3fc46208130f4c0d1e8960cfd30dc
parenta67203a19d379a8cc8b369587c60c46eb4e19014
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)
crypto/engine/eng_devcrypto.c