Stephan Mueller
cde001e4c3
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>
2015-03-09 21:06:18 +11:00
..
2014-11-24 22:43:57 +08:00
2015-01-26 11:34:22 +11:00
2014-12-22 23:02:35 +11:00
2015-01-13 22:29:11 +11:00
2015-02-14 09:47:01 -08:00
2015-01-26 11:34:22 +11:00
2014-12-22 23:02:37 +11:00
2015-03-04 22:12:39 +13:00
2015-02-04 01:34:15 -05:00
2015-01-14 21:57:57 +11:00
2015-02-14 09:47:01 -08:00
2015-03-09 21:06:18 +11:00
2014-11-24 22:43:57 +08:00
2014-11-24 22:43:57 +08:00
2014-11-24 22:43:57 +08:00
2014-11-26 20:06:30 +08:00
2014-11-26 20:06:30 +08:00
2015-01-13 22:29:11 +11:00
2015-01-13 22:29:11 +11:00
2015-01-13 22:29:11 +11:00
2015-01-13 22:29:11 +11:00
2014-11-26 20:06:30 +08:00
2014-11-26 20:06:30 +08:00
2014-11-26 20:06:30 +08:00
2014-11-26 20:06:30 +08:00
2014-11-24 22:43:57 +08:00
2015-01-13 22:29:11 +11:00
2015-01-13 22:29:11 +11:00
2014-11-26 20:06:30 +08:00
2014-11-24 22:43:57 +08:00
2014-11-26 20:06:29 +08:00
2014-11-26 20:06:30 +08:00
2015-01-20 14:44:15 +11:00
2014-11-24 22:43:57 +08:00
2015-01-13 22:29:11 +11:00
2015-03-09 21:06:18 +11:00
2014-11-26 20:06:30 +08:00
2014-11-26 20:06:30 +08:00
2014-11-24 22:43:57 +08:00
2014-11-26 20:06:30 +08:00
2015-01-13 22:29:11 +11:00
2014-11-26 20:06:30 +08:00
2015-03-04 22:13:26 +13:00
2014-11-24 22:43:57 +08:00
2015-01-13 22:29:11 +11:00
2014-11-26 20:06:30 +08:00
2014-11-24 22:43:57 +08:00
2014-11-24 22:43:57 +08:00
2014-11-24 22:43:57 +08:00
2015-03-04 22:12:39 +13:00
2014-11-26 20:06:30 +08:00
2014-11-24 22:43:57 +08:00
2014-11-24 22:43:57 +08:00
2014-11-24 22:43:57 +08:00
2014-11-26 20:06:30 +08:00
2014-11-26 20:06:30 +08:00
2014-11-24 22:43:57 +08:00
2014-11-24 22:43:57 +08:00
2014-11-24 22:43:57 +08:00
2014-11-24 22:43:57 +08:00
2015-01-13 22:29:11 +11:00
2015-01-26 11:34:22 +11:00
2014-11-24 22:43:57 +08:00
2015-01-20 14:44:16 +11:00
2015-01-13 22:29:11 +11:00
2015-01-13 22:29:11 +11:00
2015-01-13 22:29:11 +11:00
2015-01-13 22:29:11 +11:00
2015-02-04 20:59:42 +11:00
2015-01-13 22:29:11 +11:00
2015-02-04 20:59:41 +11:00
2015-01-13 22:29:11 +11:00
2015-01-13 22:29:11 +11:00
2014-11-26 20:06:30 +08:00
2015-01-13 22:29:11 +11:00
2014-11-26 20:06:30 +08:00
2014-11-26 20:06:30 +08:00
2014-11-24 22:43:57 +08:00