Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/crypto/caam/
Dcaamalg.c1692 int dst_sg_idx, sec4_sg_ents, sec4_sg_bytes; in skcipher_edesc_alloc() local
1734 sec4_sg_ents = 0; // no need for an input hw s/g table in skcipher_edesc_alloc()
1736 sec4_sg_ents = mapped_src_nents + !!ivsize; in skcipher_edesc_alloc()
1737 dst_sg_idx = sec4_sg_ents; in skcipher_edesc_alloc()
1753 sec4_sg_ents = !!ivsize + pad_sg_nents(sec4_sg_ents); in skcipher_edesc_alloc()
1755 sec4_sg_ents += pad_sg_nents(mapped_dst_nents + in skcipher_edesc_alloc()
1758 sec4_sg_ents = pad_sg_nents(sec4_sg_ents); in skcipher_edesc_alloc()
1761 sec4_sg_bytes = sec4_sg_ents * sizeof(struct sec4_sg_entry); in skcipher_edesc_alloc()