Linux cryptographic layer development
 help / color / mirror / Atom feed
* [PATCH 0/8] crypto: Avoid using RNG in interrupt context
@ 2015-06-03  6:46 Herbert Xu
  2015-06-03  6:49 ` [PATCH 1/8] crypto: chainiv - Move IV seeding into init function Herbert Xu
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Herbert Xu @ 2015-06-03  6:46 UTC (permalink / raw)
  To: Linux Crypto Mailing List, Stephan Mueller

Hi:

Currently we always use stdrng in interrupt context, which doesn't
work very well with DRBG which cannot be called there.

We could change DRBG but it really does a lot of work (e.g., a
reseed) in its generation function and doing it in interrupt context
would be bad.

In fact, the only reason we were doing this in interrupt context
is to conserver entropy, which is a non-issue with DRBG.

So this series changes all the RNG users to only use the RNG in
process context, and then makes DRBG the default RNG.

Cheers,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-06-03  7:08 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-03  6:46 [PATCH 0/8] crypto: Avoid using RNG in interrupt context Herbert Xu
2015-06-03  6:49 ` [PATCH 1/8] crypto: chainiv - Move IV seeding into init function Herbert Xu
2015-06-03  6:49 ` [PATCH 2/8] crypto: echainiv " Herbert Xu
2015-06-03  6:49 ` [PATCH 3/8] crypto: eseqiv " Herbert Xu
2015-06-03  6:49 ` [PATCH 4/8] crypto: seqiv " Herbert Xu
2015-06-03  6:49 ` [PATCH 5/8] crypto: drbg - Add stdrng alias and increase priority Herbert Xu
2015-06-03  6:59   ` Stephan Mueller
2015-06-03  7:01     ` Herbert Xu
2015-06-03  7:08       ` Stephan Mueller
2015-06-03  6:49 ` [PATCH 6/8] crypto: echainiv - Set Kconfig default to m Herbert Xu
2015-06-03  6:49 ` [PATCH 7/8] crypto: rng - Make DRBG the default RNG Herbert Xu
2015-06-03  6:49 ` [PATCH 8/8] crypto: rng - Remove krng Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox