crypto: arm64/sm3 - raise the priority of the CE implementation
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>
Thu, 27 Oct 2022 06:54:53 +0000 (14:54 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Nov 2022 09:33:22 +0000 (17:33 +0800)
Raise the priority of the sm3-ce algorithm from 200 to 400, this is
to make room for the implementation of sm3-neon.

Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm64/crypto/sm3-ce-glue.c

index ee98954..54bf6eb 100644 (file)
@@ -84,7 +84,7 @@ static struct shash_alg sm3_alg = {
        .base.cra_driver_name   = "sm3-ce",
        .base.cra_blocksize     = SM3_BLOCK_SIZE,
        .base.cra_module        = THIS_MODULE,
-       .base.cra_priority      = 200,
+       .base.cra_priority      = 400,
 };
 
 static int __init sm3_ce_mod_init(void)