Home
last modified time | relevance | path

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

/drivers/crypto/caam/
Dcaamhash.c166 struct sec4_sg_entry *sec4_sg, in buf_map_to_sec4_sg() argument
182 dma_to_sec4_sg_one(sec4_sg, state->buf_dma, buflen, 0); in buf_map_to_sec4_sg()
190 struct sec4_sg_entry *sec4_sg, u32 flag) in ctx_map_to_sec4_sg() argument
200 dma_to_sec4_sg_one(sec4_sg, state->ctx_dma, ctx_len, 0); in ctx_map_to_sec4_sg()
548 struct sec4_sg_entry sec4_sg[]; member
711 edesc = kzalloc(struct_size(edesc, sec4_sg, sg_num), flags); in ahash_edesc_alloc()
733 struct sec4_sg_entry *sg = edesc->sec4_sg; in ahash_edesc_add_src()
889 edesc->sec4_sg, DMA_BIDIRECTIONAL); in ahash_update_ctx()
893 ret = buf_map_to_sec4_sg(jrdev, edesc->sec4_sg + 1, state); in ahash_update_ctx()
899 edesc->sec4_sg + sec4_sg_src_index, in ahash_update_ctx()
[all …]
Dcaampkc.c325 edesc->sec4_sg = (void *)edesc + sizeof(*edesc) + desclen; in rsa_edesc_alloc()
327 dma_to_sec4_sg_one(edesc->sec4_sg, ctx->padding_dma, diff_size, in rsa_edesc_alloc()
332 edesc->sec4_sg + !!diff_size, 0); in rsa_edesc_alloc()
336 edesc->sec4_sg + sec4_sg_index, 0); in rsa_edesc_alloc()
350 edesc->sec4_sg_dma = dma_map_single(dev, edesc->sec4_sg, in rsa_edesc_alloc()
360 DUMP_PREFIX_ADDRESS, 16, 4, edesc->sec4_sg, in rsa_edesc_alloc()
Dcaamalg.c905 struct sec4_sg_entry *sec4_sg; member
932 struct sec4_sg_entry *sec4_sg; member
1014 return PTR_ALIGN((u8 *)edesc->sec4_sg + edesc->sec4_sg_bytes, in skcipher_edesc_iv()
1410 edesc->sec4_sg = (void *)edesc + sizeof(struct aead_edesc) + in aead_edesc_alloc()
1420 edesc->sec4_sg + sec4_sg_index, 0); in aead_edesc_alloc()
1425 edesc->sec4_sg + sec4_sg_index, 0); in aead_edesc_alloc()
1431 edesc->sec4_sg_dma = dma_map_single(jrdev, edesc->sec4_sg, in aead_edesc_alloc()
1719 edesc->sec4_sg = (struct sec4_sg_entry *)((u8 *)edesc->hw_desc + in skcipher_edesc_alloc()
1737 dma_to_sec4_sg_one(edesc->sec4_sg, iv_dma, ivsize, 0); in skcipher_edesc_alloc()
1740 sg_to_sec4_sg(req->src, req->cryptlen, edesc->sec4_sg + in skcipher_edesc_alloc()
[all …]
Dcaampkc.h139 struct sec4_sg_entry *sec4_sg; member