Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/caam/
Dcaamalg.c1494 int dst_sg_idx, sec4_sg_ents, sec4_sg_bytes; in ablkcipher_edesc_alloc() local
1536 sec4_sg_ents = 1 + mapped_src_nents; in ablkcipher_edesc_alloc()
1537 dst_sg_idx = sec4_sg_ents; in ablkcipher_edesc_alloc()
1538 sec4_sg_ents += mapped_dst_nents > 1 ? mapped_dst_nents : 0; in ablkcipher_edesc_alloc()
1539 sec4_sg_bytes = sec4_sg_ents * sizeof(struct sec4_sg_entry); in ablkcipher_edesc_alloc()
1697 int dst_sg_idx, sec4_sg_ents, sec4_sg_bytes; in ablkcipher_giv_edesc_alloc() local
1740 sec4_sg_ents = mapped_src_nents > 1 ? mapped_src_nents : 0; in ablkcipher_giv_edesc_alloc()
1741 dst_sg_idx = sec4_sg_ents; in ablkcipher_giv_edesc_alloc()
1742 sec4_sg_ents += 1 + mapped_dst_nents; in ablkcipher_giv_edesc_alloc()
1747 sec4_sg_bytes = sec4_sg_ents * sizeof(struct sec4_sg_entry); in ablkcipher_giv_edesc_alloc()