Skip to content

Commit

Permalink
crypto: arm64/sm3 - raise the priority of the CE implementation
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
uudiin authored and herbertx committed Nov 4, 2022
1 parent 3513828 commit e1fa51a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm64/crypto/sm3-ce-glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e1fa51a

Please sign in to comment.