Searched refs:tfm_ctx (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.15/drivers/crypto/xilinx/ |
D | zynqmp-aes-gcm.c | 80 struct zynqmp_aead_tfm_ctx *tfm_ctx = crypto_aead_ctx(aead); in zynqmp_aes_aead_cipher() local 82 struct device *dev = tfm_ctx->dev; in zynqmp_aes_aead_cipher() 92 if (tfm_ctx->keysrc == ZYNQMP_AES_KUP_KEY) in zynqmp_aes_aead_cipher() 116 hwreq->keysrc = tfm_ctx->keysrc; in zynqmp_aes_aead_cipher() 126 tfm_ctx->key, ZYNQMP_AES_KEY_SIZE); in zynqmp_aes_aead_cipher() 177 static int zynqmp_fallback_check(struct zynqmp_aead_tfm_ctx *tfm_ctx, in zynqmp_fallback_check() argument 183 if (tfm_ctx->authsize != ZYNQMP_AES_AUTH_SIZE) in zynqmp_fallback_check() 186 if (tfm_ctx->keysrc == ZYNQMP_AES_KUP_KEY && in zynqmp_fallback_check() 187 tfm_ctx->keylen != ZYNQMP_AES_KEY_SIZE) { in zynqmp_fallback_check() 210 struct zynqmp_aead_tfm_ctx *tfm_ctx = crypto_aead_ctx(aead); in zynqmp_handle_aes_req() local [all …]
|
/Linux-v5.15/crypto/ |
D | scompress.c | 123 void **tfm_ctx = acomp_tfm_ctx(tfm); in scomp_acomp_comp_decomp() local 124 struct crypto_scomp *scomp = *tfm_ctx; in scomp_acomp_comp_decomp() 217 struct crypto_scomp **tfm_ctx = crypto_tfm_ctx(tfm); in crypto_acomp_scomp_alloc_ctx() local 218 struct crypto_scomp *scomp = *tfm_ctx; in crypto_acomp_scomp_alloc_ctx() 236 struct crypto_scomp **tfm_ctx = crypto_tfm_ctx(tfm); in crypto_acomp_scomp_free_ctx() local 237 struct crypto_scomp *scomp = *tfm_ctx; in crypto_acomp_scomp_free_ctx()
|
/Linux-v5.15/drivers/crypto/axis/ |
D | artpec6_crypto.c | 1238 struct artpec6_cryptotfm_context *tfm_ctx = crypto_aead_ctx(tfm); in artpec6_crypto_aead_init() local 1240 memset(tfm_ctx, 0, sizeof(*tfm_ctx)); in artpec6_crypto_aead_init() 2228 struct artpec6_hashalg_context *tfm_ctx = crypto_tfm_ctx(&tfm->base); in artpec6_crypto_hash_set_key() local 2238 memset(tfm_ctx->hmac_key, 0, sizeof(tfm_ctx->hmac_key)); in artpec6_crypto_hash_set_key() 2243 tfm_ctx->hmac_key_length = blocksize; in artpec6_crypto_hash_set_key() 2245 ret = crypto_shash_tfm_digest(tfm_ctx->child_hash, key, keylen, in artpec6_crypto_hash_set_key() 2246 tfm_ctx->hmac_key); in artpec6_crypto_hash_set_key() 2250 memcpy(tfm_ctx->hmac_key, key, keylen); in artpec6_crypto_hash_set_key() 2251 tfm_ctx->hmac_key_length = keylen; in artpec6_crypto_hash_set_key() 2391 struct artpec6_hashalg_context *tfm_ctx = crypto_tfm_ctx(tfm); in artpec6_crypto_ahash_init_common() local [all …]
|
/Linux-v5.15/drivers/crypto/hisilicon/sec/ |
D | sec_drv.h | 278 struct sec_alg_tfm_ctx *tfm_ctx; member
|
D | sec_algs.c | 430 struct sec_alg_tfm_ctx *ctx = sec_req->tfm_ctx; in sec_skcipher_alg_callback() 752 sec_req->tfm_ctx = ctx; in sec_alg_skcipher_crypto()
|