[openssl/openssl] 2fd82c: Move Keccak rhotates tables to rodata

Amir Ayupov noreply at github.com
Fri Jul 14 01:18:10 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 2fd82c228363cfd16c5047a348e7c853defa42eb
      https://github.com/openssl/openssl/commit/2fd82c228363cfd16c5047a348e7c853defa42eb
  Author: Amir Ayupov <fads93 at gmail.com>
  Date:   2023-07-14 (Fri, 14 Jul 2023)

  Changed paths:
    M crypto/sha/asm/keccak1600-avx2.pl
    M crypto/sha/asm/keccak1600-avx512.pl
    M crypto/sha/asm/keccak1600-avx512vl.pl

  Log Message:
  -----------
  Move Keccak rhotates tables to rodata

rhotates tables are placed to .text section which confuses tools such as BOLT.
Move them to rodata to unbreak and avoid polluting icache/iTLB with data.

CLA: trivial

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Paul Yang <kaishen.yy at antfin.com>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21440)




More information about the openssl-commits mailing list