Home
last modified time | relevance | path

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

/linux/drivers/crypto/caam/
H A Dcaamalg.c118 struct caam_ctx { struct
148 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in aead_null_set_sh_desc() argument
202 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in aead_set_sh_desc()
330 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in aead_setauthsize()
340 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in gcm_set_sh_desc()
390 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in gcm_setauthsize()
405 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in rfc4106_set_sh_desc()
458 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in rfc4106_setauthsize()
473 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in rfc4543_set_sh_desc()
526 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in rfc4543_setauthsize()
[all …]
H A 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 …]
H A 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()