]> git.ipfire.org Git - thirdparty/openssl.git/commit
Make IV/buf in prov_cipher_ctx_st aligned
authorHongren (Zenithal) Zheng <i@zenithal.me>
Mon, 9 May 2022 11:42:39 +0000 (19:42 +0800)
committerTomas Mraz <tomas@openssl.org>
Wed, 11 May 2022 13:10:07 +0000 (15:10 +0200)
commit2787a709c984d3884e1726383c2f2afca428d795
tree7fb9c8d96166175d0267955b460e00c8dc22d9b5
parentcb2764f2a8165421dc5ab52159af99cbf766fa2c
Make IV/buf in prov_cipher_ctx_st aligned

Make IV/buf aligned will drastically improve performance
as some architecture performs badly on misaligned memory
access.

Ref to
https://gist.github.com/ZenithalHourlyRate/7b5175734f87acb73d0bbc53391d7140#file-2-openssl-long-md
Ref to
openssl#18197

Signed-off-by: Hongren (Zenithal) Zheng <i@zenithal.me>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18267)
providers/implementations/include/prov/ciphercommon.h