commit | 41a84982a1d728165554be3e2be845f2caf83b55 | [log] [tgz] |
---|---|---|
author | Stephan Mueller <smueller@chronox.de> | Tue Oct 14 21:50:13 2014 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Oct 24 22:49:36 2014 +0800 |
tree | d49eb7d0d1993a36efd9f4ccbbc8b425fd0eb2bd | |
parent | 3e8cffd431464365c9787cea741b755bc64c4b8e [diff] |
crypto: drbg - use crypto_inc 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>