Home
last modified time | relevance | path

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

/linux-6.12.1/crypto/
Dacompress.c69 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()
Dproc.c64 if (alg->cra_type && alg->cra_type->show) { in c_show()
65 alg->cra_type->show(m, alg); in c_show()
Dskcipher.c472 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()
Dcrypto_user.c126 if (alg->cra_type && alg->cra_type->report) { in crypto_report_one()
127 if (alg->cra_type->report(skb, alg)) in crypto_report_one()
Dahash.c477 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()
Dsig.c26 if (tfm->__crt_alg->cra_type != &crypto_sig_type) in crypto_sig_init_tfm()
Dkpp.c110 base->cra_type = &crypto_kpp_type; in kpp_prepare_alg()
Drng.c177 base->cra_type = &crypto_rng_type; in crypto_register_rng()
Dapi.c367 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()
Dakcipher.c109 base->cra_type = &crypto_akcipher_type; in akcipher_prepare_alg()
Daead.c222 base->cra_type = &crypto_aead_type; in aead_prepare_alg()
Dscompress.c286 base->cra_type = &crypto_scomp_type; in crypto_register_scomp()
Dalgapi.c56 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()
Dshash.c321 base->cra_type = &crypto_shash_type; in shash_prepare_alg()
Dlskcipher.c355 base->cra_type = &crypto_lskcipher_type; in lskcipher_prepare_alg()
/linux-6.12.1/arch/powerpc/crypto/
Daes.c120 .cra_type = NULL,
/linux-6.12.1/include/linux/
Dcrypto.h358 const struct crypto_type *cra_type; member
/linux-6.12.1/Documentation/crypto/
Ddevel-algos.rst61 crypto_alg field .cra_type is empty. The .cra_u.cipher has to be