Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RZ_A1LU: Fix TRNG function #5970

Merged
merged 1 commit into from
Feb 8, 2018
Merged

RZ_A1LU: Fix TRNG function #5970

merged 1 commit into from
Feb 8, 2018

Commits on Feb 6, 2018

  1. [RZ_A1LU] Fix TRNG function

    Related to the review of ARMmbed#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".
    TomoYamanaka committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    412a79d View commit details
    Browse the repository at this point in the history