summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorStephan Mueller <smueller@chronox.de>2015-03-06 07:26:31 (GMT)
committerHerbert Xu <herbert@gondor.apana.org.au>2015-03-09 10:06:18 (GMT)
commitcde001e4c3c3625c60b68a83eb1f1c2572dee07a (patch)
tree6b0a069f9fdfa36c3741164564ea163f9cb69820 /virt
parent4842234f83bfce83c93f84f5972a956ef2c87805 (diff)
downloadlinux-cde001e4c3c3625c60b68a83eb1f1c2572dee07a.tar.xz
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 'virt')
0 files changed, 0 insertions, 0 deletions