!47 crypto: enable some SM configs
Merge Pull Request from: @HuaxinLuGitee 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. [Testing] SM2 and SM3 has been enabled by default. cat /proc/crypto | grep sm3 -A8 name : sm3 driver : sm3-generic module : kernel priority : 100 refcnt : 3 selftest : passed internal : no type : shash blocksize : 64 digestsize : 32 cat /proc/crypto | grep sm2 -A6 name : sm2 driver : sm2-generic module : kernel priority : 100 refcnt : 1 selftest : passed internal : no type : akcipher Link:https://gitee.com/openeuler/kernel/pulls/47 Reviewed-by: Liu Chao <liuchao173@huawei.com> Reviewed-by: Kai Liu <kai.liu@suse.com> Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
Showing
想要评论请 注册 或 登录