lkml.org 
[lkml]   [2017]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC] crypto: exynos - Icrease the priority of the driver
Date
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

\
 
 \ /
  Last update: 2017-12-05 14:49    [W:0.030 / U:3.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site