Home
last modified time | relevance | path

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

12

/Linux-v5.10/include/crypto/
Dakcipher.h153 return __crypto_akcipher_alg(crypto_akcipher_tfm(tfm)->__crt_alg); in crypto_akcipher_alg()
289 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_encrypt()
313 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_decrypt()
337 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_sign()
364 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_verify()
Dkpp.h124 return __crypto_kpp_alg(crypto_kpp_tfm(tfm)->__crt_alg); in crypto_kpp_alg()
285 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_kpp_set_secret()
311 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_kpp_generate_public_key()
334 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_kpp_compute_shared_secret()
Dacompress.h145 return __crypto_acomp_alg(crypto_acomp_tfm(tfm)->__crt_alg); in crypto_acomp_alg()
262 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_acomp_compress()
284 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_acomp_decompress()
Drng.h107 return container_of(crypto_rng_tfm(tfm)->__crt_alg, in crypto_rng_alg()
138 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_rng_generate()
Dhash.h341 return __crypto_hash_alg_common(crypto_ahash_tfm(tfm)->__crt_alg); in crypto_hash_alg_common()
550 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_update()
770 return __crypto_shash_alg(crypto_shash_tfm(tfm)->__crt_alg); in crypto_shash_alg()
Dalgapi.h184 return container_of(tfm->__crt_alg, struct crypto_instance, alg); in crypto_tfm_alg_instance()
228 return &crypto_cipher_tfm(tfm)->__crt_alg->cra_cipher; in crypto_cipher_alg()
Daead.h196 return container_of(crypto_aead_tfm(tfm)->__crt_alg, in crypto_aead_alg()
Dskcipher.h231 return container_of(crypto_skcipher_tfm(tfm)->__crt_alg, in crypto_skcipher_alg()
/Linux-v5.10/crypto/
Dcompress.c18 return tfm->__crt_alg->cra_compress.coa_compress(tfm, src, slen, dst, in crypto_comp_compress()
29 return tfm->__crt_alg->cra_compress.coa_decompress(tfm, src, slen, dst, in crypto_comp_decompress()
Dacompress.c65 if (tfm->__crt_alg->cra_type != &crypto_acomp_type) in crypto_acomp_init_tfm()
126 if (req && (tfm->__crt_alg->cra_type != &crypto_acomp_type)) in acomp_request_alloc()
138 if (tfm->__crt_alg->cra_type != &crypto_acomp_type) in acomp_request_free()
Dapi.c296 const struct crypto_type *type_obj = tfm->__crt_alg->cra_type; in crypto_init_ops()
305 const struct crypto_type *type = tfm->__crt_alg->cra_type; in crypto_exit_ops()
356 tfm->__crt_alg = alg; in __crypto_alloc_tfm()
454 tfm->__crt_alg = alg; in crypto_create_tfm_node()
568 alg = tfm->__crt_alg; in crypto_destroy_tfm()
Dahash.c343 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_final()
357 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_finup()
371 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_digest()
462 if (tfm->__crt_alg->cra_type != &crypto_ahash_type) in crypto_ahash_init_tfm()
Daead.c86 struct crypto_alg *alg = aead->base.__crt_alg; in crypto_aead_encrypt()
103 struct crypto_alg *alg = aead->base.__crt_alg; in crypto_aead_decrypt()
Drng.c33 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_rng_reset()
Dscompress.c188 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_scomp_ops_async()
Dxcbc.c169 struct crypto_instance *inst = (void *)tfm->__crt_alg; in xcbc_init_tfm()
/Linux-v5.10/include/linux/
Dcrypto.h634 struct crypto_alg *__crt_alg; member
692 return tfm->__crt_alg->cra_name; in crypto_tfm_alg_name()
697 return tfm->__crt_alg->cra_driver_name; in crypto_tfm_alg_driver_name()
702 return tfm->__crt_alg->cra_priority; in crypto_tfm_alg_priority()
707 return tfm->__crt_alg->cra_flags & CRYPTO_ALG_TYPE_MASK; in crypto_tfm_alg_type()
712 return tfm->__crt_alg->cra_blocksize; in crypto_tfm_alg_blocksize()
717 return tfm->__crt_alg->cra_alignmask; in crypto_tfm_alg_alignmask()
/Linux-v5.10/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-hash.c23 struct ahash_alg *alg = __crypto_ahash_alg(tfm->__crt_alg); in sun8i_ce_hash_crainit()
116 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_final()
154 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_finup()
179 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_digest_fb()
219 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_digest()
253 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_run()
/Linux-v5.10/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-hash.c23 struct ahash_alg *alg = __crypto_ahash_alg(tfm->__crt_alg); in sun8i_ss_hash_crainit()
116 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ss_hash_final()
154 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ss_hash_finup()
179 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ss_hash_digest_fb()
284 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ss_hash_digest()
321 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ss_hash_run()
/Linux-v5.10/include/crypto/internal/
Dkpp.h33 return crypto_kpp_tfm(tfm)->__crt_alg->cra_name; in kpp_alg_name()
Dacompress.h34 return crypto_acomp_tfm(tfm)->__crt_alg->cra_name; in acomp_alg_name()
Dakcipher.h55 return crypto_akcipher_tfm(tfm)->__crt_alg->cra_name; in akcipher_alg_name()
Dscompress.h62 return __crypto_scomp_alg(crypto_scomp_tfm(tfm)->__crt_alg); in crypto_scomp_alg()
/Linux-v5.10/drivers/crypto/ccp/
Dccp-crypto.h81 struct crypto_alg *alg = tfm->__crt_alg; in ccp_crypto_ahash_alg()
/Linux-v5.10/drivers/crypto/allwinner/sun4i-ss/
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()

12