forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
kernel/arch/mips/crypto/chacha-glue.c
....@@ -128,13 +128,13 @@
128128
129129 static int __init chacha_simd_mod_init(void)
130130 {
131
- return IS_REACHABLE(CONFIG_CRYPTO_BLKCIPHER) ?
131
+ return IS_REACHABLE(CONFIG_CRYPTO_SKCIPHER) ?
132132 crypto_register_skciphers(algs, ARRAY_SIZE(algs)) : 0;
133133 }
134134
135135 static void __exit chacha_simd_mod_fini(void)
136136 {
137
- if (IS_REACHABLE(CONFIG_CRYPTO_BLKCIPHER))
137
+ if (IS_REACHABLE(CONFIG_CRYPTO_SKCIPHER))
138138 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs));
139139 }
140140