On Mon, Jul 20, 2009 at 04:21:16PM +0800, Herbert Xu wrote: > > Can you point me to the existing code? > For the crypto-layer it's just scatterwalk_sg_chain() that removes the termination bit. For the block-layer it's blk_rq_map_integrity_sg() and two times in blk_rq_map_sg(). -- 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