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_register_alg(struct crypto_alg *alg) in __crypto_register_alg()
221 struct crypto_alg *q; in __crypto_register_alg()
286 struct crypto_alg *alg; in crypto_alg_tested()
287 struct crypto_alg *q; in crypto_alg_tested()
382 struct crypto_alg *alg; in crypto_remove_final()
383 struct crypto_alg *n; in crypto_remove_final()
412 int crypto_register_alg(struct crypto_alg *alg) in crypto_register_alg()
434 static int crypto_remove_alg(struct crypto_alg *alg, struct list_head *list) in crypto_remove_alg()
447 void crypto_unregister_alg(struct crypto_alg *alg) in crypto_unregister_alg()
467 int crypto_register_algs(struct crypto_alg *algs, int count) in crypto_register_algs()
487 void crypto_unregister_algs(struct crypto_alg *algs, int count) in crypto_unregister_algs()
672 struct crypto_alg *alg; in crypto_grab_spawn()
719 static struct crypto_alg *crypto_spawn_alg(struct crypto_spawn *spawn) in crypto_spawn_alg()
721 struct crypto_alg *alg = ERR_PTR(-EAGAIN); in crypto_spawn_alg()
722 struct crypto_alg *target; in crypto_spawn_alg()
747 struct crypto_alg *alg; in crypto_spawn_tfm()
772 struct crypto_alg *alg; in crypto_spawn_tfm2()
890 struct crypto_alg *alg) in crypto_inst_setname()
1047 unsigned int crypto_alg_extsize(struct crypto_alg *alg) in crypto_alg_extsize()
1058 struct crypto_alg *alg = crypto_find_alg(name, frontend, type, mask); in crypto_type_has_alg()
1070 void crypto_stats_init(struct crypto_alg *alg) in crypto_stats_init()
1076 void crypto_stats_get(struct crypto_alg *alg) in crypto_stats_get()
1082 void crypto_stats_aead_encrypt(unsigned int cryptlen, struct crypto_alg *alg, in crypto_stats_aead_encrypt()
1095 void crypto_stats_aead_decrypt(unsigned int cryptlen, struct crypto_alg *alg, in crypto_stats_aead_decrypt()
1109 struct crypto_alg *alg) in crypto_stats_akcipher_encrypt()
1122 struct crypto_alg *alg) in crypto_stats_akcipher_decrypt()
1134 void crypto_stats_akcipher_sign(int ret, struct crypto_alg *alg) in crypto_stats_akcipher_sign()
1144 void crypto_stats_akcipher_verify(int ret, struct crypto_alg *alg) in crypto_stats_akcipher_verify()
1154 void crypto_stats_compress(unsigned int slen, int ret, struct crypto_alg *alg) in crypto_stats_compress()
1166 void crypto_stats_decompress(unsigned int slen, int ret, struct crypto_alg *alg) in crypto_stats_decompress()
1179 struct crypto_alg *alg) in crypto_stats_ahash_update()
1190 struct crypto_alg *alg) in crypto_stats_ahash_final()
1202 void crypto_stats_kpp_set_secret(struct crypto_alg *alg, int ret) in crypto_stats_kpp_set_secret()
1212 void crypto_stats_kpp_generate_public_key(struct crypto_alg *alg, int ret) in crypto_stats_kpp_generate_public_key()
1222 void crypto_stats_kpp_compute_shared_secret(struct crypto_alg *alg, int ret) in crypto_stats_kpp_compute_shared_secret()
1232 void crypto_stats_rng_seed(struct crypto_alg *alg, int ret) in crypto_stats_rng_seed()
1242 void crypto_stats_rng_generate(struct crypto_alg *alg, unsigned int dlen, in crypto_stats_rng_generate()
1256 struct crypto_alg *alg) in crypto_stats_skcipher_encrypt()
1269 struct crypto_alg *alg) in crypto_stats_skcipher_decrypt()