Thread (5 messages) flat view 5 messages, 2 authors, 2016-06-20

Re: [PATCH v8 1/3] crypto: scatterwak - Add scatterwalk_sg_copychunks

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2016-06-20 10:56:48

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help