Home
last modified time | relevance | path

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

/openbmc/linux/include/crypto/
H A Daead.h204 static inline struct crypto_tfm *crypto_aead_tfm(struct crypto_aead *tfm) in crypto_aead_tfm() function
217 crypto_destroy_tfm(tfm, crypto_aead_tfm(tfm)); in crypto_free_aead()
222 return crypto_tfm_alg_driver_name(crypto_aead_tfm(tfm)); in crypto_aead_driver_name()
227 return container_of(crypto_aead_tfm(tfm)->__crt_alg, in crypto_aead_alg()
289 return crypto_tfm_alg_blocksize(crypto_aead_tfm(tfm)); in crypto_aead_blocksize()
294 return crypto_tfm_alg_alignmask(crypto_aead_tfm(tfm)); in crypto_aead_alignmask()
299 return crypto_tfm_get_flags(crypto_aead_tfm(tfm)); in crypto_aead_get_flags()
304 crypto_tfm_set_flags(crypto_aead_tfm(tfm), flags); in crypto_aead_set_flags()
309 crypto_tfm_clear_flags(crypto_aead_tfm(tfm), flags); in crypto_aead_clear_flags()
426 req->base.tfm = crypto_aead_tfm(tfm); in aead_request_set_tfm()
/openbmc/linux/include/crypto/internal/
H A 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()
/openbmc/linux/drivers/crypto/xilinx/
H A Dzynqmp-aes-gcm.c244 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in zynqmp_aes_aead_setkey()
276 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in zynqmp_aes_aead_setauthsize()
312 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in zynqmp_aes_aead_init()
340 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in zynqmp_aes_aead_exit()
/openbmc/linux/drivers/crypto/amcc/
H A 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()
/openbmc/linux/drivers/crypto/inside-secure/
H A Dsafexcel_cipher.c405 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_setkey()
2583 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_gcm_setkey()
2685 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_ccm_setkey()
2902 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in safexcel_aead_chachapoly_crypt()
3381 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_fallback_setkey()
3392 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_fallback_setauthsize()
3403 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in safexcel_aead_fallback_crypt()
3562 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_rfc4106_gcm_setkey()
3675 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_rfc4309_ccm_setkey()
/openbmc/linux/arch/powerpc/crypto/
H A Daes-gcm-p10-glue.c190 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in p10_aes_gcm_setkey()
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_algs.c786 struct crypto_tfm *tfm = crypto_aead_tfm(aead_tfm); in qat_alg_aead_dec()
832 struct crypto_tfm *tfm = crypto_aead_tfm(aead_tfm); in qat_alg_aead_enc()
/openbmc/linux/drivers/crypto/bcm/
H A Dcipher.c2576 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in aead_do_fallback()
2724 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); in aead_authenc_setkey()
2819 struct crypto_tfm *tfm = crypto_aead_tfm(cipher); in aead_gcm_ccm_setkey()
4210 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in aead_cra_init()
4267 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in aead_cra_exit()
/openbmc/linux/drivers/crypto/intel/ixp4xx/
H A Dixp4xx_crypto.c655 return init_tfm(crypto_aead_tfm(tfm)); in init_tfm_aead()
677 exit_tfm(crypto_aead_tfm(tfm)); in exit_tfm_aead()
/openbmc/linux/drivers/crypto/starfive/
H A Djh7110-aes.c625 struct crypto_tfm *aead = crypto_aead_tfm(tfm); in starfive_aes_aead_init_tfm()
/openbmc/linux/crypto/
H A Dcryptd.c813 struct cryptd_queue *queue = cryptd_get_queue(crypto_aead_tfm(tfm)); in cryptd_aead_enqueue()
/openbmc/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_algs.c578 struct crypto_tfm *tfm = crypto_aead_tfm(atfm); in cpt_aead_init()
/openbmc/linux/drivers/crypto/
H A Dsa2ul.c1878 struct sa_tfm_ctx *ctx = crypto_tfm_ctx(crypto_aead_tfm(tfm)); in sa_aead_setauthsize()
/openbmc/linux/drivers/crypto/ccree/
H A Dcc_aead.c553 ctx, crypto_tfm_alg_name(crypto_aead_tfm(tfm)), key, keylen); in cc_aead_setkey()
/openbmc/linux/net/tls/
H A Dtls_sw.c2772 tfm = crypto_aead_tfm(sw_ctx_rx->aead_recv); in tls_set_sw_offload()
/openbmc/linux/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c1122 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in sec_aead_setauthsize()
/openbmc/linux/drivers/crypto/caam/
H A Dcaamalg_qi2.c343 err = crypto_des3_ede_verify_key(crypto_aead_tfm(aead), keys.enckey) ?: in des3_aead_setkey()