Home
last modified time | relevance | path

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

/linux/drivers/crypto/caam/
H A Dcaamhash.c545 int sec4_sg_bytes; member
560 if (edesc->sec4_sg_bytes) in ahash_unmap()
562 edesc->sec4_sg_bytes, DMA_TO_DEVICE); in ahash_unmap()
745 edesc->sec4_sg_bytes = sgsize; in ahash_edesc_add_src()
831 int src_nents, mapped_nents, sec4_sg_bytes, sec4_sg_src_index; in ahash_update_ctx() local
872 sec4_sg_bytes = pad_nents * sizeof(struct sec4_sg_entry); in ahash_update_ctx()
886 edesc->sec4_sg_bytes = sec4_sg_bytes; in ahash_update_ctx()
908 sec4_sg_bytes, in ahash_update_ctx()
952 int sec4_sg_bytes; in ahash_final_ctx() local
957 sec4_sg_bytes = pad_sg_nents(1 + (buflen ? 1 : 0)) * in ahash_final_ctx()
[all …]
H A Dcaampkc.c57 if (edesc->sec4_sg_bytes) in rsa_io_unmap()
58 dma_unmap_single(dev, edesc->sec4_sg_dma, edesc->sec4_sg_bytes, in rsa_io_unmap()
261 int sec4_sg_index, sec4_sg_len = 0, sec4_sg_bytes; in rsa_edesc_alloc() local
318 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in rsa_edesc_alloc()
321 edesc = kzalloc(sizeof(*edesc) + desclen + sec4_sg_bytes, flags); in rsa_edesc_alloc()
344 if (!sec4_sg_bytes) in rsa_edesc_alloc()
351 sec4_sg_bytes, DMA_TO_DEVICE); in rsa_edesc_alloc()
357 edesc->sec4_sg_bytes = sec4_sg_bytes; in rsa_edesc_alloc()
361 edesc->sec4_sg_bytes, 1); in rsa_edesc_alloc()
H A Dcaamalg.c902 int sec4_sg_bytes; member
929 int sec4_sg_bytes; member
940 int sec4_sg_bytes) in caam_unmap() argument
953 if (sec4_sg_bytes) in caam_unmap()
954 dma_unmap_single(dev, sec4_sg_dma, sec4_sg_bytes, in caam_unmap()
964 edesc->sec4_sg_dma, edesc->sec4_sg_bytes); in aead_unmap()
976 edesc->sec4_sg_dma, edesc->sec4_sg_bytes); in skcipher_unmap()
1014 return PTR_ALIGN((u8 *)edesc->sec4_sg + edesc->sec4_sg_bytes, in skcipher_edesc_iv()
1318 int sec4_sg_index, sec4_sg_len, sec4_sg_bytes; in aead_edesc_alloc() local
1396 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in aead_edesc_alloc()
[all …]
H A Dcaampkc.h136 int sec4_sg_bytes; member