Home
last modified time | relevance | path

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

/linux-4.4.14/crypto/
Dskcipher.c73 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in skcipher_encrypt_blkcipher()
82 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in skcipher_decrypt_blkcipher()
96 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_skcipher_ops_blkcipher()
165 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in skcipher_encrypt_ablkcipher()
174 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in skcipher_decrypt_ablkcipher()
188 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_skcipher_ops_ablkcipher()
221 if (tfm->__crt_alg->cra_type == &crypto_blkcipher_type) in crypto_skcipher_init_tfm()
224 BUG_ON(tfm->__crt_alg->cra_type != &crypto_ablkcipher_type && in crypto_skcipher_init_tfm()
225 tfm->__crt_alg->cra_type != &crypto_givcipher_type); in crypto_skcipher_init_tfm()
Dcipher.c26 struct cipher_alg *cia = &tfm->__crt_alg->cra_cipher; in setkey_unaligned()
48 struct cipher_alg *cia = &tfm->__crt_alg->cra_cipher; in setkey()
82 struct cipher_alg *cipher = &tfm->__crt_alg->cra_cipher; in cipher_encrypt_unaligned()
96 struct cipher_alg *cipher = &tfm->__crt_alg->cra_cipher; in cipher_decrypt_unaligned()
109 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.c378 struct blkcipher_alg *cipher = &tfm->__crt_alg->cra_blkcipher; in setkey_unaligned()
399 struct blkcipher_alg *cipher = &tfm->__crt_alg->cra_blkcipher; in setkey()
422 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in async_encrypt()
436 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in async_decrypt()
464 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in crypto_init_blkcipher_ops_async()
482 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in crypto_init_blkcipher_ops_sync()
492 addr += ALIGN(tfm->__crt_alg->cra_ctxsize, align); in crypto_init_blkcipher_ops_sync()
500 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in crypto_init_blkcipher_ops()
723 struct crypto_instance *inst = (void *)tfm->__crt_alg; in skcipher_geniv_init()
Dapi.c289 const struct crypto_type *type_obj = tfm->__crt_alg->cra_type; in crypto_init_ops()
311 const struct crypto_type *type = tfm->__crt_alg->cra_type; in crypto_exit_ops()
378 tfm->__crt_alg = alg; in __crypto_alloc_tfm()
475 tfm->__crt_alg = alg; in crypto_create_tfm()
590 alg = tfm->__crt_alg; in crypto_destroy_tfm()
Dablkcipher.c365 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in crypto_init_ablkcipher_ops()
447 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in crypto_init_givcipher_ops()
453 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()
Dctr.c160 struct crypto_instance *inst = (void *)tfm->__crt_alg; in crypto_ctr_init_tfm()
308 struct crypto_instance *inst = (void *)tfm->__crt_alg; in crypto_rfc3686_init_tfm()
Dxcbc.c180 struct crypto_instance *inst = (void *)tfm->__crt_alg; in xcbc_init_tfm()
Dcmac.c206 struct crypto_instance *inst = (void *)tfm->__crt_alg; in cmac_init_tfm()
Dhmac.c160 struct crypto_instance *inst = (void *)tfm->__crt_alg; in hmac_init_tfm()
Dcryptd.c897 if (tfm->__crt_alg->cra_module != THIS_MODULE) { in cryptd_alloc_ablkcipher()
931 if (tfm->base.__crt_alg->cra_module != THIS_MODULE) { in cryptd_alloc_ahash()
973 if (tfm->base.__crt_alg->cra_module != THIS_MODULE) { in cryptd_alloc_aead()
Dshash.c334 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_shash_ops_async()
458 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_shash_ops_compat()
Dpcbc.c205 struct crypto_instance *inst = (void *)tfm->__crt_alg; in crypto_pcbc_init_tfm()
Dcbc.c195 struct crypto_instance *inst = (void *)tfm->__crt_alg; in crypto_cbc_init_tfm()
Dxts.c244 struct crypto_instance *inst = (void *)tfm->__crt_alg; in init_tfm()
Dcts.c255 struct crypto_instance *inst = (void *)tfm->__crt_alg; in crypto_cts_init_tfm()
Dlrw.c299 struct crypto_instance *inst = (void *)tfm->__crt_alg; in init_tfm()
Dahash.c459 if (tfm->__crt_alg->cra_type != &crypto_ahash_type) in crypto_ahash_init_tfm()
Dmcryptd.c609 if (tfm->base.__crt_alg->cra_module != THIS_MODULE) { in mcryptd_alloc_ahash()
Dvmac.c625 struct crypto_instance *inst = (void *)tfm->__crt_alg; in vmac_init_tfm()
/linux-4.4.14/include/linux/
Dcrypto.h563 struct crypto_alg *__crt_alg; member
633 return tfm->__crt_alg->cra_name; in crypto_tfm_alg_name()
638 return tfm->__crt_alg->cra_driver_name; in crypto_tfm_alg_driver_name()
643 return tfm->__crt_alg->cra_priority; in crypto_tfm_alg_priority()
648 return tfm->__crt_alg->cra_flags & CRYPTO_ALG_TYPE_MASK; in crypto_tfm_alg_type()
653 return tfm->__crt_alg->cra_blocksize; in crypto_tfm_alg_blocksize()
658 return tfm->__crt_alg->cra_alignmask; in crypto_tfm_alg_alignmask()
1184 return &crypto_blkcipher_tfm(tfm)->__crt_alg->cra_blkcipher; in crypto_blkcipher_alg()
/linux-4.4.14/drivers/crypto/ccp/
Dccp-crypto.h53 struct crypto_alg *alg = tfm->__crt_alg; in ccp_crypto_ablkcipher_alg()
61 struct crypto_alg *alg = tfm->__crt_alg; in ccp_crypto_ahash_alg()
/linux-4.4.14/include/crypto/internal/
Dakcipher.h38 return crypto_akcipher_tfm(tfm)->__crt_alg->cra_name; in akcipher_alg_name()
/linux-4.4.14/drivers/crypto/qce/
Dcipher.h58 struct crypto_alg *alg = tfm->__crt_alg; in to_cipher_tmpl()
/linux-4.4.14/include/crypto/
Dalgapi.h221 return container_of(tfm->__crt_alg, struct crypto_instance, alg); in crypto_tfm_alg_instance()
232 return &crypto_ablkcipher_tfm(tfm)->__crt_alg->cra_ablkcipher; in crypto_ablkcipher_alg()
275 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()
Dcompress.h96 return __crypto_pcomp_alg(crypto_pcomp_tfm(tfm)->__crt_alg); in crypto_pcomp_alg()
Dhash.h291 return __crypto_hash_alg_common(crypto_ahash_tfm(tfm)->__crt_alg); in crypto_hash_alg_common()
687 return __crypto_shash_alg(crypto_shash_tfm(tfm)->__crt_alg); in crypto_shash_alg()
Daead.h195 return container_of(crypto_aead_tfm(tfm)->__crt_alg, in crypto_aead_alg()
Dakcipher.h153 return __crypto_akcipher_alg(crypto_akcipher_tfm(tfm)->__crt_alg); in crypto_akcipher_alg()
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-crypto.c85 (crypto_hash_tfm(desc->tfm))->__crt_alg->cra_name, in cfs_crypto_hash_alloc()
86 (crypto_hash_tfm(desc->tfm))->__crt_alg->cra_driver_name, in cfs_crypto_hash_alloc()
/linux-4.4.14/drivers/crypto/
Dpicoxcell_crypto.c825 struct crypto_alg *alg = req->req->tfm->__crt_alg; in spacc_ablk_need_fallback()
858 struct crypto_alg *alg = req->req->tfm->__crt_alg; in spacc_ablk_submit()
914 struct crypto_alg *alg = req->base.tfm->__crt_alg; in spacc_ablk_setup()
991 struct crypto_alg *alg = tfm->__crt_alg; in spacc_ablk_cra_init()
1027 struct spacc_alg *alg = to_spacc_alg(tfm->__crt_alg); in spacc_ablk_encrypt()
1036 struct spacc_alg *alg = to_spacc_alg(tfm->__crt_alg); in spacc_ablk_decrypt()
1115 struct crypto_alg *alg = req->req->tfm->__crt_alg; in spacc_req_submit()
Dixp4xx_crypto.c247 return container_of(tfm->__crt_alg, struct ixp_alg,crypto)->cfg_enc; in cipher_cfg_enc()
252 return container_of(tfm->__crt_alg, struct ixp_alg,crypto)->cfg_dec; in cipher_cfg_dec()
257 return container_of(tfm->__crt_alg, struct ixp_alg, crypto)->hash; in ix_hash()
Dn2_core.c255 struct crypto_alg *alg = tfm->__crt_alg; in n2_ahash_alg()
270 struct crypto_alg *alg = tfm->__crt_alg; in n2_hmac_alg()
705 struct crypto_alg *alg = tfm->__crt_alg; in n2_cipher_alg()
Dhifn_795x.c2472 struct crypto_alg *alg = tfm->__crt_alg; in hifn_cra_init()
Dtalitos.c2622 struct crypto_alg *alg = tfm->__crt_alg; in talitos_cra_init()
/linux-4.4.14/arch/s390/crypto/
Daes_s390.c188 const char *name = tfm->__crt_alg->cra_name; in fallback_init_cip()
369 const char *name = tfm->__crt_alg->cra_name; in fallback_init_blk()
693 const char *name = tfm->__crt_alg->cra_name; in xts_fallback_init()
/linux-4.4.14/drivers/crypto/amcc/
Dcrypto4xx_alg.c185 struct crypto_alg *alg = tfm->__crt_alg; in crypto4xx_hash_alg_init()
Dcrypto4xx_core.c974 struct crypto_alg *alg = tfm->__crt_alg; in crypto4xx_alg_init()
/linux-4.4.14/drivers/crypto/sunxi-ss/
Dsun4i-ss-hash.c33 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun4i_hash_init()
Dsun4i-ss-cipher.c459 struct crypto_alg *alg = tfm->__crt_alg; in sun4i_ss_cipher_init()
/linux-4.4.14/drivers/crypto/ux500/hash/
Dhash_core.c1498 struct crypto_alg *alg = tfm->__crt_alg; in hash_cra_init()
/linux-4.4.14/drivers/crypto/ux500/cryp/
Dcryp_core.c1096 struct crypto_alg *alg = tfm->__crt_alg; in cryp_cra_init()
/linux-4.4.14/drivers/crypto/caam/
Dcaamhash.c1762 struct crypto_alg *base = tfm->__crt_alg; in caam_hash_cra_init()
Dcaamalg.c4346 struct crypto_alg *alg = tfm->__crt_alg; in caam_cra_init()