Searched refs:sec4_sg_bytes (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/drivers/crypto/caam/ |
D | caamhash.c | 599 int sec4_sg_bytes; member 614 if (edesc->sec4_sg_bytes) in ahash_unmap() 616 edesc->sec4_sg_bytes, DMA_TO_DEVICE); in ahash_unmap() 789 int src_nents, sec4_sg_bytes, sec4_sg_src_index; in ahash_update_ctx() local 803 sec4_sg_bytes = (sec4_sg_src_index + src_nents) * in ahash_update_ctx() 811 sec4_sg_bytes, GFP_DMA | flags); in ahash_update_ctx() 820 edesc->sec4_sg_bytes = sec4_sg_bytes; in ahash_update_ctx() 855 sec4_sg_bytes, in ahash_update_ctx() 912 int sec4_sg_bytes, sec4_sg_src_index; in ahash_final_ctx() local 919 sec4_sg_bytes = sec4_sg_src_index * sizeof(struct sec4_sg_entry); in ahash_final_ctx() [all …]
|
D | caamalg.c | 2100 int sec4_sg_bytes; member 2124 int sec4_sg_bytes; member 2134 int sec4_sg_bytes) in caam_unmap() argument 2148 if (sec4_sg_bytes) in caam_unmap() 2149 dma_unmap_single(dev, sec4_sg_dma, sec4_sg_bytes, in caam_unmap() 2166 edesc->sec4_sg_dma, edesc->sec4_sg_bytes); in aead_unmap() 2179 edesc->sec4_sg_dma, edesc->sec4_sg_bytes); in ablkcipher_unmap() 2264 if (!err && edesc->sec4_sg_bytes) { in aead_decrypt_done() 2627 int sec4_sg_index, sec4_sg_len = 0, sec4_sg_bytes; in aead_edesc_alloc() local 2691 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in aead_edesc_alloc() [all …]
|