Lines Matching refs:algs
207 int simd_register_skciphers_compat(struct skcipher_alg *algs, int count, in simd_register_skciphers_compat() argument
217 err = crypto_register_skciphers(algs, count); in simd_register_skciphers_compat()
222 WARN_ON(strncmp(algs[i].base.cra_name, "__", 2)); in simd_register_skciphers_compat()
223 WARN_ON(strncmp(algs[i].base.cra_driver_name, "__", 2)); in simd_register_skciphers_compat()
224 algname = algs[i].base.cra_name + 2; in simd_register_skciphers_compat()
225 drvname = algs[i].base.cra_driver_name + 2; in simd_register_skciphers_compat()
226 basename = algs[i].base.cra_driver_name; in simd_register_skciphers_compat()
227 simd = simd_skcipher_create_compat(algs + i, algname, drvname, basename); in simd_register_skciphers_compat()
236 simd_unregister_skciphers(algs, count, simd_algs); in simd_register_skciphers_compat()
241 void simd_unregister_skciphers(struct skcipher_alg *algs, int count, in simd_unregister_skciphers() argument
246 crypto_unregister_skciphers(algs, count); in simd_unregister_skciphers()
430 int simd_register_aeads_compat(struct aead_alg *algs, int count, in simd_register_aeads_compat() argument
440 err = crypto_register_aeads(algs, count); in simd_register_aeads_compat()
445 WARN_ON(strncmp(algs[i].base.cra_name, "__", 2)); in simd_register_aeads_compat()
446 WARN_ON(strncmp(algs[i].base.cra_driver_name, "__", 2)); in simd_register_aeads_compat()
447 algname = algs[i].base.cra_name + 2; in simd_register_aeads_compat()
448 drvname = algs[i].base.cra_driver_name + 2; in simd_register_aeads_compat()
449 basename = algs[i].base.cra_driver_name; in simd_register_aeads_compat()
450 simd = simd_aead_create_compat(algs + i, algname, drvname, basename); in simd_register_aeads_compat()
459 simd_unregister_aeads(algs, count, simd_algs); in simd_register_aeads_compat()
464 void simd_unregister_aeads(struct aead_alg *algs, int count, in simd_unregister_aeads() argument
469 crypto_unregister_aeads(algs, count); in simd_unregister_aeads()