Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/crypto/
Daead.h180 static inline struct crypto_tfm *crypto_aead_tfm(struct crypto_aead *tfm) in crypto_aead_tfm() function
193 crypto_destroy_tfm(tfm, crypto_aead_tfm(tfm)); in crypto_free_aead()
198 return container_of(crypto_aead_tfm(tfm)->__crt_alg, in crypto_aead_alg()
260 return crypto_tfm_alg_blocksize(crypto_aead_tfm(tfm)); in crypto_aead_blocksize()
265 return crypto_tfm_alg_alignmask(crypto_aead_tfm(tfm)); in crypto_aead_alignmask()
270 return crypto_tfm_get_flags(crypto_aead_tfm(tfm)); in crypto_aead_get_flags()
275 crypto_tfm_set_flags(crypto_aead_tfm(tfm), flags); in crypto_aead_set_flags()
280 crypto_tfm_clear_flags(crypto_aead_tfm(tfm), flags); in crypto_aead_clear_flags()
397 req->base.tfm = crypto_aead_tfm(tfm); in aead_request_set_tfm()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/crypto/inside-secure/
Dsafexcel_cipher.c405 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_setkey()
2563 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_gcm_setkey()
2676 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_ccm_setkey()
2893 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in safexcel_aead_chachapoly_crypt()
3372 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_fallback_setkey()
3383 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_fallback_setauthsize()
3394 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in safexcel_aead_fallback_crypt()
3553 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_rfc4106_gcm_setkey()
3666 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_rfc4309_ccm_setkey()
/kernel/linux/linux-5.10/arch/x86/crypto/
Daesni-intel_glue.c644 return aes_set_key_common(crypto_aead_tfm(aead), in common_rfc4106_set_key()
983 return aes_set_key_common(crypto_aead_tfm(aead), in generic_gcmaes_set_key()
/kernel/linux/linux-5.10/drivers/crypto/bcm/
Dcipher.c2584 areq->tfm = crypto_aead_tfm(aead); in aead_complete()
2595 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in aead_do_fallback()
2763 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); in aead_authenc_setkey()
2858 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); in aead_gcm_ccm_setkey()
4248 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in aead_cra_init()
4299 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in aead_cra_exit()
/kernel/linux/linux-5.10/drivers/crypto/
Dixp4xx_crypto.c600 return init_tfm(crypto_aead_tfm(tfm)); in init_tfm_aead()
617 exit_tfm(crypto_aead_tfm(tfm)); in exit_tfm_aead()
Dpicoxcell_crypto.c498 struct spacc_aead_ctx *ctx = crypto_tfm_ctx(crypto_aead_tfm(tfm)); in spacc_aead_setauthsize()
531 struct crypto_tfm *old_tfm = crypto_aead_tfm(crypto_aead_reqtfm(req)); in spacc_aead_do_fallback()
Dsa2ul.c1858 struct sa_tfm_ctx *ctx = crypto_tfm_ctx(crypto_aead_tfm(tfm)); in sa_aead_setauthsize()
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
Dqat_algs.c830 struct crypto_tfm *tfm = crypto_aead_tfm(aead_tfm); in qat_alg_aead_dec()
877 struct crypto_tfm *tfm = crypto_aead_tfm(aead_tfm); in qat_alg_aead_enc()
/kernel/linux/linux-5.10/crypto/
Dcryptd.c771 struct cryptd_queue *queue = cryptd_get_queue(crypto_aead_tfm(tfm)); in cryptd_aead_enqueue()
/kernel/linux/linux-5.10/net/tls/
Dtls_sw.c2483 tfm = crypto_aead_tfm(sw_ctx_rx->aead_recv); in tls_set_sw_offload()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0003_linux_crypto.patch197 + const char *algo = crypto_tfm_alg_driver_name(crypto_aead_tfm(tfm));
/kernel/linux/linux-5.10/drivers/crypto/ccree/
Dcc_aead.c553 ctx, crypto_tfm_alg_name(crypto_aead_tfm(tfm)), key, keylen); in cc_aead_setkey()
/kernel/linux/linux-5.10/drivers/crypto/caam/
Dcaamalg_qi2.c338 err = crypto_des3_ede_verify_key(crypto_aead_tfm(aead), keys.enckey) ?: in des3_aead_setkey()