Home
last modified time | relevance | path

Searched refs:cra_type (Results 1 – 18 of 18) sorted by relevance

/linux-6.15/crypto/
H A Dproc.c61 if (alg->cra_type && alg->cra_type->show) { in c_show()
62 alg->cra_type->show(m, alg); in c_show()
H A Dskcipher.c312 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()
H A Dapi.c364 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()
H A Dcrypto_user.c115 if (alg->cra_type && alg->cra_type->report) { in crypto_report_one()
116 if (alg->cra_type->report(skb, alg)) in crypto_report_one()
H A Dacompress.c80 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()
H A Dkpp.c110 base->cra_type = &crypto_kpp_type; in kpp_prepare_alg()
H A Dsig.c124 base->cra_type = &crypto_sig_type; in sig_prepare_alg()
H A Drng.c177 base->cra_type = &crypto_rng_type; in crypto_register_rng()
H A Dahash.c833 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()
H A Dakcipher.c122 base->cra_type = &crypto_akcipher_type; in akcipher_prepare_alg()
H A Daead.c223 base->cra_type = &crypto_aead_type; in aead_prepare_alg()
H A Dalgapi.c50 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()
H A Dshash.c321 base->cra_type = &crypto_shash_type; in shash_prepare_alg()
H A Dscompress.c392 base->cra_type = &crypto_scomp_type; in crypto_register_scomp()
H A Dlskcipher.c355 base->cra_type = &crypto_lskcipher_type; in lskcipher_prepare_alg()
/linux-6.15/arch/powerpc/crypto/
H A Daes.c120 .cra_type = NULL,
/linux-6.15/include/linux/
H A Dcrypto.h343 const struct crypto_type *cra_type; member
/linux-6.15/Documentation/crypto/
H A Ddevel-algos.rst61 crypto_alg field .cra_type is empty. The .cra_u.cipher has to be