On Wed, Jun 15, 2016 at 05:52:42PM +0300, Tudor Ambarus wrote: > This patch adds the function scatterwalk_sg_copychunks which writes > a chunk of data from a scatterwalk to another scatterwalk. > It will be used by caam driver to remove the leading zeros > for the output data of the RSA algorithm, after the computation completes. > > Signed-off-by: Tudor Ambarus <tudor-dan.ambarus@xxxxxxx> Not only does dropping leading zeroes lead to questions about information leaks, but it makes every one of our RSA drivers look crap. So I'm going to change this and make it not skip leading zeroes. Thanks, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- 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