Searched refs:sec4_sg_len (Results 1 – 2 of 2) sorted by relevance
256 int sec4_sg_index, sec4_sg_len = 0, sec4_sg_bytes; in rsa_edesc_alloc() local289 sec4_sg_len = 0; /* no need for an input hw s/g table */ in rsa_edesc_alloc()291 sec4_sg_len = src_nents + !!diff_size; in rsa_edesc_alloc()292 sec4_sg_index = sec4_sg_len; in rsa_edesc_alloc()294 sec4_sg_len += pad_sg_nents(dst_nents); in rsa_edesc_alloc()296 sec4_sg_len = pad_sg_nents(sec4_sg_len); in rsa_edesc_alloc()298 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in rsa_edesc_alloc()
1333 int sec4_sg_index, sec4_sg_len, sec4_sg_bytes; in aead_edesc_alloc() local1405 sec4_sg_len = mapped_src_nents > 1 ? mapped_src_nents : 0; in aead_edesc_alloc()1407 sec4_sg_len += pad_sg_nents(mapped_dst_nents); in aead_edesc_alloc()1409 sec4_sg_len = pad_sg_nents(sec4_sg_len); in aead_edesc_alloc()1411 sec4_sg_bytes = sec4_sg_len * sizeof(struct sec4_sg_entry); in aead_edesc_alloc()