crypto: echainiv - Only hold RNG during initialisation
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 21 Jun 2015 11:11:50 +0000 (19:11 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 22 Jun 2015 07:49:29 +0000 (15:49 +0800)
commit9fcc704dfd7967ebfbdd1031603e4332a905994b
treef489c83ce1269fa2fe13e8ceab7f447bb62e5ec5
parenteeee12aa34d840c6c99051f0ff85a9ffa1badd07
crypto: echainiv - Only hold RNG during initialisation

This patch changes the RNG allocation so that we only hold a
reference to the RNG during initialisation.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/echainiv.c