commit | a2bb183623dac253792753b82e291fd1d180aa78 | [log] [tgz] |
---|---|---|
author | Andy Polyakov <appro@openssl.org> | Mon Mar 20 12:47:08 2017 +0100 |
committer | Andy Polyakov <appro@openssl.org> | Wed Mar 22 11:09:12 2017 +0100 |
tree | 631477ad48f66e4cc18831b6704dea495eb86e84 | |
parent | 08d09628d2c9f3ef599399d8cad021a07ab98347 [diff] |
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: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2994)