[openssl/openssl] 242434: Move Keccak rhotates tables to rodata

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


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 242434874ce78140a9df6dfd0818f040bf47a7f0
      https://github.com/openssl/openssl/commit/242434874ce78140a9df6dfd0818f040bf47a7f0
  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)

(cherry picked from commit 2fd82c228363cfd16c5047a348e7c853defa42eb)




More information about the openssl-commits mailing list