mirror of
https://github.com/espressif/mbedtls.git
synced 2025-05-31 12:08:47 +08:00

The specification requires that numbers are the raw entropy (except for odd/ even) and at least 2^(nbits-0.5). If not, new random bits need to be used for the next number. Similarly, if the number is not prime new random bits need to be used.