OSDN Git Service

crypto: arm/aes-cipher - move S-box to .rodata section
authorJinbum Park <jinb.park7@gmail.com>
Mon, 12 Feb 2018 13:52:37 +0000 (22:52 +0900)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Feb 2018 14:16:19 +0000 (22:16 +0800)
commit4ff8b1dd814ba4c2dc4a8ce3cf77274e01bd1c93
treeabb324f05143909412f0e872a222c8a219e78005
parent7c73cf4cc2ac16465f5102437dc0a12d66671bd6
crypto: arm/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: Jinbum Park <jinb.park7@gmail.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm/crypto/aes-cipher-core.S