Searched refs:sec4_sg_bytes (Results 1 – 2 of 2) sorted by relevance
/linux-4.4.14/drivers/crypto/caam/ |
D | caamhash.c | 605 int sec4_sg_bytes; member 619 if (edesc->sec4_sg_bytes) in ahash_unmap() 621 edesc->sec4_sg_bytes, DMA_TO_DEVICE); in ahash_unmap() 794 int src_nents, sec4_sg_bytes, sec4_sg_src_index; in ahash_update_ctx() local 807 sec4_sg_bytes = (sec4_sg_src_index + src_nents) * in ahash_update_ctx() 815 sec4_sg_bytes, GFP_DMA | flags); in ahash_update_ctx() 823 edesc->sec4_sg_bytes = sec4_sg_bytes; in ahash_update_ctx() 857 sec4_sg_bytes, in ahash_update_ctx() 914 int sec4_sg_bytes, sec4_sg_src_index; in ahash_final_ctx() local 921 sec4_sg_bytes = sec4_sg_src_index * sizeof(struct sec4_sg_entry); in ahash_final_ctx() [all …]
|
D | caamalg.c | 1844 int sec4_sg_bytes; member 1864 int sec4_sg_bytes; member 1874 int sec4_sg_bytes) in caam_unmap() argument 1885 if (sec4_sg_bytes) in caam_unmap() 1886 dma_unmap_single(dev, sec4_sg_dma, sec4_sg_bytes, in caam_unmap() 1896 edesc->sec4_sg_dma, edesc->sec4_sg_bytes); in aead_unmap() 1909 edesc->sec4_sg_dma, edesc->sec4_sg_bytes); in ablkcipher_unmap() 2278 int sec4_sg_index, sec4_sg_len = 0, sec4_sg_bytes; in aead_edesc_alloc() local 2301 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in aead_edesc_alloc() 2304 edesc = kzalloc(sizeof(*edesc) + desc_bytes + sec4_sg_bytes, in aead_edesc_alloc() [all …]
|