Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/caam/
Dcaamhash.c499 int sec4_sg_bytes; member
515 if (edesc->sec4_sg_bytes) in ahash_unmap()
517 edesc->sec4_sg_bytes, DMA_TO_DEVICE); in ahash_unmap()
724 edesc->sec4_sg_bytes = sgsize; in ahash_edesc_add_src()
753 int src_nents, mapped_nents, sec4_sg_bytes, sec4_sg_src_index; in ahash_update_ctx() local
781 sec4_sg_bytes = (sec4_sg_src_index + mapped_nents) * in ahash_update_ctx()
797 edesc->sec4_sg_bytes = sec4_sg_bytes; in ahash_update_ctx()
824 sec4_sg_bytes, in ahash_update_ctx()
879 int sec4_sg_bytes, sec4_sg_src_index; in ahash_final_ctx() local
885 sec4_sg_bytes = sec4_sg_src_index * sizeof(struct sec4_sg_entry); in ahash_final_ctx()
[all …]
Dcaamalg.c761 int sec4_sg_bytes; member
784 int sec4_sg_bytes; member
795 int sec4_sg_bytes) in caam_unmap() argument
807 if (sec4_sg_bytes) in caam_unmap()
808 dma_unmap_single(dev, sec4_sg_dma, sec4_sg_bytes, in caam_unmap()
818 edesc->sec4_sg_dma, edesc->sec4_sg_bytes); in aead_unmap()
831 edesc->sec4_sg_dma, edesc->sec4_sg_bytes); in ablkcipher_unmap()
927 edesc->sec4_sg_bytes; in ablkcipher_encrypt_done()
1206 int sec4_sg_index, sec4_sg_len, sec4_sg_bytes; in aead_edesc_alloc() local
1271 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in aead_edesc_alloc()
[all …]
Dcaampkc.c32 if (edesc->sec4_sg_bytes) in rsa_io_unmap()
33 dma_unmap_single(dev, edesc->sec4_sg_dma, edesc->sec4_sg_bytes, in rsa_io_unmap()
224 int sec4_sg_index, sec4_sg_len = 0, sec4_sg_bytes; in rsa_edesc_alloc() local
243 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in rsa_edesc_alloc()
246 edesc = kzalloc(sizeof(*edesc) + desclen + sec4_sg_bytes, in rsa_edesc_alloc()
278 if (!sec4_sg_bytes) in rsa_edesc_alloc()
282 sec4_sg_bytes, DMA_TO_DEVICE); in rsa_edesc_alloc()
288 edesc->sec4_sg_bytes = sec4_sg_bytes; in rsa_edesc_alloc()
Dcaampkc.h119 int sec4_sg_bytes; member