[openssl/openssl] 2787a7: Make IV/buf in prov_cipher_ctx_st aligned

Tomas Mraz noreply at reply.github.openssl.org
Wed May 11 13:10:29 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 2787a709c984d3884e1726383c2f2afca428d795
      https://github.openssl.org/openssl/openssl/commit/2787a709c984d3884e1726383c2f2afca428d795
  Author: Hongren (Zenithal) Zheng <i at zenithal.me>
  Date:   2022-05-11 (Wed, 11 May 2022)

  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>
(Merged from https://github.com/openssl/openssl/pull/18267)




More information about the openssl-commits mailing list