Home
last modified time | relevance | path

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

/linux-4.19.296/crypto/
Dacompress.c74 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()
Dproc.c63 if (alg->cra_type && alg->cra_type->show) { in c_show()
64 alg->cra_type->show(m, alg); in c_show()
Dahash.c468 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()
Dskcipher.c586 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()
Dkpp.c103 base->cra_type = &crypto_kpp_type; in kpp_prepare_alg()
Dcrypto_user.c189 if (alg->cra_type && alg->cra_type->report) { in crypto_report_one()
190 if (alg->cra_type->report(skb, alg)) in crypto_report_one()
Dapi.c299 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()
Dakcipher.c120 base->cra_type = &crypto_akcipher_type; in akcipher_prepare_alg()
Darc4.c140 .cra_type = &crypto_blkcipher_type,
Dcrypto_null.c130 .cra_type = &crypto_blkcipher_type,
Drng.c190 base->cra_type = &crypto_rng_type; in crypto_register_rng()
Decb.c141 inst->alg.cra_type = &crypto_blkcipher_type; in crypto_ecb_alloc()
Dalgapi.c63 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()
Dscompress.c284 base->cra_type = &crypto_scomp_type; in crypto_register_scomp()
Dkeywrap.c339 inst->alg.cra_type = &crypto_blkcipher_type; in crypto_kw_alloc()
Daead.c368 base->cra_type = &crypto_aead_type; in aead_prepare_alg()
Dctr.c221 inst->alg.cra_type = &crypto_blkcipher_type; in crypto_ctr_alloc()
Dshash.c486 base->cra_type = &crypto_shash_type; in shash_prepare_alg()
Dcryptd.c419 inst->alg.cra_type = &crypto_ablkcipher_type; in cryptd_create_blkcipher()
/linux-4.19.296/include/linux/
Dcrypto.h476 const struct crypto_type *cra_type; member