Havard Skinnemoen
326ccfe240
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>
2020-10-27 11:10:10 +00:00
..
2020-10-26 09:54:16 +01:00
2020-10-21 11:36:19 +02:00
2020-09-14 14:23:19 +01:00
2020-10-26 09:54:16 +01:00
2020-10-22 11:53:53 -04:00
2020-05-15 15:25:07 +01:00
2019-11-05 16:36:11 +01:00
2020-10-17 10:45:50 -04:00
2020-10-13 12:48:17 +02:00
2020-10-13 12:48:17 +02:00
2019-06-04 15:20:41 +02:00
2020-10-09 17:27:55 +01:00
2020-10-17 10:45:52 -04:00
2020-10-23 13:42:16 +01:00
2020-10-27 11:10:10 +00:00
2020-10-27 10:44:03 +00:00
2020-06-16 14:49:05 +01:00
2020-10-13 12:48:17 +02:00
2020-10-17 10:45:50 -04:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-09-10 11:02:17 +01:00
2020-09-10 11:02:17 +01:00
2020-09-10 11:02:17 +01:00
2020-07-02 06:25:28 +02:00
2020-10-02 15:46:40 +02:00
2019-03-07 22:05:54 +01:00
2019-08-21 10:27:13 +02:00
2020-04-30 06:51:15 +02:00
2020-07-02 06:25:28 +02:00
2020-09-09 09:27:09 -04:00
2020-09-18 13:49:48 -04:00
2019-06-12 13:20:21 +02:00
2020-07-17 14:20:57 +02:00
2019-06-12 13:20:21 +02:00
2020-01-06 18:41:32 +04:00
2019-06-12 13:20:20 +02:00
2020-09-23 16:07:44 +01:00
2020-10-17 10:45:51 -04:00
2020-10-17 10:45:50 -04:00
2020-10-22 11:53:54 -04:00
2020-01-12 11:42:40 +01:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-10-13 08:08:55 +02:00
2020-09-16 08:41:06 +02:00
2019-08-22 17:30:25 +04:00
2020-09-23 16:07:44 +01:00
2020-02-22 08:26:47 +00:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2020-07-02 06:25:28 +02:00
2020-10-05 10:59:42 +01:00
2020-07-02 06:25:28 +02:00
2020-10-13 13:33:46 +02:00
2019-08-16 13:31:52 +02:00
2020-07-02 06:25:28 +02:00
2019-09-10 08:58:43 +02:00
2020-04-07 14:34:47 +02:00
2020-10-13 13:33:45 +02:00
2019-03-05 14:43:11 +01:00
2019-03-07 22:16:22 +01:00
2019-06-12 13:18:33 +02:00
2020-07-02 06:25:28 +02:00
2019-01-11 13:57:25 +01:00
2020-09-08 07:17:09 +02:00
2019-12-17 09:05:23 +01:00
2019-12-17 09:05:23 +01:00
2018-12-13 19:10:06 +01:00
2020-09-23 13:45:52 +01:00
2020-03-18 14:03:46 -04:00
2019-08-16 13:31:52 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2020-09-16 12:15:07 +02:00
2020-09-16 08:41:06 +02:00
2019-12-17 09:05:23 +01:00
2020-07-02 06:25:28 +02:00
2020-09-23 13:41:58 +01:00
2020-10-15 16:06:27 +02:00
2020-09-23 16:07:44 +01:00
2020-09-16 12:15:07 +02:00
2020-07-02 06:25:28 +02:00
2020-09-08 11:43:16 +02:00
2020-08-21 06:30:20 -04:00
2020-10-09 07:08:19 +02:00
2020-03-17 19:58:34 +01:00
2020-09-03 09:38:36 +02:00
2020-04-30 07:26:09 +02:00
2020-09-23 16:07:44 +01:00
2020-02-22 08:26:47 +00:00
2020-09-16 08:41:06 +02:00
2020-07-02 06:25:28 +02:00
2020-07-02 06:25:28 +02:00
2020-09-23 16:07:44 +01:00
2019-08-20 17:26:19 +02:00
2020-10-05 16:41:22 +02:00
2020-09-07 12:34:17 +02:00
2020-10-09 07:08:19 +02:00
2020-09-16 08:41:06 +02:00
2020-09-02 07:29:26 -04:00
2020-10-23 13:42:16 +01:00