Home
last modified time | relevance | path

Searched refs:tfm_ctx (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/crypto/
Dscompress.c123 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.4/drivers/crypto/axis/
Dartpec6_crypto.c1237 struct artpec6_cryptotfm_context *tfm_ctx = crypto_aead_ctx(tfm); in artpec6_crypto_aead_init() local
1239 memset(tfm_ctx, 0, sizeof(*tfm_ctx)); in artpec6_crypto_aead_init()
2233 struct artpec6_hashalg_context *tfm_ctx = crypto_tfm_ctx(&tfm->base); in artpec6_crypto_hash_set_key() local
2243 memset(tfm_ctx->hmac_key, 0, sizeof(tfm_ctx->hmac_key)); in artpec6_crypto_hash_set_key()
2248 SHASH_DESC_ON_STACK(hdesc, tfm_ctx->child_hash); in artpec6_crypto_hash_set_key()
2250 hdesc->tfm = tfm_ctx->child_hash; in artpec6_crypto_hash_set_key()
2252 tfm_ctx->hmac_key_length = blocksize; in artpec6_crypto_hash_set_key()
2254 tfm_ctx->hmac_key); in artpec6_crypto_hash_set_key()
2259 memcpy(tfm_ctx->hmac_key, key, keylen); in artpec6_crypto_hash_set_key()
2260 tfm_ctx->hmac_key_length = keylen; in artpec6_crypto_hash_set_key()
[all …]
/Linux-v5.4/drivers/crypto/hisilicon/sec/
Dsec_drv.h278 struct sec_alg_tfm_ctx *tfm_ctx; member
Dsec_algs.c429 struct sec_alg_tfm_ctx *ctx = sec_req->tfm_ctx; in sec_skcipher_alg_callback()
750 sec_req->tfm_ctx = ctx; in sec_alg_skcipher_crypto()