Lines Matching refs:crypto_alg
31 static int crypto_check_alg(struct crypto_alg *alg) in crypto_check_alg()
71 static void crypto_destroy_instance(struct crypto_alg *alg) in crypto_destroy_instance()
89 static struct list_head *crypto_more_spawns(struct crypto_alg *alg, in crypto_more_spawns()
139 void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list, in crypto_remove_spawns()
140 struct crypto_alg *nalg) in crypto_remove_spawns()
219 static struct crypto_larval *crypto_alloc_test_larval(struct crypto_alg *alg) in crypto_alloc_test_larval()
245 static struct crypto_larval *__crypto_register_alg(struct crypto_alg *alg) in __crypto_register_alg()
247 struct crypto_alg *q; in __crypto_register_alg()
303 struct crypto_alg *alg; in crypto_alg_tested()
304 struct crypto_alg *q; in crypto_alg_tested()
399 struct crypto_alg *alg; in crypto_remove_final()
400 struct crypto_alg *n; in crypto_remove_final()
409 int crypto_register_alg(struct crypto_alg *alg) in crypto_register_alg()
436 static int crypto_remove_alg(struct crypto_alg *alg, struct list_head *list) in crypto_remove_alg()
449 void crypto_unregister_alg(struct crypto_alg *alg) in crypto_unregister_alg()
469 int crypto_register_algs(struct crypto_alg *algs, int count) in crypto_register_algs()
489 void crypto_unregister_algs(struct crypto_alg *algs, int count) in crypto_unregister_algs()
676 struct crypto_alg *alg; in crypto_grab_spawn()
723 static struct crypto_alg *crypto_spawn_alg(struct crypto_spawn *spawn) in crypto_spawn_alg()
725 struct crypto_alg *alg = ERR_PTR(-EAGAIN); in crypto_spawn_alg()
726 struct crypto_alg *target; in crypto_spawn_alg()
751 struct crypto_alg *alg; in crypto_spawn_tfm()
776 struct crypto_alg *alg; in crypto_spawn_tfm2()
876 struct crypto_alg *alg) in crypto_inst_setname()
1033 unsigned int crypto_alg_extsize(struct crypto_alg *alg) in crypto_alg_extsize()
1044 struct crypto_alg *alg = crypto_find_alg(name, frontend, type, mask); in crypto_type_has_alg()
1056 void crypto_stats_init(struct crypto_alg *alg) in crypto_stats_init()
1062 void crypto_stats_get(struct crypto_alg *alg) in crypto_stats_get()
1068 void crypto_stats_aead_encrypt(unsigned int cryptlen, struct crypto_alg *alg, in crypto_stats_aead_encrypt()
1081 void crypto_stats_aead_decrypt(unsigned int cryptlen, struct crypto_alg *alg, in crypto_stats_aead_decrypt()
1095 struct crypto_alg *alg) in crypto_stats_akcipher_encrypt()
1108 struct crypto_alg *alg) in crypto_stats_akcipher_decrypt()
1120 void crypto_stats_akcipher_sign(int ret, struct crypto_alg *alg) in crypto_stats_akcipher_sign()
1130 void crypto_stats_akcipher_verify(int ret, struct crypto_alg *alg) in crypto_stats_akcipher_verify()
1140 void crypto_stats_compress(unsigned int slen, int ret, struct crypto_alg *alg) in crypto_stats_compress()
1152 void crypto_stats_decompress(unsigned int slen, int ret, struct crypto_alg *alg) in crypto_stats_decompress()
1165 struct crypto_alg *alg) in crypto_stats_ahash_update()
1176 struct crypto_alg *alg) in crypto_stats_ahash_final()
1188 void crypto_stats_kpp_set_secret(struct crypto_alg *alg, int ret) in crypto_stats_kpp_set_secret()
1198 void crypto_stats_kpp_generate_public_key(struct crypto_alg *alg, int ret) in crypto_stats_kpp_generate_public_key()
1208 void crypto_stats_kpp_compute_shared_secret(struct crypto_alg *alg, int ret) in crypto_stats_kpp_compute_shared_secret()
1218 void crypto_stats_rng_seed(struct crypto_alg *alg, int ret) in crypto_stats_rng_seed()
1228 void crypto_stats_rng_generate(struct crypto_alg *alg, unsigned int dlen, in crypto_stats_rng_generate()
1242 struct crypto_alg *alg) in crypto_stats_skcipher_encrypt()
1255 struct crypto_alg *alg) in crypto_stats_skcipher_decrypt()
1272 struct crypto_alg *q; in crypto_start_tests()