Home
last modified time | relevance | path

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

/Linux-v4.19/crypto/
Dscompress.c146 void **tfm_ctx = acomp_tfm_ctx(tfm); in scomp_acomp_comp_decomp() local
147 struct crypto_scomp *scomp = *tfm_ctx; in scomp_acomp_comp_decomp()
240 struct crypto_scomp **tfm_ctx = crypto_tfm_ctx(tfm); in crypto_acomp_scomp_alloc_ctx() local
241 struct crypto_scomp *scomp = *tfm_ctx; in crypto_acomp_scomp_alloc_ctx()
259 struct crypto_scomp **tfm_ctx = crypto_tfm_ctx(tfm); in crypto_acomp_scomp_free_ctx() local
260 struct crypto_scomp *scomp = *tfm_ctx; in crypto_acomp_scomp_free_ctx()
/Linux-v4.19/drivers/crypto/axis/
Dartpec6_crypto.c1241 struct artpec6_cryptotfm_context *tfm_ctx = crypto_aead_ctx(tfm); in artpec6_crypto_aead_init() local
1243 memset(tfm_ctx, 0, sizeof(*tfm_ctx)); in artpec6_crypto_aead_init()
2214 struct artpec6_hashalg_context *tfm_ctx = crypto_tfm_ctx(&tfm->base); in artpec6_crypto_hash_set_key() local
2224 memset(tfm_ctx->hmac_key, 0, sizeof(tfm_ctx->hmac_key)); in artpec6_crypto_hash_set_key()
2229 SHASH_DESC_ON_STACK(hdesc, tfm_ctx->child_hash); in artpec6_crypto_hash_set_key()
2231 hdesc->tfm = tfm_ctx->child_hash; in artpec6_crypto_hash_set_key()
2235 tfm_ctx->hmac_key_length = blocksize; in artpec6_crypto_hash_set_key()
2237 tfm_ctx->hmac_key); in artpec6_crypto_hash_set_key()
2242 memcpy(tfm_ctx->hmac_key, key, keylen); in artpec6_crypto_hash_set_key()
2243 tfm_ctx->hmac_key_length = keylen; in artpec6_crypto_hash_set_key()
[all …]
/Linux-v4.19/Documentation/crypto/
Dcrypto_engine.rst11 You have to put at start of your tfm_ctx the struct crypto_engine_ctx::
/Linux-v4.19/drivers/crypto/hisilicon/sec/
Dsec_drv.h278 struct sec_alg_tfm_ctx *tfm_ctx; member
Dsec_algs.c442 struct sec_alg_tfm_ctx *ctx = sec_req->tfm_ctx; in sec_skcipher_alg_callback()
762 sec_req->tfm_ctx = ctx; in sec_alg_skcipher_crypto()