aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorJarod Wilson <jarod@redhat.com>2012-11-06 10:42:42 -0500
committerTARKZiM <tom8476oo@gmail.com>2022-08-25 20:05:38 +0800
commit6dac169e6377d29a1ca002b45ac7b34122e621de (patch)
tree71950b5d8987f53d4305090745475e96e352ad10 /net/lapb/lapb_timer.c
parent672a8cb426b856074f5601b2f33ee74128211cef (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 <herbert@gondor.apana.org.au> CC: "David S. Miller" <davem@davemloft.net> CC: Matt Mackall <mpm@selenic.com> CC: linux-crypto@vger.kernel.org Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions