crypto: aesni - clean up mapping of associated data
authorArd Biesheuvel <ardb@kernel.org>
Mon, 4 Jan 2021 15:55:48 +0000 (16:55 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 14 Jan 2021 06:10:25 +0000 (17:10 +1100)
commit2694e23ffd210cbbc05cd45bec77dc1c11bb72a2
tree5515a00fa7c0a5f75c2a74abf9c450d7a2068643
parent30f2c18eb564acdc1c2c31f8cea9c7d38f46c681
crypto: aesni - clean up mapping of associated data

The gcm(aes-ni) driver is only built for x86_64, which does not make
use of highmem. So testing for PageHighMem is pointless and can be
omitted.

While at it, replace GFP_ATOMIC with the appropriate runtime decided
value based on the context.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/aesni-intel_glue.c