Home
last modified time | relevance | path

Searched refs:__crt_alg (Results 1 – 25 of 52) sorted by relevance

123

/linux-6.15/include/linux/
H A Dcrypto.h415 struct crypto_alg *__crt_alg; member
437 return tfm->__crt_alg->cra_name; in crypto_tfm_alg_name()
442 return tfm->__crt_alg->cra_driver_name; in crypto_tfm_alg_driver_name()
447 return tfm->__crt_alg->cra_blocksize; in crypto_tfm_alg_blocksize()
452 return tfm->__crt_alg->cra_alignmask; in crypto_tfm_alg_alignmask()
491 return tfm->__crt_alg->cra_flags & CRYPTO_ALG_ASYNC; in crypto_tfm_is_async()
/linux-6.15/include/crypto/
H A Dalgapi.h208 return container_of(tfm->__crt_alg, struct crypto_instance, alg); in crypto_tfm_alg_instance()
266 return tfm->__crt_alg->cra_flags & CRYPTO_ALG_TYPE_MASK; in crypto_tfm_alg_type()
276 return tfm->__crt_alg->cra_flags & CRYPTO_ALG_REQ_CHAIN; in crypto_tfm_req_chain()
H A Dskcipher.h375 return container_of(crypto_skcipher_tfm(tfm)->__crt_alg, in crypto_skcipher_alg_common()
382 return container_of(crypto_skcipher_tfm(tfm)->__crt_alg, in crypto_skcipher_alg()
389 return container_of(crypto_lskcipher_tfm(tfm)->__crt_alg, in crypto_lskcipher_alg()
H A Drng.h114 return __crypto_rng_alg(crypto_rng_tfm(tfm)->__crt_alg); in crypto_rng_alg()
H A Dsig.h113 return __crypto_sig_alg(crypto_sig_tfm(tfm)->__crt_alg); in crypto_sig_alg()
H A Dhash.h340 return __crypto_hash_alg_common(crypto_ahash_tfm(tfm)->__crt_alg); in crypto_hash_alg_common()
769 return __crypto_shash_alg(crypto_shash_tfm(tfm)->__crt_alg); in crypto_shash_alg()
H A Dkpp.h131 return __crypto_kpp_alg(crypto_kpp_tfm(tfm)->__crt_alg); in crypto_kpp_alg()
H A Dakcipher.h142 return __crypto_akcipher_alg(crypto_akcipher_tfm(tfm)->__crt_alg); in crypto_akcipher_alg()
H A Daead.h218 return container_of(crypto_aead_tfm(tfm)->__crt_alg, in crypto_aead_alg()
H A Dacompress.h205 return __crypto_comp_alg_common(crypto_acomp_tfm(tfm)->__crt_alg); in crypto_comp_alg_common()
/linux-6.15/drivers/crypto/inside-secure/eip93/
H A Deip93-cipher.c53 struct eip93_alg_template *tmpl = container_of(tfm->__crt_alg, in eip93_skcipher_cra_init()
85 struct eip93_alg_template *tmpl = container_of(tfm->__crt_alg, in eip93_skcipher_setkey()
178 struct eip93_alg_template *tmpl = container_of(req->base.tfm->__crt_alg, in eip93_skcipher_encrypt()
191 struct eip93_alg_template *tmpl = container_of(req->base.tfm->__crt_alg, in eip93_skcipher_decrypt()
/linux-6.15/crypto/
H A Dapi.c364 const struct crypto_type *type = tfm->__crt_alg->cra_type; in crypto_exit_ops()
411 tfm->__crt_alg = alg; in __crypto_alloc_tfmgfp()
511 tfm->__crt_alg = alg; in crypto_alloc_tfmmem()
556 struct crypto_alg *alg = otfm->__crt_alg; in crypto_clone_tfm()
670 alg = tfm->__crt_alg; in crypto_destroy_tfm()
H A Dcipher.c96 struct crypto_alg *alg = tfm->__crt_alg; in crypto_clone_cipher()
H A Dcrypto_engine.c151 if (async_req->tfm->__crt_alg->cra_flags & CRYPTO_ALG_ENGINE) { in crypto_pump_requests()
152 alg = container_of(async_req->tfm->__crt_alg, in crypto_pump_requests()
H A Dacompress.c36 return __crypto_acomp_alg(crypto_acomp_tfm(tfm)->__crt_alg); in crypto_acomp_alg()
80 if (tfm->__crt_alg->cra_type != &crypto_acomp_type) in crypto_acomp_init_tfm()
H A Dxcbc.c165 struct crypto_instance *inst = (void *)tfm->__crt_alg; in xcbc_init_tfm()
H A Dcryptd.c964 if (tfm->base.__crt_alg->cra_module != THIS_MODULE) { in cryptd_alloc_skcipher()
1014 if (tfm->base.__crt_alg->cra_module != THIS_MODULE) { in cryptd_alloc_ahash()
1071 if (tfm->base.__crt_alg->cra_module != THIS_MODULE) { in cryptd_alloc_aead()
/linux-6.15/include/crypto/internal/
H A Dscompress.h70 return __crypto_scomp_alg(crypto_scomp_tfm(tfm)->__crt_alg); in crypto_scomp_alg()
H A Dkpp.h93 return crypto_kpp_tfm(tfm)->__crt_alg->cra_name; in kpp_alg_name()
H A Dakcipher.h77 return crypto_akcipher_tfm(tfm)->__crt_alg->cra_name; in akcipher_alg_name()
H A Dcipher.h217 return &crypto_cipher_tfm(tfm)->__crt_alg->cra_cipher; in crypto_cipher_alg()
/linux-6.15/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss-hash.c21 struct ahash_alg *alg = __crypto_ahash_alg(tfm->__crt_alg); in sun4i_hash_crainit()
51 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun4i_hash_init()
194 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun4i_hash()
/linux-6.15/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-hash.c209 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_need_fallback()
242 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_digest()
334 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_run()
/linux-6.15/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_reqmgr.c269 info->req->areq->tfm->__crt_alg->cra_name, in cpt_process_ccode()
270 info->req->areq->tfm->__crt_alg->cra_driver_name); in cpt_process_ccode()
/linux-6.15/drivers/crypto/ccp/
H A Dccp-crypto.h82 struct crypto_alg *alg = tfm->__crt_alg; in ccp_crypto_ahash_alg()

123