crypto: arm64/sha1-ce - get rid of literal pool
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 10 Jan 2018 12:11:42 +0000 (12:11 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 18 Jan 2018 12:00:33 +0000 (23:00 +1100)
commit20b04c02bcb2d1e6a642bbe9e759157bb198499e
tree0898dcc1f5d75c217186c0abf7360d9ea570869e
parent17a0607019d56e136173600372a371c28a6c0076
crypto: arm64/sha1-ce - get rid of literal pool

Load the four SHA-1 round constants using immediates rather than literal
pool entries, to avoid having executable data that may be exploitable
under speculation attacks.

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