]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
crypto: arm64/aes-cipher - move S-box to .rodata section
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 10 Jan 2018 12:11:37 +0000 (12:11 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 18 Jan 2018 12:00:30 +0000 (23:00 +1100)
commit96a74f7bdc9c1326a06b69797725a285e9282cb3
tree45f30dee45c21d8171287cf5619151dfbcba143b
parentcd0bb67f21dadaf0a0240776f6e39a14b4f7625b
crypto: arm64/aes-cipher - move S-box to .rodata section

Move the AES inverse S-box to the .rodata section where it is safe from
abuse by speculation.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm64/crypto/aes-cipher-core.S