Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/crypto/caam/
Dcaamhash.c161 struct sec4_sg_entry *sec4_sg, in buf_map_to_sec4_sg() argument
177 dma_to_sec4_sg_one(sec4_sg, state->buf_dma, buflen, 0); in buf_map_to_sec4_sg()
185 struct sec4_sg_entry *sec4_sg, u32 flag) in ctx_map_to_sec4_sg() argument
195 dma_to_sec4_sg_one(sec4_sg, state->ctx_dma, ctx_len, 0); in ctx_map_to_sec4_sg()
539 struct sec4_sg_entry sec4_sg[]; member
729 struct sec4_sg_entry *sg = edesc->sec4_sg; in ahash_edesc_add_src()
885 edesc->sec4_sg, DMA_BIDIRECTIONAL); in ahash_update_ctx()
889 ret = buf_map_to_sec4_sg(jrdev, edesc->sec4_sg + 1, state); in ahash_update_ctx()
895 edesc->sec4_sg + sec4_sg_src_index, in ahash_update_ctx()
898 sg_to_sec4_set_last(edesc->sec4_sg + sec4_sg_src_index - in ahash_update_ctx()
[all …]
Dcaampkc.h142 struct sec4_sg_entry *sec4_sg; member
Dcaamalg.c895 struct sec4_sg_entry *sec4_sg; member
922 struct sec4_sg_entry *sec4_sg; member
1028 memcpy(req->iv, (u8 *)edesc->sec4_sg + edesc->sec4_sg_bytes, in skcipher_crypt_done()
1394 edesc->sec4_sg = (void *)edesc + sizeof(struct aead_edesc) + in aead_edesc_alloc()
1404 edesc->sec4_sg + sec4_sg_index, 0); in aead_edesc_alloc()
1409 edesc->sec4_sg + sec4_sg_index, 0); in aead_edesc_alloc()
1415 edesc->sec4_sg_dma = dma_map_single(jrdev, edesc->sec4_sg, in aead_edesc_alloc()
1698 edesc->sec4_sg = (struct sec4_sg_entry *)((u8 *)edesc->hw_desc + in skcipher_edesc_alloc()
1704 iv = (u8 *)edesc->sec4_sg + sec4_sg_bytes; in skcipher_edesc_alloc()
1716 dma_to_sec4_sg_one(edesc->sec4_sg, iv_dma, ivsize, 0); in skcipher_edesc_alloc()
[all …]
Dcaampkc.c318 edesc->sec4_sg = (void *)edesc + sizeof(*edesc) + desclen; in rsa_edesc_alloc()
320 dma_to_sec4_sg_one(edesc->sec4_sg, ctx->padding_dma, diff_size, in rsa_edesc_alloc()
325 edesc->sec4_sg + !!diff_size, 0); in rsa_edesc_alloc()
329 edesc->sec4_sg + sec4_sg_index, 0); in rsa_edesc_alloc()
343 edesc->sec4_sg_dma = dma_map_single(dev, edesc->sec4_sg, in rsa_edesc_alloc()
353 DUMP_PREFIX_ADDRESS, 16, 4, edesc->sec4_sg, in rsa_edesc_alloc()