OSDN Git Service

crypto: arm64/sha2-ce - move the round constant table to .rodata section
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 10 Jan 2018 12:11:41 +0000 (12:11 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 18 Jan 2018 12:00:32 +0000 (23:00 +1100)
commit17a0607019d56e136173600372a371c28a6c0076
treebe2cb40bf60269e52c8084dc0d9512604923598c
parent325f562d8f4a2047c26705b9788ce38a099225ed
crypto: arm64/sha2-ce - move the round constant table to .rodata section

Move the SHA2 round constant table to the .rodata section where it is
safe from being exploited by speculative execution.

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