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

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


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 076243ec886ebead68f4ab53a8b61b5dc9c290bb
      https://github.com/openssl/openssl/commit/076243ec886ebead68f4ab53a8b61b5dc9c290bb
  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