diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2020-06-29 09:39:21 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-09 22:14:32 +1000 |
commit | 37b6aab68fae17484173776ac8461613f96f6642 (patch) | |
tree | d95cb7e11c958c23cc980baef23c105fdfe64fba /arch/arm64/mm/mmap.c | |
parent | 813ec3f1fe517acd533d44536195910edaaeebef (diff) |
crypto: arm64/ghash - drop PMULL based shash
There are two ways to implement SIMD accelerated GCM on arm64:
- using the PMULL instructions for carryless 64x64->128 multiplication,
in which case the architecture guarantees that the AES instructions are
available as well, and so we can use the AEAD implementation that combines
both,
- using the PMULL instructions for carryless 8x8->16 bit multiplication,
which is implemented as a shash, and can be combined with any ctr(aes)
implementation by the generic GCM AEAD template driver.
So let's drop the 64x64->128 shash driver, which is never needed for GCM,
and not suitable for use anywhere else.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm64/mm/mmap.c')
0 files changed, 0 insertions, 0 deletions