Move Keccak rhotates tables to rodata
authorAmir Ayupov <fads93@gmail.com>
Wed, 12 Jul 2023 22:14:51 +0000 (15:14 -0700)
committerPauli <pauli@openssl.org>
Fri, 14 Jul 2023 01:15:45 +0000 (11:15 +1000)
commit2fd82c228363cfd16c5047a348e7c853defa42eb
tree123befe669c83b81e472c014b48536cd7e3128bc
parent7a3d32ae4602eb4d09c6d998b2b1ba4b81ec1f54
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@openssl.org>
Reviewed-by: Paul Yang <kaishen.yy@antfin.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21440)
crypto/sha/asm/keccak1600-avx2.pl
crypto/sha/asm/keccak1600-avx512.pl
crypto/sha/asm/keccak1600-avx512vl.pl