mbed-os/targets/TARGET_RENESAS
TomoYamanaka 412a79d444 [RZ_A1LU] Fix TRNG function
Related to the review of #5857, I fixed the TRNG function for GR-LYCHEE.
- I modified to zeroize "recv_data" before the function return.
- I added the processing that check the return value of I2C.read function. If return value is error, "output" is zeroized before function return.
- In trng_get_bytes_esp32 function, there is a time lag in the period from ESP32 reset to start working, error may occur when "Write" is called. Thus, I added a retry counter due to address this concern. There is not this counter for "Read" since it is called after "Write".
2018-02-06 15:44:33 +09:00
..
TARGET_RZ_A1XX [RZ_A1LU] Fix TRNG function 2018-02-06 15:44:33 +09:00
mbed_rtx.h Add the definition for GR-LYCHEE in mbed_rtx.h 2018-01-16 13:39:44 +09:00