Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/crypto/caam/
Dcaamalg_qi.c64 struct caam_ctx { struct
89 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in aead_set_sh_desc() argument
192 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in aead_setauthsize()
203 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in aead_setkey()
307 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in gcm_set_sh_desc()
350 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in gcm_setauthsize()
366 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in gcm_setkey()
410 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in rfc4106_set_sh_desc()
454 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in rfc4106_setauthsize()
470 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in rfc4106_setkey()
[all …]
Dcaamalg.c115 struct caam_ctx { struct
142 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in aead_null_set_sh_desc() argument
196 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in aead_set_sh_desc()
324 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in aead_setauthsize()
334 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in gcm_set_sh_desc()
384 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in gcm_setauthsize()
399 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in rfc4106_set_sh_desc()
452 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in rfc4106_setauthsize()
467 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in rfc4543_set_sh_desc()
520 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in rfc4543_setauthsize()
[all …]
Dcaamalg_qi2.c80 struct caam_ctx { struct
176 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in aead_set_sh_desc()
281 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in aead_setauthsize()
292 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in aead_setkey()
358 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in aead_edesc_alloc()
592 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in chachapoly_set_sh_desc()
625 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in chachapoly_setauthsize()
637 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in chachapoly_setkey()
653 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in gcm_set_sh_desc()
710 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in gcm_setauthsize()
[all …]
Dcaamhash.c120 u8 caam_ctx[MAX_CTX_LEN] ____cacheline_aligned; member
131 u8 caam_ctx[MAX_CTX_LEN]; member
151 state->ctx_dma = dma_map_single(jrdev, state->caam_ctx, in map_seq_out_ptr_ctx()
193 state->ctx_dma = dma_map_single(jrdev, state->caam_ctx, ctx_len, flag); in ctx_map_to_sec4_sg()
606 memcpy(req->result, state->caam_ctx, digestsize); in ahash_done_cpy()
610 DUMP_PREFIX_ADDRESS, 16, 4, state->caam_ctx, in ahash_done_cpy()
668 DUMP_PREFIX_ADDRESS, 16, 4, state->caam_ctx, in ahash_done_switch()
1550 memcpy(export->caam_ctx, state->caam_ctx, sizeof(export->caam_ctx)); in ahash_export()
1566 memcpy(state->caam_ctx, export->caam_ctx, sizeof(state->caam_ctx)); in ahash_import()