modes/ctr128.c: pay attention to ecount_buf alignment in CRYPTO_ctr128_encrypt.
authorAndy Polyakov <appro@openssl.org>
Fri, 12 Feb 2016 13:07:27 +0000 (14:07 +0100)
committerAndy Polyakov <appro@openssl.org>
Fri, 12 Feb 2016 21:01:13 +0000 (22:01 +0100)
commit3629c49d7a0f46eebfea87c33c4e3d2864ad6fa8
tree6d073aa1d4cb68875680b1476620fab53b442fbb
parentb0b9f693b422ddc643840859a0755b7b4fde92de
modes/ctr128.c: pay attention to ecount_buf alignment in CRYPTO_ctr128_encrypt.

It's never problem if CRYPTO_ctr128_encrypt is called from EVP, because
buffer in question is always aligned within EVP_CIPHER_CTX structure.

RT#4218

Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit 5e4bbeb49fb6522d858703201b5adee9611e7b7b)
crypto/modes/ctr128.c