linux_dsm_epyc7002/drivers/crypto/sunxi-ss
Artem Savkov dd78c832ff crypto: sun4i_ss_prng - fix return value of sun4i_ss_prng_generate
According to crypto/rng.h generate function should return 0 on success
and < 0 on error.

Fixes: b8ae5c7387 ("crypto: sun4i-ss - support the Security System PRNG")
Signed-off-by: Artem Savkov <artem.savkov@gmail.com>
Acked-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2018-02-08 22:38:13 +11:00
..
Makefile crypto: sun4i-ss - support the Security System PRNG 2017-07-18 17:50:55 +08:00
sun4i-ss-cipher.c crypto: sun4i-ss - move from ablkcipher to skcipher API 2017-06-19 14:19:51 +08:00
sun4i-ss-core.c crypto: sun4i-ss - support the Security System PRNG 2017-07-18 17:50:55 +08:00
sun4i-ss-hash.c crypto: sun4i-ss - fix large block size support 2017-06-19 14:19:52 +08:00
sun4i-ss-prng.c crypto: sun4i_ss_prng - fix return value of sun4i_ss_prng_generate 2018-02-08 22:38:13 +11:00
sun4i-ss.h crypto: sun4i-ss - support the Security System PRNG 2017-07-18 17:50:55 +08:00