[PATCH] crypto: caam - Fix key inlining in AEAD shared descriptors

2014-04-27 Thread Vakul Garg
The variable 'keys_fit_inline' is initialised correctly to avoid using its stale value while creating shared descriptor for decryption and given-iv-encryption. Signed-off-by: Vakul Garg va...@freescale.com --- drivers/crypto/caam/caamalg.c | 15 +-- 1 file changed, 13 insertions(+),

[RFC] /dev/random for in-kernel use

2014-04-27 Thread Stephan Mueller
Hi, before I start, please allow me to point out that this email is not a discussion about entropy. There was already too much such discussion without any conclusion. This email shall just explore the pros and cons as well as an implementation of making the logic behind /dev/random available

Re: [RFC] /dev/random for in-kernel use

2014-04-27 Thread Theodore Ts'o
On Sun, Apr 27, 2014 at 08:49:48PM +0200, Stephan Mueller wrote: With the heavy update of random.c during the 3.13 development, the re-seeding of the nonblocking_pool from the input_pool is now prevented for a duration of random_min_urandom_seed seconds. Furthermore, the nonblocking_pool

RE: [PATCH] crypto: caam - Fix key inlining in AEAD shared descriptors

2014-04-27 Thread Ruchika Gupta
Reviewed-by: Ruchika Gupta ruchika.gu...@freescale.com -Original Message- From: Vakul Garg [mailto:va...@freescale.com] Sent: Sunday, April 27, 2014 8:56 PM To: linux-crypto@vger.kernel.org Cc: herb...@gondor.apana.org.au; Geanta Neag Horia Ioan-B05471; Gupta Ruchika-R66431;