/openbmc/linux/include/crypto/ |
H A D | aead.h | 204 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 D | des.h | 116 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 D | zynqmp-aes-gcm.c | 244 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 D | crypto4xx_alg.c | 384 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 D | safexcel_cipher.c | 405 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 D | aes-gcm-p10-glue.c | 190 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in p10_aes_gcm_setkey()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_algs.c | 786 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 D | cipher.c | 2576 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 D | ixp4xx_crypto.c | 655 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 D | jh7110-aes.c | 625 struct crypto_tfm *aead = crypto_aead_tfm(tfm); in starfive_aes_aead_init_tfm()
|
/openbmc/linux/crypto/ |
H A D | cryptd.c | 813 struct cryptd_queue *queue = cryptd_get_queue(crypto_aead_tfm(tfm)); in cryptd_aead_enqueue()
|
/openbmc/linux/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf_algs.c | 578 struct crypto_tfm *tfm = crypto_aead_tfm(atfm); in cpt_aead_init()
|
/openbmc/linux/drivers/crypto/ |
H A D | sa2ul.c | 1878 struct sa_tfm_ctx *ctx = crypto_tfm_ctx(crypto_aead_tfm(tfm)); in sa_aead_setauthsize()
|
/openbmc/linux/drivers/crypto/ccree/ |
H A D | cc_aead.c | 553 ctx, crypto_tfm_alg_name(crypto_aead_tfm(tfm)), key, keylen); in cc_aead_setkey()
|
/openbmc/linux/net/tls/ |
H A D | tls_sw.c | 2772 tfm = crypto_aead_tfm(sw_ctx_rx->aead_recv); in tls_set_sw_offload()
|
/openbmc/linux/drivers/crypto/hisilicon/sec2/ |
H A D | sec_crypto.c | 1122 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in sec_aead_setauthsize()
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | caamalg_qi2.c | 343 err = crypto_des3_ede_verify_key(crypto_aead_tfm(aead), keys.enckey) ?: in des3_aead_setkey()
|