/openbmc/qemu/include/hw/misc/ |
H A D | npcm7xx_rng.h | 326ccfe240ca9ef4f659a241b39390fa956e999b Fri Oct 23 16:06:35 CDT 2020 Havard Skinnemoen <hskinnemoen@google.com> hw/misc: Add npcm7xx random number generator
The RNG module returns a byte of randomness when the Data Valid bit is set.
This implementation ignores the prescaler setting, and loads a new value into RNGD every time RNGCS is read while the RNG is enabled and random data is available.
A qtest featuring some simple randomness tests is included.
Reviewed-by: Tyrone Ting <kfting@nuvoton.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Havard Skinnemoen <hskinnemoen@google.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
/openbmc/qemu/hw/misc/ |
H A D | npcm7xx_rng.c | 326ccfe240ca9ef4f659a241b39390fa956e999b Fri Oct 23 16:06:35 CDT 2020 Havard Skinnemoen <hskinnemoen@google.com> hw/misc: Add npcm7xx random number generator
The RNG module returns a byte of randomness when the Data Valid bit is set.
This implementation ignores the prescaler setting, and loads a new value into RNGD every time RNGCS is read while the RNG is enabled and random data is available.
A qtest featuring some simple randomness tests is included.
Reviewed-by: Tyrone Ting <kfting@nuvoton.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Havard Skinnemoen <hskinnemoen@google.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
H A D | meson.build | diff 326ccfe240ca9ef4f659a241b39390fa956e999b Fri Oct 23 16:06:35 CDT 2020 Havard Skinnemoen <hskinnemoen@google.com> hw/misc: Add npcm7xx random number generator
The RNG module returns a byte of randomness when the Data Valid bit is set.
This implementation ignores the prescaler setting, and loads a new value into RNGD every time RNGCS is read while the RNG is enabled and random data is available.
A qtest featuring some simple randomness tests is included.
Reviewed-by: Tyrone Ting <kfting@nuvoton.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Havard Skinnemoen <hskinnemoen@google.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
H A D | trace-events | diff 326ccfe240ca9ef4f659a241b39390fa956e999b Fri Oct 23 16:06:35 CDT 2020 Havard Skinnemoen <hskinnemoen@google.com> hw/misc: Add npcm7xx random number generator
The RNG module returns a byte of randomness when the Data Valid bit is set.
This implementation ignores the prescaler setting, and loads a new value into RNGD every time RNGCS is read while the RNG is enabled and random data is available.
A qtest featuring some simple randomness tests is included.
Reviewed-by: Tyrone Ting <kfting@nuvoton.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Havard Skinnemoen <hskinnemoen@google.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
/openbmc/qemu/tests/qtest/ |
H A D | npcm7xx_rng-test.c | 326ccfe240ca9ef4f659a241b39390fa956e999b Fri Oct 23 16:06:35 CDT 2020 Havard Skinnemoen <hskinnemoen@google.com> hw/misc: Add npcm7xx random number generator
The RNG module returns a byte of randomness when the Data Valid bit is set.
This implementation ignores the prescaler setting, and loads a new value into RNGD every time RNGCS is read while the RNG is enabled and random data is available.
A qtest featuring some simple randomness tests is included.
Reviewed-by: Tyrone Ting <kfting@nuvoton.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Havard Skinnemoen <hskinnemoen@google.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
H A D | meson.build | diff 326ccfe240ca9ef4f659a241b39390fa956e999b Fri Oct 23 16:06:35 CDT 2020 Havard Skinnemoen <hskinnemoen@google.com> hw/misc: Add npcm7xx random number generator
The RNG module returns a byte of randomness when the Data Valid bit is set.
This implementation ignores the prescaler setting, and loads a new value into RNGD every time RNGCS is read while the RNG is enabled and random data is available.
A qtest featuring some simple randomness tests is included.
Reviewed-by: Tyrone Ting <kfting@nuvoton.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Havard Skinnemoen <hskinnemoen@google.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
/openbmc/qemu/include/hw/arm/ |
H A D | npcm7xx.h | diff 326ccfe240ca9ef4f659a241b39390fa956e999b Fri Oct 23 16:06:35 CDT 2020 Havard Skinnemoen <hskinnemoen@google.com> hw/misc: Add npcm7xx random number generator
The RNG module returns a byte of randomness when the Data Valid bit is set.
This implementation ignores the prescaler setting, and loads a new value into RNGD every time RNGCS is read while the RNG is enabled and random data is available.
A qtest featuring some simple randomness tests is included.
Reviewed-by: Tyrone Ting <kfting@nuvoton.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Havard Skinnemoen <hskinnemoen@google.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
/openbmc/qemu/docs/system/arm/ |
H A D | nuvoton.rst | diff 326ccfe240ca9ef4f659a241b39390fa956e999b Fri Oct 23 16:06:35 CDT 2020 Havard Skinnemoen <hskinnemoen@google.com> hw/misc: Add npcm7xx random number generator
The RNG module returns a byte of randomness when the Data Valid bit is set.
This implementation ignores the prescaler setting, and loads a new value into RNGD every time RNGCS is read while the RNG is enabled and random data is available.
A qtest featuring some simple randomness tests is included.
Reviewed-by: Tyrone Ting <kfting@nuvoton.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Havard Skinnemoen <hskinnemoen@google.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
/openbmc/qemu/hw/arm/ |
H A D | npcm7xx.c | diff 326ccfe240ca9ef4f659a241b39390fa956e999b Fri Oct 23 16:06:35 CDT 2020 Havard Skinnemoen <hskinnemoen@google.com> hw/misc: Add npcm7xx random number generator
The RNG module returns a byte of randomness when the Data Valid bit is set.
This implementation ignores the prescaler setting, and loads a new value into RNGD every time RNGCS is read while the RNG is enabled and random data is available.
A qtest featuring some simple randomness tests is included.
Reviewed-by: Tyrone Ting <kfting@nuvoton.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Havard Skinnemoen <hskinnemoen@google.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|