Home
last modified time | relevance | path

Searched refs:crypto_aead_tfm (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/include/crypto/
Daead.h182 static inline struct crypto_tfm *crypto_aead_tfm(struct crypto_aead *tfm) in crypto_aead_tfm() function
195 crypto_destroy_tfm(tfm, crypto_aead_tfm(tfm)); in crypto_free_aead()
200 return crypto_tfm_alg_driver_name(crypto_aead_tfm(tfm)); in crypto_aead_driver_name()
205 return container_of(crypto_aead_tfm(tfm)->__crt_alg, in crypto_aead_alg()
267 return crypto_tfm_alg_blocksize(crypto_aead_tfm(tfm)); in crypto_aead_blocksize()
272 return crypto_tfm_alg_alignmask(crypto_aead_tfm(tfm)); in crypto_aead_alignmask()
277 return crypto_tfm_get_flags(crypto_aead_tfm(tfm)); in crypto_aead_get_flags()
282 crypto_tfm_set_flags(crypto_aead_tfm(tfm), flags); in crypto_aead_set_flags()
287 crypto_tfm_clear_flags(crypto_aead_tfm(tfm), flags); in crypto_aead_clear_flags()
404 req->base.tfm = crypto_aead_tfm(tfm); in aead_request_set_tfm()
/linux-6.1.9/include/crypto/internal/
Ddes.h116 return crypto_des_verify_key(crypto_aead_tfm(tfm), key); in verify_aead_des_key()
124 return crypto_des3_ede_verify_key(crypto_aead_tfm(tfm), key); in verify_aead_des3_key()
/linux-6.1.9/drivers/crypto/xilinx/
Dzynqmp-aes-gcm.c241 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in zynqmp_aes_aead_setkey()
273 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in zynqmp_aes_aead_setauthsize()
309 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in zynqmp_aes_aead_init()
341 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in zynqmp_aes_aead_exit()
/linux-6.1.9/drivers/crypto/amcc/
Dcrypto4xx_alg.c384 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); in crypto4xx_setkey_aes_ccm()
486 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); in crypto4xx_setauthsize_aead()
530 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); in crypto4xx_setkey_aes_gcm()
/linux-6.1.9/drivers/crypto/inside-secure/
Dsafexcel_cipher.c405 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_setkey()
2581 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_gcm_setkey()
2683 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_ccm_setkey()
2900 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in safexcel_aead_chachapoly_crypt()
3379 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_fallback_setkey()
3390 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_fallback_setauthsize()
3401 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in safexcel_aead_fallback_crypt()
3560 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_rfc4106_gcm_setkey()
3673 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_rfc4309_ccm_setkey()
/linux-6.1.9/drivers/crypto/bcm/
Dcipher.c2582 areq->tfm = crypto_aead_tfm(aead); in aead_complete()
2593 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in aead_do_fallback()
2761 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); in aead_authenc_setkey()
2856 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); in aead_gcm_ccm_setkey()
4246 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in aead_cra_init()
4297 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in aead_cra_exit()
/linux-6.1.9/arch/x86/crypto/
Daesni-intel_glue.c630 return aes_set_key_common(crypto_aead_tfm(aead), in common_rfc4106_set_key()
1153 return aes_set_key_common(crypto_aead_tfm(aead), in generic_gcmaes_set_key()
/linux-6.1.9/drivers/crypto/
Dixp4xx_crypto.c653 return init_tfm(crypto_aead_tfm(tfm)); in init_tfm_aead()
675 exit_tfm(crypto_aead_tfm(tfm)); in exit_tfm_aead()
Dsa2ul.c1878 struct sa_tfm_ctx *ctx = crypto_tfm_ctx(crypto_aead_tfm(tfm)); in sa_aead_setauthsize()
/linux-6.1.9/drivers/crypto/qat/qat_common/
Dqat_algs.c969 struct crypto_tfm *tfm = crypto_aead_tfm(aead_tfm); in qat_alg_aead_dec()
1014 struct crypto_tfm *tfm = crypto_aead_tfm(aead_tfm); in qat_alg_aead_enc()
/linux-6.1.9/crypto/
Dcryptd.c772 struct cryptd_queue *queue = cryptd_get_queue(crypto_aead_tfm(tfm)); in cryptd_aead_enqueue()
/linux-6.1.9/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_algs.c576 struct crypto_tfm *tfm = crypto_aead_tfm(atfm); in cpt_aead_init()
/linux-6.1.9/drivers/crypto/ccree/
Dcc_aead.c553 ctx, crypto_tfm_alg_name(crypto_aead_tfm(tfm)), key, keylen); in cc_aead_setkey()
/linux-6.1.9/net/tls/
Dtls_sw.c2734 tfm = crypto_aead_tfm(sw_ctx_rx->aead_recv); in tls_set_sw_offload()
/linux-6.1.9/drivers/crypto/hisilicon/sec2/
Dsec_crypto.c1121 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in sec_aead_setauthsize()
/linux-6.1.9/drivers/crypto/caam/
Dcaamalg_qi2.c341 err = crypto_des3_ede_verify_key(crypto_aead_tfm(aead), keys.enckey) ?: in des3_aead_setkey()