summaryrefslogtreecommitdiff
path: root/crypto/md4.c
diff options
context:
space:
mode:
authorStephan Mueller <smueller@chronox.de>2015-03-06 08:26:31 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2015-03-09 21:06:18 +1100
commitc3137fb62f2f92f2c7761e6a29dbfee1eb3b64f6 (patch)
tree1c1d85f4956cccbf4725d4b2c591d32b19aaf2ac /crypto/md4.c
parentea2481e2469ac9237110827f6aaf64c2302176c0 (diff)
downloadlinux-crypto-c3137fb62f2f92f2c7761e6a29dbfee1eb3b64f6.tar.gz
linux-crypto-c3137fb62f2f92f2c7761e6a29dbfee1eb3b64f6.zip
crypto: rng - RNGs must return 0 in success case
Change the RNGs to always return 0 in success case. This patch ensures that seqiv.c works with RNGs other than krng. seqiv expects that any return code other than 0 is an error. Without the patch, rfc4106(gcm(aes)) will not work when using a DRBG or an ANSI X9.31 RNG. Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/md4.c')
0 files changed, 0 insertions, 0 deletions