Lines Matching refs:crypto_alg
31 static int crypto_check_alg(struct crypto_alg *alg) in crypto_check_alg()
76 static void crypto_destroy_instance(struct crypto_alg *alg) in crypto_destroy_instance()
85 static struct list_head *crypto_more_spawns(struct crypto_alg *alg, in crypto_more_spawns()
129 void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list, in crypto_remove_spawns()
130 struct crypto_alg *nalg) in crypto_remove_spawns()
190 static struct crypto_larval *__crypto_register_alg(struct crypto_alg *alg) in __crypto_register_alg()
192 struct crypto_alg *q; in __crypto_register_alg()
257 struct crypto_alg *alg; in crypto_alg_tested()
258 struct crypto_alg *q; in crypto_alg_tested()
335 struct crypto_alg *alg; in crypto_remove_final()
336 struct crypto_alg *n; in crypto_remove_final()
365 int crypto_register_alg(struct crypto_alg *alg) in crypto_register_alg()
387 static int crypto_remove_alg(struct crypto_alg *alg, struct list_head *list) in crypto_remove_alg()
400 int crypto_unregister_alg(struct crypto_alg *alg) in crypto_unregister_alg()
421 int crypto_register_algs(struct crypto_alg *algs, int count) in crypto_register_algs()
441 int crypto_unregister_algs(struct crypto_alg *algs, int count) in crypto_unregister_algs()
614 int crypto_init_spawn(struct crypto_spawn *spawn, struct crypto_alg *alg, in crypto_init_spawn()
637 int crypto_init_spawn2(struct crypto_spawn *spawn, struct crypto_alg *alg, in crypto_init_spawn2()
657 struct crypto_alg *alg; in crypto_grab_spawn()
681 static struct crypto_alg *crypto_spawn_alg(struct crypto_spawn *spawn) in crypto_spawn_alg()
683 struct crypto_alg *alg; in crypto_spawn_alg()
684 struct crypto_alg *alg2; in crypto_spawn_alg()
705 struct crypto_alg *alg; in crypto_spawn_tfm()
730 struct crypto_alg *alg; in crypto_spawn_tfm2()
812 struct crypto_alg *crypto_attr_alg2(struct rtattr *rta, in crypto_attr_alg2()
845 struct crypto_alg *alg) in crypto_inst_setname()
859 void *crypto_alloc_instance(const char *name, struct crypto_alg *alg, in crypto_alloc_instance()
1020 unsigned int crypto_alg_extsize(struct crypto_alg *alg) in crypto_alg_extsize()
1031 struct crypto_alg *alg = crypto_find_alg(name, frontend, type, mask); in crypto_type_has_alg()
1043 void crypto_stats_init(struct crypto_alg *alg) in crypto_stats_init()
1049 void crypto_stats_get(struct crypto_alg *alg) in crypto_stats_get()
1056 struct crypto_alg *alg) in crypto_stats_ablkcipher_encrypt()
1069 struct crypto_alg *alg) in crypto_stats_ablkcipher_decrypt()
1081 void crypto_stats_aead_encrypt(unsigned int cryptlen, struct crypto_alg *alg, in crypto_stats_aead_encrypt()
1094 void crypto_stats_aead_decrypt(unsigned int cryptlen, struct crypto_alg *alg, in crypto_stats_aead_decrypt()
1108 struct crypto_alg *alg) in crypto_stats_akcipher_encrypt()
1121 struct crypto_alg *alg) in crypto_stats_akcipher_decrypt()
1133 void crypto_stats_akcipher_sign(int ret, struct crypto_alg *alg) in crypto_stats_akcipher_sign()
1143 void crypto_stats_akcipher_verify(int ret, struct crypto_alg *alg) in crypto_stats_akcipher_verify()
1153 void crypto_stats_compress(unsigned int slen, int ret, struct crypto_alg *alg) in crypto_stats_compress()
1165 void crypto_stats_decompress(unsigned int slen, int ret, struct crypto_alg *alg) in crypto_stats_decompress()
1178 struct crypto_alg *alg) in crypto_stats_ahash_update()
1189 struct crypto_alg *alg) in crypto_stats_ahash_final()
1201 void crypto_stats_kpp_set_secret(struct crypto_alg *alg, int ret) in crypto_stats_kpp_set_secret()
1211 void crypto_stats_kpp_generate_public_key(struct crypto_alg *alg, int ret) in crypto_stats_kpp_generate_public_key()
1221 void crypto_stats_kpp_compute_shared_secret(struct crypto_alg *alg, int ret) in crypto_stats_kpp_compute_shared_secret()
1231 void crypto_stats_rng_seed(struct crypto_alg *alg, int ret) in crypto_stats_rng_seed()
1241 void crypto_stats_rng_generate(struct crypto_alg *alg, unsigned int dlen, in crypto_stats_rng_generate()
1255 struct crypto_alg *alg) in crypto_stats_skcipher_encrypt()
1268 struct crypto_alg *alg) in crypto_stats_skcipher_decrypt()