]> 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)
commitb42be3e961d2b3fc96c4b3f30e19fb2b1224c315
treeecb6931eb545524be8bdfacbaed8a8bf8d7908db
parent7c09babaf530d55b7a8b07d4818931a2bf598d57
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