mbedtls_mpi_core_fill_random() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsReferencesCall TreeData Use

Return value

\c 0 if successful. #MBEDTLS_ERR_MPI_BAD_INPUT_DATA if \p X does not have enough room for \p bytes bytes. A negative error code on RNG failure.

Notes

The bytes obtained from the RNG are interpreted as a big-endian representation of an MPI; this can be relevant in applications like deterministic ECDSA.

References