Searched refs:cra_type (Results 1 – 20 of 20) sorted by relevance
74 if (tfm->__crt_alg->cra_type != &crypto_acomp_type) in crypto_acomp_init_tfm()95 if (alg->cra_type != &crypto_acomp_type) in crypto_acomp_extsize()127 if (req && (tfm->__crt_alg->cra_type != &crypto_acomp_type)) in acomp_request_alloc()139 if (tfm->__crt_alg->cra_type != &crypto_acomp_type) in acomp_request_free()155 base->cra_type = &crypto_acomp_type; in crypto_register_acomp()
63 if (alg->cra_type && alg->cra_type->show) { in c_show()64 alg->cra_type->show(m, alg); in c_show()
468 if (tfm->__crt_alg->cra_type != &crypto_ahash_type) in crypto_ahash_init_tfm()489 if (alg->cra_type != &crypto_ahash_type) in crypto_ahash_extsize()568 base->cra_type = &crypto_ahash_type; in ahash_prepare_alg()665 if (alg->cra_type != &crypto_ahash_type) in crypto_hash_alg_has_setkey()
586 if (alg->cra_type == &crypto_blkcipher_type) in crypto_skcipher_extsize()589 if (alg->cra_type == &crypto_ablkcipher_type || in crypto_skcipher_extsize()590 alg->cra_type == &crypto_givcipher_type) in crypto_skcipher_extsize()861 if (tfm->__crt_alg->cra_type == &crypto_blkcipher_type) in crypto_skcipher_init_tfm()864 if (tfm->__crt_alg->cra_type == &crypto_ablkcipher_type || in crypto_skcipher_init_tfm()865 tfm->__crt_alg->cra_type == &crypto_givcipher_type) in crypto_skcipher_init_tfm()990 base->cra_type = &crypto_skcipher_type2; in skcipher_prepare_alg()
103 base->cra_type = &crypto_kpp_type; in kpp_prepare_alg()
189 if (alg->cra_type && alg->cra_type->report) { in crypto_report_one()190 if (alg->cra_type->report(skb, alg)) in crypto_report_one()
299 const struct crypto_type *type_obj = tfm->__crt_alg->cra_type; in crypto_init_ops()321 const struct crypto_type *type = tfm->__crt_alg->cra_type; in crypto_exit_ops()329 const struct crypto_type *type_obj = alg->cra_type; in crypto_ctxsize()
120 base->cra_type = &crypto_akcipher_type; in akcipher_prepare_alg()
140 .cra_type = &crypto_blkcipher_type,
130 .cra_type = &crypto_blkcipher_type,
190 base->cra_type = &crypto_rng_type; in crypto_register_rng()
141 inst->alg.cra_type = &crypto_blkcipher_type; in crypto_ecb_alloc()
63 if (!alg->cra_type && (alg->cra_flags & CRYPTO_ALG_TYPE_MASK) == in crypto_check_alg()82 if (!inst->alg.cra_type->free) { in crypto_free_instance()87 inst->alg.cra_type->free(inst); in crypto_free_instance()
284 base->cra_type = &crypto_scomp_type; in crypto_register_scomp()
339 inst->alg.cra_type = &crypto_blkcipher_type; in crypto_kw_alloc()
368 base->cra_type = &crypto_aead_type; in aead_prepare_alg()
221 inst->alg.cra_type = &crypto_blkcipher_type; in crypto_ctr_alloc()
486 base->cra_type = &crypto_shash_type; in shash_prepare_alg()
419 inst->alg.cra_type = &crypto_ablkcipher_type; in cryptd_create_blkcipher()
476 const struct crypto_type *cra_type; member