Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/caam/
Dcaampkc.c224 int sec4_sg_index, sec4_sg_len = 0, sec4_sg_bytes; in rsa_edesc_alloc() local
239 sec4_sg_len = src_nents; in rsa_edesc_alloc()
241 sec4_sg_len += dst_nents; in rsa_edesc_alloc()
243 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in rsa_edesc_alloc()
Dcaamalg.c1206 int sec4_sg_index, sec4_sg_len, sec4_sg_bytes; in aead_edesc_alloc() local
1269 sec4_sg_len = mapped_src_nents > 1 ? mapped_src_nents : 0; in aead_edesc_alloc()
1270 sec4_sg_len += mapped_dst_nents > 1 ? mapped_dst_nents : 0; in aead_edesc_alloc()
1271 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in aead_edesc_alloc()