android_kernel_google_msm/drivers/char
Jarod Wilson a0d5d068db 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>
2023-03-24 20:53:05 +01:00
..
agp
diag
hw_random hwrng: core - Don't use a stack buffer in add_early_randomness() 2023-03-24 20:53:04 +01:00
ipmi
mwave
pcmcia
tpm
xilinx_hwicap
adsprpc.c
adsprpc_shared.h
apm-emulation.c
applicom.c
applicom.h
bfin-otp.c
bsr.c
csdio.c
dcc_tty.c
ds1302.c
ds1620.c
dsp56k.c
dtlk.c
efirtc.c
generic_nvram.c
genrtc.c
hangcheck-timer.c
hpet.c
i8k.c
Kconfig Fixing an issue that caused DEVPORT to always be set. 2020-11-09 21:31:14 +01:00
lp.c
Makefile
mbcs.c
mbcs.h
mem.c
misc.c
mmtimer.c
msm_rotator.c Rotator getting stuck leading to fence timeout 2018-08-27 14:52:43 +00:00
msm_smd_pkt.c
mspec.c
nsc_gpio.c
nvram.c
nwbutton.c
nwbutton.h
nwflash.c
pc8736x_gpio.c
ppdev.c
ps3flash.c
ramoops.c
random.c random: prime last_data value per fips requirements 2023-03-24 20:53:05 +01:00
raw.c
rtc.c
scx200_gpio.c
snsc.c
snsc.h
snsc_event.c
sonypi.c
tb0219.c
tile-srom.c
tlclk.c
toshiba.c
ttyprintk.c
uv_mmtimer.c
virtio_console.c