Home
last modified time | relevance | path

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

/drivers/crypto/caam/
Dcaamalg.c106 struct caam_ctx { struct
134 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_null_set_sh_desc() argument
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 *ctx = crypto_aead_ctx(authenc); in rfc4543_setauthsize()
[all …]
Dcaamalg_qi.c59 struct caam_ctx { struct
84 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc() argument
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 *ctx = crypto_aead_ctx(aead); in rfc4106_setkey()
[all …]
Dcaamalg_qi2.c75 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 *ctx = crypto_aead_ctx(aead); in gcm_set_sh_desc()
705 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize()
[all …]
Dcaamhash.c115 u8 caam_ctx[MAX_CTX_LEN] ____cacheline_aligned; member
126 u8 caam_ctx[MAX_CTX_LEN]; member
146 state->ctx_dma = dma_map_single(jrdev, state->caam_ctx, in map_seq_out_ptr_ctx()
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, state->caam_ctx, sizeof(export->caam_ctx)); in ahash_export()
1558 memcpy(state->caam_ctx, export->caam_ctx, sizeof(state->caam_ctx)); in ahash_import()