Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/caam/
H A Dcaamalg.c1626 int dst_sg_idx, sec4_sg_ents, sec4_sg_bytes; in skcipher_edesc_alloc() local
1669 sec4_sg_ents = 0; // no need for an input hw s/g table in skcipher_edesc_alloc()
1671 sec4_sg_ents = mapped_src_nents + !!ivsize; in skcipher_edesc_alloc()
1672 dst_sg_idx = sec4_sg_ents; in skcipher_edesc_alloc()
1688 sec4_sg_ents = !!ivsize + pad_sg_nents(sec4_sg_ents); in skcipher_edesc_alloc()
1690 sec4_sg_ents += pad_sg_nents(mapped_dst_nents + in skcipher_edesc_alloc()
1693 sec4_sg_ents = pad_sg_nents(sec4_sg_ents); in skcipher_edesc_alloc()
1696 sec4_sg_bytes = sec4_sg_ents * sizeof(struct sec4_sg_entry); in skcipher_edesc_alloc()