Skip to content

Commit

Permalink
crypto: arm64/crc10dif - Raise priority of NEON crct10dif implementation
Browse files Browse the repository at this point in the history
The NEON implementation of crctd10dif is registered with a priority of 100
which is identical to that used by the generic C implementation. Raise the
priority to 150, half way between the PMULL based implementation and the
NEON one, so that it will be preferred over the generic implementation.

Signed-off-by: Mark Brown <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
broonie authored and herbertx committed May 31, 2024
1 parent f911082 commit a720de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm64/crypto/crct10dif-ce-glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ static struct shash_alg crc_t10dif_alg[] = {{

.base.cra_name = "crct10dif",
.base.cra_driver_name = "crct10dif-arm64-neon",
.base.cra_priority = 100,
.base.cra_priority = 150,
.base.cra_blocksize = CRC_T10DIF_BLOCK_SIZE,
.base.cra_module = THIS_MODULE,
}, {
Expand Down

0 comments on commit a720de9

Please sign in to comment.