crypto: arm/crct10dif - Macroify PMULL asm code
authorArd Biesheuvel <ardb@kernel.org>
Tue, 5 Nov 2024 16:09:05 +0000 (17:09 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Nov 2024 11:52:51 +0000 (19:52 +0800)
commit802d8d110ce2b3ae979221551f4cb168e2f5e464
treec421d2319c5ba453e943f89ba395aa0080fdedc2
parentfcf27785ae51b259ea2a9b340f10f9d393954887
crypto: arm/crct10dif - Macroify PMULL asm code

To allow an alternative version to be created of the PMULL based
CRC-T10DIF algorithm, turn the bulk of it into a macro, except for the
final reduction, which will only be used by the existing version.

Reviewed-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm/crypto/crct10dif-ce-core.S
arch/arm/crypto/crct10dif-ce-glue.c