]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: exynos - Icrease the priority of the driver
authorŁukasz Stelmach <l.stelmach@samsung.com>
Tue, 5 Dec 2017 16:20:46 +0000 (17:20 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Dec 2017 08:29:03 +0000 (19:29 +1100)
commitb2e33bd89380b7bc0ae2d63cd42a45d164e9e078
treeae29e6e1598f8c8e42b3bfee41394fac34dc5a65
parente597f2e3329d7a7a885f1f65c1e0dce446882bb9
crypto: exynos - Icrease the priority of the driver

exynos-rng is one of many implementations of stdrng. With priority as
low as 100 it isn't selected, if software implementations (DRBG) are
available. The value 300 was selected to give the PRNG priority before
software implementations, but allow them to be selected in FIPS-mode
(fips=1 in the kernel command line).

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