crypto: DRBG - initialize SGL only once
authorStephan Mueller <smueller@chronox.de>
Wed, 22 Mar 2017 14:26:36 +0000 (15:26 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 24 Mar 2017 14:03:01 +0000 (22:03 +0800)
commit44068d5999d372b0034382530899df77d83c70e5
treee73ad505d0c6fd23d65aaf5a8eccd7416beddeae
parent0d8da104840ab4244fe122e5b25570aa13fb00c0
crypto: DRBG - initialize SGL only once

An SGL to be initialized only once even when its buffers are written
to several times.

Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/drbg.c