Searched refs:tfm_ctx (Results 1 – 4 of 4) sorted by relevance
123 void **tfm_ctx = acomp_tfm_ctx(tfm); in scomp_acomp_comp_decomp() local124 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() local218 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() local237 struct crypto_scomp *scomp = *tfm_ctx; in crypto_acomp_scomp_free_ctx()
1237 struct artpec6_cryptotfm_context *tfm_ctx = crypto_aead_ctx(tfm); in artpec6_crypto_aead_init() local1239 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() local2243 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 …]
278 struct sec_alg_tfm_ctx *tfm_ctx; member
429 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()