]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc0ce51b29c2552fa26b2a241e139725340692a50
treeabb324f05143909412f0e872a222c8a219e78005
parent8b9c42e4c78cb95e5b8165208d57670ef40d3e1f
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