Searched refs:tfm_ctx (Results 1 – 5 of 5) sorted by relevance
146 void **tfm_ctx = acomp_tfm_ctx(tfm); in scomp_acomp_comp_decomp() local147 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() local241 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() local260 struct crypto_scomp *scomp = *tfm_ctx; in crypto_acomp_scomp_free_ctx()
1241 struct artpec6_cryptotfm_context *tfm_ctx = crypto_aead_ctx(tfm); in artpec6_crypto_aead_init() local1243 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() local2224 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 …]
11 You have to put at start of your tfm_ctx the struct crypto_engine_ctx::
278 struct sec_alg_tfm_ctx *tfm_ctx; member
442 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()