On 10/01/2015 08:20 PM, Herbert Xu wrote: >> Changes in v4: >> > - add back src_len and dst_len > So why do you still use sg_len? The length of the SG list is > irrelevant now that you have src_len/dst_len. I do use src_len for processing. The sg_len() is still useful for parameter checking to make sure that src_len <= sg_len(req->src) Thanks -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html