crypto: exynos - Improve performance of PRNG
authorŁukasz Stelmach <l.stelmach@samsung.com>
Tue, 12 Dec 2017 16:36:05 +0000 (17:36 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Dec 2017 08:52:43 +0000 (19:52 +1100)
commit3a5a5e5c07e35366f313a5301fe3568349ab8655
treedec183303aff7ff09fb0a89ae3a9e5bc521237e8
parentf76d38b26c114c5e6c8252f3c7dac42bbd69c2c3
crypto: exynos - Improve performance of PRNG

Use memcpy_fromio() instead of custom exynos_rng_copy_random() function
to retrieve generated numbers from the registers of PRNG.

Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/exynos-rng.c