Closed abattistello-secpat closed 3 months ago
Hi and thanks for posting. This is true but, on the other hand, Zephyr is not our code: you could try posting an issue there: https://github.com/zephyrproject-rtos/zephyr.
I will close this: please feel free to re-open if there is more to discuss.
Up to tag v1.2.0, the int rand() function in zephyr port does not provide a return status. Thus a possible problem or malfunction of the hardware generator is not handled. So for example if the hardware random number generator is stuck and always produces the same value (thus it is not random), the user would not be aware of it.