Unverified Commit 856f3f97 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!262 crypto: enable some SM configs

Merge Pull Request from: @HuaxinLuGitee 
 
openeuler inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I6202L
CVE: NA

1. set CONFIG_CRYPTO_SM2/3 to y:
The module signature based on SM2 cert has been supported now.
So the SM2/3 should be enabled by default to support SM2 cert
in kernel boot process.

2. set CONFIG_CRYPTO_SM3_GENERIC to y:
sm3-generic is architecture independent and should be build
in case other modules fail.

3. set CONFIG_CRYPTO_SM4_GENERIC to m:
sm4-generic is architecture independent and should be build
in case other modules fail.

4. enable algorithm implementations related to architecture:
Enable SM4-CE, SM4-NEON, SM3-AVX to imporve algorithm
performance.
 
 
Link:https://gitee.com/openeuler/kernel/pulls/262

 
Reviewed-by: default avatarLiu Chao <liuchao173@huawei.com>
Reviewed-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parents 558f52b6 a20bead4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment