[openssl/openssl] a91c26: Make IV/buf in prov_cipher_ctx_st aligned

Hongren Zheng noreply at github.com
Tue Feb 6 10:54:19 UTC 2024


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: a91c268853c4bda825a505629a873e21685490bf
      https://github.com/openssl/openssl/commit/a91c268853c4bda825a505629a873e21685490bf
  Author: Hongren (Zenithal) Zheng <i at zenithal.me>
  Date:   2024-02-02 (Fri, 02 Feb 2024)

  Changed paths:
    M providers/implementations/include/prov/ciphercommon.h

  Log Message:
  -----------
  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 at zenithal.me>

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>

(cherry picked from commit 2787a709c984d3884e1726383c2f2afca428d795)

Reviewed-by: Neil Horman <nhorman at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23463)




More information about the openssl-commits mailing list