Searched refs:sec4_sg_len (Results 1 – 2 of 2) sorted by relevance
252 int sec4_sg_index, sec4_sg_len = 0, sec4_sg_bytes; in rsa_edesc_alloc() local299 sec4_sg_len = 0; /* no need for an input hw s/g table */ in rsa_edesc_alloc()301 sec4_sg_len = mapped_src_nents + !!diff_size; in rsa_edesc_alloc()302 sec4_sg_index = sec4_sg_len; in rsa_edesc_alloc()305 sec4_sg_len += pad_sg_nents(mapped_dst_nents); in rsa_edesc_alloc()307 sec4_sg_len = pad_sg_nents(sec4_sg_len); in rsa_edesc_alloc()309 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in rsa_edesc_alloc()
1301 int sec4_sg_index, sec4_sg_len, sec4_sg_bytes; in aead_edesc_alloc() local1373 sec4_sg_len = mapped_src_nents > 1 ? mapped_src_nents : 0; in aead_edesc_alloc()1375 sec4_sg_len += pad_sg_nents(mapped_dst_nents); in aead_edesc_alloc()1377 sec4_sg_len = pad_sg_nents(sec4_sg_len); in aead_edesc_alloc()1379 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in aead_edesc_alloc()