Home
last modified time | relevance | path

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

123

/Linux-v4.19/crypto/
Dcipher.c27 struct cipher_alg *cia = &tfm->__crt_alg->cra_cipher; in setkey_unaligned()
49 struct cipher_alg *cia = &tfm->__crt_alg->cra_cipher; in setkey()
83 struct cipher_alg *cipher = &tfm->__crt_alg->cra_cipher; in cipher_encrypt_unaligned()
97 struct cipher_alg *cipher = &tfm->__crt_alg->cra_cipher; in cipher_decrypt_unaligned()
110 struct cipher_alg *cipher = &tfm->__crt_alg->cra_cipher; in crypto_init_cipher_ops()
Dcompress.c24 return tfm->__crt_alg->cra_compress.coa_compress(tfm, src, slen, dst, in crypto_compress()
32 return tfm->__crt_alg->cra_compress.coa_decompress(tfm, src, slen, dst, in crypto_decompress()
Dblkcipher.c376 struct blkcipher_alg *cipher = &tfm->__crt_alg->cra_blkcipher; in setkey_unaligned()
397 struct blkcipher_alg *cipher = &tfm->__crt_alg->cra_blkcipher; in setkey()
420 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in async_encrypt()
434 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in async_decrypt()
462 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in crypto_init_blkcipher_ops_async()
476 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in crypto_init_blkcipher_ops_sync()
486 addr += ALIGN(tfm->__crt_alg->cra_ctxsize, align); in crypto_init_blkcipher_ops_sync()
494 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in crypto_init_blkcipher_ops()
Dacompress.c74 if (tfm->__crt_alg->cra_type != &crypto_acomp_type) in crypto_acomp_init_tfm()
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()
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()
372 tfm->__crt_alg = alg; in __crypto_alloc_tfm()
469 tfm->__crt_alg = alg; in crypto_create_tfm()
578 alg = tfm->__crt_alg; in crypto_destroy_tfm()
Dskcipher.c629 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in skcipher_encrypt_blkcipher()
638 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in skcipher_decrypt_blkcipher()
652 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_skcipher_ops_blkcipher()
727 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in skcipher_encrypt_ablkcipher()
736 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in skcipher_decrypt_ablkcipher()
750 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_skcipher_ops_ablkcipher()
842 if (tfm->__crt_alg->cra_type == &crypto_blkcipher_type) in crypto_skcipher_init_tfm()
845 if (tfm->__crt_alg->cra_type == &crypto_ablkcipher_type || in crypto_skcipher_init_tfm()
846 tfm->__crt_alg->cra_type == &crypto_givcipher_type) in crypto_skcipher_init_tfm()
Dablkcipher.c348 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in crypto_init_ablkcipher_ops()
422 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in crypto_init_givcipher_ops()
428 crt->setkey = tfm->__crt_alg->cra_flags & CRYPTO_ALG_GENIV ? in crypto_init_givcipher_ops()
Decb.c99 struct crypto_instance *inst = (void *)tfm->__crt_alg; in crypto_ecb_init_tfm()
/Linux-v4.19/include/linux/
Dcrypto.h606 struct crypto_alg *__crt_alg; member
672 return tfm->__crt_alg->cra_name; in crypto_tfm_alg_name()
677 return tfm->__crt_alg->cra_driver_name; in crypto_tfm_alg_driver_name()
682 return tfm->__crt_alg->cra_priority; in crypto_tfm_alg_priority()
687 return tfm->__crt_alg->cra_flags & CRYPTO_ALG_TYPE_MASK; in crypto_tfm_alg_type()
692 return tfm->__crt_alg->cra_blocksize; in crypto_tfm_alg_blocksize()
697 return tfm->__crt_alg->cra_alignmask; in crypto_tfm_alg_alignmask()
1205 return &crypto_blkcipher_tfm(tfm)->__crt_alg->cra_blkcipher; in crypto_blkcipher_alg()
/Linux-v4.19/drivers/crypto/ccp/
Dccp-crypto.h72 struct crypto_alg *alg = tfm->__crt_alg; in ccp_crypto_ablkcipher_alg()
80 struct crypto_alg *alg = tfm->__crt_alg; in ccp_crypto_ahash_alg()
/Linux-v4.19/include/crypto/internal/
Dkpp.h38 return crypto_kpp_tfm(tfm)->__crt_alg->cra_name; in kpp_alg_name()
Dacompress.h39 return crypto_acomp_tfm(tfm)->__crt_alg->cra_name; in acomp_alg_name()
Dakcipher.h60 return crypto_akcipher_tfm(tfm)->__crt_alg->cra_name; in akcipher_alg_name()
Dscompress.h67 return __crypto_scomp_alg(crypto_scomp_tfm(tfm)->__crt_alg); in crypto_scomp_alg()
/Linux-v4.19/drivers/crypto/qce/
Dcipher.h58 struct crypto_alg *alg = tfm->__crt_alg; in to_cipher_tmpl()
/Linux-v4.19/include/crypto/
Dalgapi.h269 return container_of(tfm->__crt_alg, struct crypto_instance, alg); in crypto_tfm_alg_instance()
280 return &crypto_ablkcipher_tfm(tfm)->__crt_alg->cra_ablkcipher; in crypto_ablkcipher_alg()
323 return &crypto_cipher_tfm(tfm)->__crt_alg->cra_cipher; in crypto_cipher_alg()
Drng.h112 return container_of(crypto_rng_tfm(tfm)->__crt_alg, in crypto_rng_alg()
Dhash.h317 return __crypto_hash_alg_common(crypto_ahash_tfm(tfm)->__crt_alg); in crypto_hash_alg_common()
738 return __crypto_shash_alg(crypto_shash_tfm(tfm)->__crt_alg); in crypto_shash_alg()
Dacompress.h132 return __crypto_acomp_alg(crypto_acomp_tfm(tfm)->__crt_alg); in crypto_acomp_alg()
Dkpp.h129 return __crypto_kpp_alg(crypto_kpp_tfm(tfm)->__crt_alg); in crypto_kpp_alg()
Dakcipher.h153 return __crypto_akcipher_alg(crypto_akcipher_tfm(tfm)->__crt_alg); in crypto_akcipher_alg()
Daead.h198 return container_of(crypto_aead_tfm(tfm)->__crt_alg, in crypto_aead_alg()
Dskcipher.h253 return container_of(crypto_skcipher_tfm(tfm)->__crt_alg, in crypto_skcipher_alg()
/Linux-v4.19/drivers/crypto/
Dpicoxcell_crypto.c850 struct crypto_alg *alg = req->req->tfm->__crt_alg; in spacc_ablk_need_fallback()
882 struct crypto_alg *alg = req->req->tfm->__crt_alg; in spacc_ablk_submit()
939 struct crypto_alg *alg = req->base.tfm->__crt_alg; in spacc_ablk_setup()
1016 struct crypto_alg *alg = tfm->__crt_alg; in spacc_ablk_cra_init()
1051 struct spacc_alg *alg = to_spacc_alg(tfm->__crt_alg); in spacc_ablk_encrypt()
1060 struct spacc_alg *alg = to_spacc_alg(tfm->__crt_alg); in spacc_ablk_decrypt()
1139 struct crypto_alg *alg = req->req->tfm->__crt_alg; in spacc_req_submit()
/Linux-v4.19/drivers/crypto/sunxi-ss/
Dsun4i-ss-hash.c24 struct ahash_alg *alg = __crypto_ahash_alg(tfm->__crt_alg); in sun4i_hash_crainit()
42 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun4i_hash_init()

123