Home
last modified time | relevance | path

Searched defs:tfm_ctx (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/crypto/xilinx/
H A Dzynqmp-aes-gcm.c141 struct xilinx_aead_tfm_ctx *tfm_ctx = crypto_aead_ctx(aead); in zynqmp_aes_aead_cipher() local
245 struct xilinx_aead_tfm_ctx *tfm_ctx = crypto_aead_ctx(aead); in versal_aes_aead_cipher() local
377 static int zynqmp_fallback_check(struct xilinx_aead_tfm_ctx *tfm_ctx, in zynqmp_fallback_check()
402 static int versal_fallback_check(struct xilinx_aead_tfm_ctx *tfm_ctx, in versal_fallback_check()
447 struct xilinx_aead_tfm_ctx *tfm_ctx = crypto_tfm_ctx(tfm); in zynqmp_aes_aead_setkey() local
474 struct xilinx_aead_tfm_ctx *tfm_ctx = crypto_tfm_ctx(tfm); in zynqmp_paes_aead_setkey() local
499 struct xilinx_aead_tfm_ctx *tfm_ctx = crypto_tfm_ctx(tfm); in versal_aes_aead_setkey() local
542 struct xilinx_aead_tfm_ctx *tfm_ctx = crypto_tfm_ctx(tfm); in versal_paes_aead_setkey() local
577 struct xilinx_aead_tfm_ctx *tfm_ctx = crypto_tfm_ctx(tfm); in xilinx_aes_aead_setauthsize() local
587 struct xilinx_aead_tfm_ctx *tfm_ctx = crypto_aead_ctx(aead); in xilinx_aes_fallback_crypt() local
[all …]
H A Dzynqmp-sha.c47 struct zynqmp_sha_tfm_ctx *tfm_ctx = crypto_shash_ctx(hash); in zynqmp_sha_init_tfm() local
74 struct zynqmp_sha_tfm_ctx *tfm_ctx = crypto_shash_ctx(hash); in zynqmp_sha_exit_tfm() local
/linux/arch/s390/crypto/
H A Dphmac_s390.c301 static inline int phmac_tfm_ctx_setkey(struct phmac_tfm_ctx *tfm_ctx, in phmac_tfm_ctx_setkey()
361 static int phmac_convert_key(struct phmac_tfm_ctx *tfm_ctx, bool tested) in phmac_convert_key()
410 struct phmac_tfm_ctx *tfm_ctx = crypto_ahash_ctx(tfm); in phmac_kmac_update() local
524 struct phmac_tfm_ctx *tfm_ctx = crypto_ahash_ctx(tfm); in phmac_kmac_final() local
569 struct phmac_tfm_ctx *tfm_ctx = crypto_ahash_ctx(tfm); in phmac_init() local
606 struct phmac_tfm_ctx *tfm_ctx = crypto_ahash_ctx(tfm); in phmac_update() local
650 struct phmac_tfm_ctx *tfm_ctx = crypto_ahash_ctx(tfm); in phmac_final() local
685 struct phmac_tfm_ctx *tfm_ctx = crypto_ahash_ctx(tfm); in phmac_finup() local
751 struct phmac_tfm_ctx *tfm_ctx = crypto_ahash_ctx(tfm); in phmac_setkey() local
848 struct phmac_tfm_ctx *tfm_ctx = crypto_ahash_ctx(tfm); in phmac_init_tfm() local
[all …]
H A Dhmac_s390.c169 struct s390_hmac_ctx *tfm_ctx = crypto_shash_ctx(tfm); in s390_hmac_sha2_setkey() local
184 struct s390_hmac_ctx *tfm_ctx = crypto_shash_ctx(desc->tfm); in s390_hmac_sha2_init() local
/linux/crypto/
H A Ddh.c316 struct dh_safe_prime_tfm_ctx *tfm_ctx = kpp_tfm_ctx(tfm); in dh_safe_prime_init_tfm() local
330 struct dh_safe_prime_tfm_ctx *tfm_ctx = kpp_tfm_ctx(tfm); in dh_safe_prime_exit_tfm() local
456 struct dh_safe_prime_tfm_ctx *tfm_ctx = kpp_tfm_ctx(tfm); in dh_safe_prime_set_secret() local
510 struct dh_safe_prime_tfm_ctx *tfm_ctx = in dh_safe_prime_prepare_dh_req() local
540 struct dh_safe_prime_tfm_ctx *tfm_ctx = kpp_tfm_ctx(tfm); in dh_safe_prime_max_size() local
/linux/drivers/crypto/axis/
H A Dartpec6_crypto.c1238 struct artpec6_cryptotfm_context *tfm_ctx = crypto_aead_ctx(tfm); in artpec6_crypto_aead_init() local
2229 struct artpec6_hashalg_context *tfm_ctx = crypto_tfm_ctx(&tfm->base); in artpec6_crypto_hash_set_key() local
2392 struct artpec6_hashalg_context *tfm_ctx = crypto_tfm_ctx(tfm); in artpec6_crypto_ahash_init_common() local
2425 struct artpec6_hashalg_context *tfm_ctx = crypto_tfm_ctx(tfm); in artpec6_crypto_ahash_exit() local
/linux/drivers/crypto/hisilicon/sec/
H A Dsec_drv.h278 struct sec_alg_tfm_ctx *tfm_ctx; member