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 20:57:43 +0000 (21:57 +0100)
commit5e4bbeb49fb6522d858703201b5adee9611e7b7b
tree2426be2700204296883ff93124f87a1266746f41
parent3c65577f1af1109beb8de06420efa09188981628
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>
crypto/modes/ctr128.c