Lines Matching refs:sec4_sg_bytes
893 int sec4_sg_bytes; member
920 int sec4_sg_bytes; member
931 int sec4_sg_bytes) in caam_unmap() argument
944 if (sec4_sg_bytes) in caam_unmap()
945 dma_unmap_single(dev, sec4_sg_dma, sec4_sg_bytes, in caam_unmap()
955 edesc->sec4_sg_dma, edesc->sec4_sg_bytes); in aead_unmap()
967 edesc->sec4_sg_dma, edesc->sec4_sg_bytes); in skcipher_unmap()
1029 memcpy(req->iv, (u8 *)edesc->sec4_sg + edesc->sec4_sg_bytes, in skcipher_crypt_done()
1302 int sec4_sg_index, sec4_sg_len, sec4_sg_bytes; in aead_edesc_alloc() local
1380 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in aead_edesc_alloc()
1383 edesc = kzalloc(sizeof(*edesc) + desc_bytes + sec4_sg_bytes, in aead_edesc_alloc()
1413 if (!sec4_sg_bytes) in aead_edesc_alloc()
1417 sec4_sg_bytes, DMA_TO_DEVICE); in aead_edesc_alloc()
1425 edesc->sec4_sg_bytes = sec4_sg_bytes; in aead_edesc_alloc()
1608 int dst_sg_idx, sec4_sg_ents, sec4_sg_bytes; in skcipher_edesc_alloc() local
1677 sec4_sg_bytes = sec4_sg_ents * sizeof(struct sec4_sg_entry); in skcipher_edesc_alloc()
1682 edesc = kzalloc(sizeof(*edesc) + desc_bytes + sec4_sg_bytes + ivsize, in skcipher_edesc_alloc()
1695 edesc->sec4_sg_bytes = sec4_sg_bytes; in skcipher_edesc_alloc()
1702 iv = (u8 *)edesc->sec4_sg + sec4_sg_bytes; in skcipher_edesc_alloc()
1732 if (sec4_sg_bytes) { in skcipher_edesc_alloc()
1734 sec4_sg_bytes, in skcipher_edesc_alloc()
1749 sec4_sg_bytes, 1); in skcipher_edesc_alloc()