Thread (2 messages) read the whole thread 2 messages, 2 authors, 2014-08-01

Re: [PATCH] DRBG: fix failure of generating multiple of 2**16 bytes

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2014-08-01 14:41:06
Also in: lkml

On Thu, Jul 31, 2014 at 09:47:33PM +0200, Stephan Mueller wrote:
The function drbg_generate_long slices the request into 2**16 byte
or smaller chunks. However, the loop, however invokes the random number
generation function with zero bytes when the request size is a multiple
of 2**16 bytes. The fix prevents zero bytes requests.

Signed-off-by: Stephan Mueller <redacted>
Patch applied.
-- 
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