Home
last modified time | relevance | path

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

/drivers/crypto/caam/
Dcaamalg.c102 struct caam_ctx { struct
119 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_null_set_sh_desc() argument
169 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc()
314 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize()
324 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_set_sh_desc()
373 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize()
383 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_set_sh_desc()
433 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4106_setauthsize()
443 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_set_sh_desc()
493 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4543_setauthsize()
[all …]
Dcaamalg_qi.c49 struct caam_ctx { struct
68 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()
264 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_setkey()
348 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in xts_ablkcipher_setkey()
436 static struct caam_drv_ctx *get_drv_ctx(struct caam_ctx *ctx, in get_drv_ctx()
529 struct caam_ctx *caam_ctx = crypto_aead_ctx(aead); in aead_done() local
532 qidev = caam_ctx->qidev; in aead_done()
553 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_edesc_alloc()
[all …]
Dcaamhash.c124 u8 caam_ctx[MAX_CTX_LEN] ____cacheline_aligned; member
133 u8 caam_ctx[MAX_CTX_LEN]; member
172 state->ctx_dma = dma_map_single(jrdev, state->caam_ctx, in map_seq_out_ptr_ctx()
225 state->ctx_dma = dma_map_single(jrdev, state->caam_ctx, ctx_len, flag); in ctx_map_to_sec4_sg()
541 DUMP_PREFIX_ADDRESS, 16, 4, state->caam_ctx, in ahash_done()
576 DUMP_PREFIX_ADDRESS, 16, 4, state->caam_ctx, in ahash_done_bi()
610 DUMP_PREFIX_ADDRESS, 16, 4, state->caam_ctx, in ahash_done_ctx_src()
645 DUMP_PREFIX_ADDRESS, 16, 4, state->caam_ctx, in ahash_done_ctx_dst()
1534 memcpy(export->caam_ctx, state->caam_ctx, sizeof(export->caam_ctx)); in ahash_export()
1550 memcpy(state->caam_ctx, export->caam_ctx, sizeof(state->caam_ctx)); in ahash_import()