robert-hh
2e62b56bdd
ports: Refactor os.urandom().
...
Factor out mp_os_urandom() of each port into extmod/modos.c, which then
calls the port-specific function mp_hal_get_random().
Move mp_hal_get_random() to mphalport where suitable. At the
MIMXRT and SAMD it is left in modos.c, since there are different
implementation depending on the MCU family.
At the ALIF, ESP32, CC3200 and RP2 port the file modos.c was removed,
since it was empty after moving mp_hal_get_random().
Tested for the cc3200, esp32, esp8266, mimxrt, nrf, rp2, samd, stm32
and unix ports. Compiled for the alif and the renesas port.
Signed-off-by: robert-hh <robert@hammelrath.com >
2026-02-24 23:36:02 +11:00
..
2025-11-21 00:07:35 +11:00
2024-03-07 16:25:17 +11:00
2024-03-16 12:19:12 +11:00
2025-06-04 02:21:32 +10:00
2024-09-06 17:14:03 +10:00
2025-05-07 17:03:28 +10:00
2025-08-16 14:52:52 +10:00
2025-07-23 15:47:17 +10:00
2025-06-04 02:21:32 +10:00
2025-05-08 15:32:05 +10:00
2025-08-01 23:03:17 +10:00
2025-08-01 23:03:17 +10:00
2022-05-05 13:30:40 +10:00
2024-03-07 14:20:42 +11:00
2024-03-07 14:20:42 +11:00
2024-03-07 14:20:42 +11:00
2025-08-01 23:03:17 +10:00
2024-03-07 14:20:42 +11:00
2026-02-07 16:33:21 +11:00
2024-03-15 12:04:34 +11:00
2024-03-07 14:20:42 +11:00
2025-06-13 16:27:35 +10:00
2024-03-07 14:20:42 +11:00
2024-03-15 12:04:25 +11:00
2024-07-12 22:59:31 +10:00
2025-09-25 23:59:24 +10:00
2025-09-11 12:42:24 +10:00
2025-11-30 23:18:57 +11:00
2024-03-07 14:20:42 +11:00
2023-12-22 10:26:52 +11:00
2024-06-20 00:11:05 +10:00
2024-03-07 14:20:42 +11:00
2025-06-04 02:21:32 +10:00
2025-06-04 02:21:32 +10:00
2024-07-22 10:42:29 +10:00
2024-03-07 14:20:42 +11:00
2025-03-27 11:58:59 +11:00
2025-08-15 01:17:00 +10:00
2024-03-07 14:20:42 +11:00
2024-03-07 14:20:42 +11:00
2025-05-19 02:09:40 +02:00
2026-02-10 15:58:44 +11:00
2025-08-01 23:03:17 +10:00
2025-08-01 23:03:17 +10:00
2026-01-27 01:20:36 +11:00
2025-06-10 11:20:38 +10:00
2025-07-17 13:38:58 +10:00
2024-03-07 14:20:42 +11:00
2025-09-28 22:46:05 +10:00
2024-08-08 17:59:32 +10:00
2024-03-15 18:11:28 +11:00
2026-01-04 12:02:59 +11:00
2026-01-04 12:02:59 +11:00
2026-02-24 23:36:02 +11:00
2025-09-11 11:58:29 +10:00
2024-12-10 12:10:36 +11:00
2024-03-07 14:20:42 +11:00
2025-08-11 14:11:56 +10:00
2026-01-26 23:33:11 +11:00
2025-01-02 13:33:39 +11:00
2025-08-15 12:09:13 +10:00
2023-06-08 17:54:14 +10:00
2026-02-07 16:34:20 +11:00
2026-02-07 16:34:20 +11:00
2025-09-28 23:23:04 +10:00
2025-03-06 12:52:35 +11:00
2024-07-04 15:55:03 +10:00
2025-10-05 15:43:02 +11:00
2023-06-08 17:54:14 +10:00
2020-09-08 11:41:31 +10:00
2025-05-08 15:32:05 +10:00
2025-05-20 23:14:41 +10:00
2019-06-03 16:47:35 +10:00
2025-06-10 11:20:38 +10:00
2025-07-17 13:38:58 +10:00
2024-07-12 01:03:46 +10:00
2025-08-25 23:11:33 +10:00
2026-02-05 00:29:36 +11:00
2024-03-16 10:59:03 +11:00
2025-10-01 11:14:39 +10:00
2024-03-07 14:20:42 +11:00
2024-03-07 14:20:42 +11:00
2025-07-09 11:54:21 +10:00
2019-10-29 12:12:37 +11:00
2024-03-07 14:20:42 +11:00
2019-10-29 14:17:29 +11:00
2026-02-07 16:33:21 +11:00
2025-07-23 15:51:08 +10:00
2026-02-07 16:33:21 +11:00
2025-07-24 10:39:41 +10:00
2018-06-06 14:33:42 +10:00
2026-02-24 18:46:01 +11:00
2024-12-23 13:04:54 +11:00
2025-03-27 17:04:12 +11:00
2024-12-23 13:04:54 +11:00
2025-10-04 00:19:40 +10:00
2025-03-06 12:52:35 +11:00
2022-09-19 19:06:07 +10:00
2017-07-18 11:57:39 +10:00