Re: [PATCH] crypto: drbg - use crypto_inc

2014-10-24 Thread Herbert Xu
On Tue, Oct 14, 2014 at 09:50:13PM +0200, Stephan Mueller wrote: > The DRBG internal buffer addition function is replaced with crypto_inc when > a buffer is to be incremented by one. > > The function drbg_add_buf is moved to the CONFIG_CRYPTO_DRBG_HASH ifdef > area as it is now only needed for the

[PATCH] crypto: drbg - use crypto_inc

2014-10-14 Thread Stephan Mueller
The DRBG internal buffer addition function is replaced with crypto_inc when a buffer is to be incremented by one. The function drbg_add_buf is moved to the CONFIG_CRYPTO_DRBG_HASH ifdef area as it is now only needed for the Hash DRBG. Signed-off-by: Stephan Mueller --- crypto/drbg.c | 79 ++