mirror of https://github.com/ARMmbed/mbed-os.git
412a79d444
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". |
||
---|---|---|
.. | ||
TARGET_RZ_A1XX | ||
mbed_rtx.h |