]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: seqiv - Add compatibility support without RNG
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 21 Jun 2015 11:11:49 +0000 (19:11 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 22 Jun 2015 07:49:28 +0000 (15:49 +0800)
commit8512c6aaefe8254070afb4a501ef1b4941354522
treeecb6931eb545524be8bdfacbaed8a8bf8d7908db
parentf08edfecce2dc61d5adafcdc37ab2da869f09fd5
crypto: seqiv - Add compatibility support without RNG

When seqiv is used in compatibility mode, this patch allows it
to function even when an RNG Is not available.  It also changes
the RNG allocation for the new explicit seqiv interface so that
we only hold a reference to the RNG during initialisation.

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