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 <redacted>
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 [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt