modes/ctr128.c: fix false carry in counter increment procedure.
authorAndy Polyakov <appro@openssl.org>
Sun, 20 Nov 2016 22:38:12 +0000 (23:38 +0100)
committerAndy Polyakov <appro@openssl.org>
Fri, 25 Nov 2016 16:25:05 +0000 (17:25 +0100)
commitedfca4e3daab653ec6db79ef1b01762db7ba1a52
tree29acd619b5727b995e9e28a3b69135397928c19c
parentca88f01d6c84cff55032b0a39a2d128b266b6b7c
modes/ctr128.c: fix false carry in counter increment procedure.

GH issue #1916 affects only big-endian platforms. TLS is not affected,
because TLS fragment is never big enough.

Reviewed-by: Matt Caswell <matt@openssl.org>
(cherry picked from commit 76f572ed0469a277d92378848250b7a9705d3071)
crypto/modes/ctr128.c