Home
last modified time | relevance | path

Searched refs:caam_ctx (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/caam/
H A Dcaamalg_qi.c59 struct caam_ctx { struct
84 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc()
187 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize()
198 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_setkey()
302 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_set_sh_desc()
345 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize()
361 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_setkey()
405 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_set_sh_desc()
449 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4106_setauthsize()
465 struct caam_ctx *ct in rfc4106_setkey()
918 struct caam_ctx *caam_ctx = crypto_aead_ctx(aead); aead_done() local
1210 struct caam_ctx *caam_ctx = crypto_skcipher_ctx(skcipher); skcipher_done() local
[all...]
H A Dcaamalg.c106 struct caam_ctx { struct
134 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_null_set_sh_desc()
187 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc()
315 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize()
325 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_set_sh_desc()
375 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize()
390 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_set_sh_desc()
443 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4106_setauthsize()
458 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_set_sh_desc()
511 struct caam_ctx *ct in rfc4543_setauthsize()
[all...]
H A Dcaamalg_qi2.c64 * struct caam_ctx - per-session context
75 struct caam_ctx { struct
171 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc()
276 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize()
287 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_setkey()
353 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_edesc_alloc()
587 struct caam_ctx *ctx = crypto_aead_ctx(aead); in chachapoly_set_sh_desc()
620 struct caam_ctx *ctx = crypto_aead_ctx(aead); in chachapoly_setauthsize()
632 struct caam_ctx *ctx = crypto_aead_ctx(aead); in chachapoly_setkey()
648 struct caam_ctx *ct in gcm_set_sh_desc()
3083 u8 caam_ctx[MAX_CTX_LEN]; global() member
[all...]
H A Dcaamhash.c115 u8 caam_ctx[MAX_CTX_LEN] ____cacheline_aligned;
126 u8 caam_ctx[MAX_CTX_LEN]; member
140 /* Map state->caam_ctx, and append seq_out_ptr command that points to it */
146 state->ctx_dma = dma_map_single(jrdev, state->caam_ctx, in map_seq_out_ptr_ctx()
182 /* Map state->caam_ctx, and add it to link table */
188 state->ctx_dma = dma_map_single(jrdev, state->caam_ctx, ctx_len, flag); in ctx_map_to_sec4_sg()
597 memcpy(req->result, state->caam_ctx, digestsize); in ahash_done_cpy()
601 DUMP_PREFIX_ADDRESS, 16, 4, state->caam_ctx, in ahash_done_cpy()
659 DUMP_PREFIX_ADDRESS, 16, 4, state->caam_ctx, in ahash_done_switch()
1542 memcpy(export->caam_ctx, stat in ahash_export()
[all...]
/kernel/linux/linux-6.6/drivers/crypto/caam/
H A Dcaamalg_qi.c64 struct caam_ctx { struct
89 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in aead_set_sh_desc()
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 *ct in rfc4106_setkey()
923 struct caam_ctx *caam_ctx = crypto_aead_ctx_dma(aead); aead_done() local
1221 struct caam_ctx *caam_ctx = crypto_skcipher_ctx_dma(skcipher); skcipher_done() local
[all...]
H A Dcaamalg.c115 struct caam_ctx { struct
142 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in aead_null_set_sh_desc()
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 *ct in rfc4543_setauthsize()
[all...]
H A Dcaamalg_qi2.c66 * struct caam_ctx - per-session context
80 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 *ct in gcm_set_sh_desc()
3090 u8 caam_ctx[MAX_CTX_LEN]; global() member
[all...]
H A Dcaamhash.c120 u8 caam_ctx[MAX_CTX_LEN] ____cacheline_aligned;
131 u8 caam_ctx[MAX_CTX_LEN]; member
145 /* Map state->caam_ctx, and append seq_out_ptr command that points to it */
151 state->ctx_dma = dma_map_single(jrdev, state->caam_ctx, in map_seq_out_ptr_ctx()
187 /* Map state->caam_ctx, and add it to link table */
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()
1549 memcpy(export->caam_ctx, stat in ahash_export()
[all...]

Completed in 24 milliseconds