]> granicus.if.org Git - esp-idf/commit
esp32: Add esp_fill_random() function
authorAngus Gratton <angus@espressif.com>
Wed, 15 Aug 2018 08:20:16 +0000 (18:20 +1000)
committerbot <bot@espressif.com>
Mon, 3 Sep 2018 04:39:45 +0000 (04:39 +0000)
commit83a179abb0d2bd0bfd50da71edaa63ea1add0071
treeec900e1ba5069cc221c6f63ffb6ef8d952315563
parent767ec2735055d5d5f6d8556a1a564fec2024c3b6
esp32: Add esp_fill_random() function

Convenience function to fill a buffer with random bytes.

Add some unit tests (only sanity checks, really.)
12 files changed:
components/bootloader_support/src/bootloader_random.c
components/esp32/hw_random.c
components/esp32/include/esp_system.h
components/esp32/test/test_random.c [new file with mode: 0644]
components/fatfs/test/test_fatfs_sdmmc.c
components/fatfs/test/test_fatfs_spiflash.c
components/libsodium/port/randombytes_esp32.c
components/mbedtls/port/esp_hardware.c
components/newlib/random.c
components/wpa_supplicant/port/os_xtensa.c
examples/bluetooth/blufi/main/blufi_security.c
examples/wifi/espnow/main/espnow_example_main.c