Commit a20bead4 authored by luhuaxin's avatar luhuaxin Committed by Huaxin Lu
Browse files

crypto: enable some SM configs

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.

Signed-off-by: default avatarluhuaxin <luhuaxin1@huawei.com>
parent f3ff7ed6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment