diff options
author | Jarod Wilson <[email protected]> | 2012-11-06 10:42:42 -0500 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2012-11-08 07:19:18 -0500 |
commit | ec8f02da9ea500474417d1d31fa3d46a562ab366 (patch) | |
tree | 9a7bb64cdbc436f59345288181768eede207bcf2 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | 8eb2ffbf7be94c546a873540ff952140465125e5 (diff) |
random: prime last_data value per fips requirements
The value stored in last_data must be primed for FIPS 140-2 purposes. Upon
first use, either on system startup or after an RNDCLEARPOOL ioctl, we
need to take an initial random sample, store it internally in last_data,
then pass along the value after that to the requester, so that consistency
checks aren't being run against stale and possibly known data.
CC: Herbert Xu <[email protected]>
CC: "David S. Miller" <[email protected]>
CC: Matt Mackall <[email protected]>
CC: [email protected]
Acked-by: Neil Horman <[email protected]>
Signed-off-by: Jarod Wilson <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions