eng_devcrypto: fix ctr mode
authorEneas U de Queiroz <cote2004-github@yahoo.com>
Wed, 28 Nov 2018 13:26:27 +0000 (11:26 -0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 10 Dec 2018 12:19:26 +0000 (13:19 +0100)
commitb5015e834aa7d3f0a5d7585a8fae05cecbdbb848
tree59638ddad991708e63f2657f12bed8967923b150
parent6d99e238397859f2df58c60e28905193b2dd6762
eng_devcrypto: fix ctr mode

Make CTR mode behave like a stream cipher.

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