[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2500626.C7ppcC6VU6@tauon.chronox.de>
Date: Tue, 05 Dec 2017 14:48:35 +0100
From: Stephan Mueller <smueller@...onox.de>
To: Łukasz Stelmach <l.stelmach@...sung.com>
Cc: Krzysztof Kozlowski <krzk@...nel.org>, robh+dt@...nel.org,
Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>,
Kukjin Kim <kgene@...nel.org>, linux-crypto@...r.kernel.org,
linux-samsung-soc@...r.kernel.org, linux-kernel@...r.kernel.org,
m.szyprowski@...sung.com, b.zolnierkie@...sung.com
Subject: Re: [RFC] crypto: exynos - Icrease the priority of the driver
Am Dienstag, 5. Dezember 2017, 13:42:14 CET schrieb Łukasz Stelmach:
Hi Łukasz,
> 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.
What about using 300? The reason is the following: in the normal case, the
software PRNGs have 100 (X9.31) and 200 (SP800-90A DRBG). Thus, in normal
case, the hardware takes precedence.
In FIPS mode, the DRBG prio is increased by 200. As in FIPS mode you must have
a DRBG and assuming that the hardware does not implement a DRBG, the software
DRBG should be used as otherwise you have a FIPS-problem.
Ciao
Stephan
Powered by blists - more mailing lists