crypto: drbg - use crypto_inc
authorStephan Mueller <smueller@chronox.de>
Tue, 14 Oct 2014 19:50:13 +0000 (21:50 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 24 Oct 2014 14:49:36 +0000 (22:49 +0800)
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 <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/drbg.c

diff --cc crypto/drbg.c
Simple merge