Searched refs:cra_type (Results 1 – 18 of 18) sorted by relevance
69 if (tfm->__crt_alg->cra_type != &crypto_acomp_type) in crypto_acomp_init_tfm()90 if (alg->cra_type != &crypto_acomp_type) in crypto_acomp_extsize()132 if (req && (tfm->__crt_alg->cra_type != &crypto_acomp_type)) in acomp_request_alloc()144 if (tfm->__crt_alg->cra_type != &crypto_acomp_type) in acomp_request_free()169 base->cra_type = &crypto_acomp_type; in crypto_register_acomp()
64 if (alg->cra_type && alg->cra_type->show) { in c_show()65 alg->cra_type->show(m, alg); in c_show()
472 if (alg->co.base.cra_type != &crypto_skcipher_type) in skcipher_walk_skcipher()604 if (cipher->co.base.cra_type != &crypto_skcipher_type) { in crypto_skcipher_setkey()641 if (alg->co.base.cra_type != &crypto_skcipher_type) in crypto_skcipher_encrypt()654 if (alg->co.base.cra_type != &crypto_skcipher_type) in crypto_skcipher_decrypt()701 if (alg->co.base.cra_type != &crypto_skcipher_type) in crypto_skcipher_export()712 if (alg->co.base.cra_type != &crypto_skcipher_type) in crypto_skcipher_import()733 if (tfm->__crt_alg->cra_type != &crypto_skcipher_type) { in crypto_skcipher_init_tfm()756 if (alg->cra_type != &crypto_skcipher_type) in crypto_skcipher_extsize()908 base->cra_type = &crypto_skcipher_type; in skcipher_prepare_alg()
126 if (alg->cra_type && alg->cra_type->report) { in crypto_report_one()127 if (alg->cra_type->report(skb, alg)) in crypto_report_one()
477 if (tfm->__crt_alg->cra_type == &crypto_shash_type) in crypto_ahash_init_tfm()490 if (alg->cra_type == &crypto_shash_type) in crypto_ahash_extsize()572 if (alg->cra_type == &crypto_shash_type) in crypto_hash_alg_has_setkey()645 base->cra_type = &crypto_ahash_type; in ahash_prepare_alg()
26 if (tfm->__crt_alg->cra_type != &crypto_sig_type) in crypto_sig_init_tfm()
110 base->cra_type = &crypto_kpp_type; in kpp_prepare_alg()
177 base->cra_type = &crypto_rng_type; in crypto_register_rng()
367 const struct crypto_type *type = tfm->__crt_alg->cra_type; in crypto_exit_ops()375 const struct crypto_type *type_obj = alg->cra_type; in crypto_ctxsize()
109 base->cra_type = &crypto_akcipher_type; in akcipher_prepare_alg()
222 base->cra_type = &crypto_aead_type; in aead_prepare_alg()
286 base->cra_type = &crypto_scomp_type; in crypto_register_scomp()
56 if (!alg->cra_type && (alg->cra_flags & CRYPTO_ALG_TYPE_MASK) == in crypto_check_alg()75 inst->alg.cra_type->free(inst); in crypto_free_instance()
321 base->cra_type = &crypto_shash_type; in shash_prepare_alg()
355 base->cra_type = &crypto_lskcipher_type; in lskcipher_prepare_alg()
120 .cra_type = NULL,
358 const struct crypto_type *cra_type; member
61 crypto_alg field .cra_type is empty. The .cra_u.cipher has to be