Skip to content
Commit a2bb1836 authored by Andy Polyakov's avatar Andy Polyakov
Browse files

modes/ocb128.c: fix misaligned access in ILP32 builds on 64-bit processors.



One could have fixed the problem by arranging 64-bit alignment of
EVP_AES_OCB_CTX.aad_buf in evp/e_aes.c, but CRYPTO_ocb128_aad
prototype doesn't imply alignment and we have to honour it.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2994)
parent 08d09628
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment