micropython/extmod
Damien George 6f34800884 extmod/modurandom: Support urandom.seed() without an argument.
If a port provides MICROPY_PY_URANDOM_SEED_INIT_FUNC as a source of
randomness then this will be used when urandom.seed() is called without
an argument (or with None as the argument) to seed the pRNG.

Other related changes in this commit:
- mod_urandom___init__ is changed to call seed() without arguments, instead
  of explicitly passing in the result of MICROPY_PY_URANDOM_SEED_INIT_FUNC.
- mod_urandom___init__ will only ever seed the pRNG once (before it could
  seed it again if imported by, eg, random and then urandom).
- The Yasmarang state is moved to the BSS for builds where the state is
  guaranteed to be initialised on import of the (u)random module.

Signed-off-by: Damien George <damien@micropython.org>
2020-10-29 14:15:16 +11:00
..
axtls-include
btstack extmod/modbluetooth: Implement MTU. 2020-09-18 12:51:21 +10:00
crypto-algorithms
lwip-include
nimble extmod/modbluetooth: Implement MTU. 2020-09-18 12:51:21 +10:00
re1.5 py, extmod: Introduce and use MP_FALLTHROUGH macro. 2020-10-22 11:53:16 +02:00
uasyncio
uzlib
webrepl all: Rename "sys" module to "usys". 2020-09-04 00:10:24 +10:00
extmod.mk extmod: Disable -Wmissing-field-initializers for lfs2. 2020-10-22 11:47:36 +02:00
machine_i2c.c py, extmod: Add explicit initializers for default values. 2020-10-22 11:47:36 +02:00
machine_i2c.h ports: Support legacy soft I2C/SPI construction via id=-1 arg. 2020-10-01 12:57:10 +10:00
machine_mem.c
machine_mem.h
machine_pinbase.c
machine_pinbase.h
machine_pulse.c
machine_pulse.h
machine_signal.c
machine_signal.h
machine_spi.c extmod/machine_spi: Remove "id" arg in SoftSPI constructor. 2020-10-01 12:57:10 +10:00
machine_spi.h ports: Support legacy soft I2C/SPI construction via id=-1 arg. 2020-10-01 12:57:10 +10:00
misc.h
modbluetooth.c extmod/modbluetooth: Change module-owned bytes objects to memoryview. 2020-09-25 12:23:11 +10:00
modbluetooth.h extmod/modbluetooth: Implement MTU. 2020-09-18 12:51:21 +10:00
modbtree.c
modframebuf.c
modlwip.c extmod/modlwip: Fix error return for TCP recv when not connected. 2020-08-30 13:20:51 +10:00
modonewire.c
moduasyncio.c
modubinascii.c
moducryptolib.c
moductypes.c py, extmod: Introduce and use MP_FALLTHROUGH macro. 2020-10-22 11:53:16 +02:00
moduhashlib.c
moduheapq.c
modujson.c
modurandom.c extmod/modurandom: Support urandom.seed() without an argument. 2020-10-29 14:15:16 +11:00
modure.c extmod/modure: Allow \\ in re.sub replacements. 2020-09-30 23:18:34 +10:00
moduselect.c
modussl_axtls.c extmod/modussl_axtls: Reduce size of code that makes exception. 2020-09-11 10:22:19 +10:00
modussl_mbedtls.c
modutimeq.c
moduwebsocket.c
moduwebsocket.h
moduzlib.c
modwebrepl.c
mpbthci.c extmod/modbluetooth: Refactor stack/hci/driver/port bindings. 2020-09-08 11:41:31 +10:00
mpbthci.h extmod/modbluetooth: Refactor stack/hci/driver/port bindings. 2020-09-08 11:41:31 +10:00
network_cyw43.c
network_cyw43.h
uos_dupterm.c
utime_mphal.c extmod/utime_mphal: Add generic utime.time_ns() function. 2020-10-01 14:20:42 +10:00
utime_mphal.h extmod/utime_mphal: Add generic utime.time_ns() function. 2020-10-01 14:20:42 +10:00
vfs.c extmod/vfs: Fix lookup of entry in root dir so it fails correctly. 2020-09-23 16:23:35 +10:00
vfs.h
vfs_blockdev.c
vfs_fat.c all: Rename absolute time-based functions to include "epoch". 2020-09-18 17:20:34 +10:00
vfs_fat.h
vfs_fat_diskio.c
vfs_fat_file.c
vfs_lfs.c py, extmod: Add explicit initializers for default values. 2020-10-22 11:47:36 +02:00
vfs_lfs.h
vfs_lfsx.c extmod/vfs_lfs: Support mounting LFS filesystems in read-only mode. 2020-10-29 11:43:52 +11:00
vfs_lfsx_file.c
vfs_posix.c extmod/vfs: Support larger integer range in VFS stat time fields. 2020-09-01 12:36:28 +10:00
vfs_posix.h
vfs_posix_file.c
vfs_reader.c
virtpin.c
virtpin.h