Searched refs:sec4_sg_len (Results 1 – 2 of 2) sorted by relevance
261 int sec4_sg_index, sec4_sg_len = 0, sec4_sg_bytes; in rsa_edesc_alloc() local308 sec4_sg_len = 0; /* no need for an input hw s/g table */ in rsa_edesc_alloc()310 sec4_sg_len = mapped_src_nents + !!diff_size; in rsa_edesc_alloc()311 sec4_sg_index = sec4_sg_len; in rsa_edesc_alloc()314 sec4_sg_len += pad_sg_nents(mapped_dst_nents); in rsa_edesc_alloc()316 sec4_sg_len = pad_sg_nents(sec4_sg_len); in rsa_edesc_alloc()318 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in rsa_edesc_alloc()
1318 int sec4_sg_index, sec4_sg_len, sec4_sg_bytes; in aead_edesc_alloc() local1390 sec4_sg_len = mapped_src_nents > 1 ? mapped_src_nents : 0; in aead_edesc_alloc()1392 sec4_sg_len += pad_sg_nents(mapped_dst_nents); in aead_edesc_alloc()1394 sec4_sg_len = pad_sg_nents(sec4_sg_len); in aead_edesc_alloc()1396 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in aead_edesc_alloc()