Searched refs:cra_type (Results 1 – 18 of 18) sorted by relevance
61 if (alg->cra_type && alg->cra_type->show) { in c_show()62 alg->cra_type->show(m, alg); in c_show()
312 if (alg->co.base.cra_type != &crypto_skcipher_type) in skcipher_walk_virt()405 if (cipher->co.base.cra_type != &crypto_skcipher_type) { in crypto_skcipher_setkey()442 if (alg->co.base.cra_type != &crypto_skcipher_type) in crypto_skcipher_encrypt()455 if (alg->co.base.cra_type != &crypto_skcipher_type) in crypto_skcipher_decrypt()502 if (alg->co.base.cra_type != &crypto_skcipher_type) in crypto_skcipher_export()513 if (alg->co.base.cra_type != &crypto_skcipher_type) in crypto_skcipher_import()534 if (tfm->__crt_alg->cra_type != &crypto_skcipher_type) { in crypto_skcipher_init_tfm()557 if (alg->cra_type != &crypto_skcipher_type) in crypto_skcipher_extsize()710 base->cra_type = &crypto_skcipher_type; in skcipher_prepare_alg()
364 const struct crypto_type *type = tfm->__crt_alg->cra_type; in crypto_exit_ops()372 const struct crypto_type *type_obj = alg->cra_type; in crypto_ctxsize()708 if (alg->cra_type && alg->cra_type->destroy) in crypto_destroy_alg()709 alg->cra_type->destroy(alg); in crypto_destroy_alg()
115 if (alg->cra_type && alg->cra_type->report) { in crypto_report_one()116 if (alg->cra_type->report(skb, alg)) in crypto_report_one()
80 if (tfm->__crt_alg->cra_type != &crypto_acomp_type) in crypto_acomp_init_tfm()120 if (alg->cra_type != &crypto_acomp_type) in crypto_acomp_extsize()395 base->cra_type = &crypto_acomp_type; in crypto_register_acomp()
110 base->cra_type = &crypto_kpp_type; in kpp_prepare_alg()
124 base->cra_type = &crypto_sig_type; in sig_prepare_alg()
177 base->cra_type = &crypto_rng_type; in crypto_register_rng()
833 if (tfm->__crt_alg->cra_type == &crypto_shash_type) in crypto_ahash_init_tfm()846 if (alg->cra_type == &crypto_shash_type) in crypto_ahash_extsize()928 if (alg->cra_type == &crypto_shash_type) in crypto_hash_alg_has_setkey()1004 base->cra_type = &crypto_ahash_type; in ahash_prepare_alg()
122 base->cra_type = &crypto_akcipher_type; in akcipher_prepare_alg()
223 base->cra_type = &crypto_aead_type; in aead_prepare_alg()
50 if (!alg->cra_type && (alg->cra_flags & CRYPTO_ALG_TYPE_MASK) == in crypto_check_alg()69 inst->alg.cra_type->free(inst); in crypto_free_instance()
321 base->cra_type = &crypto_shash_type; in shash_prepare_alg()
392 base->cra_type = &crypto_scomp_type; in crypto_register_scomp()
355 base->cra_type = &crypto_lskcipher_type; in lskcipher_prepare_alg()
120 .cra_type = NULL,
343 const struct crypto_type *cra_type; member
61 crypto_alg field .cra_type is empty. The .cra_u.cipher has to be