mbedtls_mpi_core_random() is only used within mbedTLS.
 
Symbols
loading...
Files
loading (3/5)...
SummarySyntaxArgumentsReferencesCall TreeData Use

Return value

\c 0 if successful. #MBEDTLS_ERR_MPI_NOT_ACCEPTABLE if the implementation was unable to find a suitable value within a limited number of attempts. This has a negligible probability if \p N is significantly larger than \p min, which is the case for all usual cryptographic applications.

Notes

There are `N - min` possible outputs. The lower bound \p min can be reached, but the upper bound \p N cannot.

References