Searched refs:sec4_sg_bytes (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/crypto/caam/ |
H A D | caamhash.c | 545 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() 746 edesc->sec4_sg_bytes = sgsize; in ahash_edesc_add_src() 832 int src_nents, mapped_nents, sec4_sg_bytes, sec4_sg_src_index; in ahash_update_ctx() local 873 sec4_sg_bytes = pad_nents * sizeof(struct sec4_sg_entry); in ahash_update_ctx() 887 edesc->sec4_sg_bytes = sec4_sg_bytes; in ahash_update_ctx() 909 sec4_sg_bytes, in ahash_update_ctx() 953 int sec4_sg_bytes; in ahash_final_ctx() local 958 sec4_sg_bytes = pad_sg_nents(1 + (buflen ? 1 : 0)) * in ahash_final_ctx() [all …]
|
H A D | caamalg.c | 902 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 D | caampkc.h | 136 int sec4_sg_bytes; member
|