mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-20 22:05:15 +00:00
replace user rand by platform rand in ecc delays
Signed-off-by: Shelly Liberman <shelly.liberman@arm.com>
This commit is contained in:
parent
6f3a987ae3
commit
05beb9ac70
3 changed files with 30 additions and 1 deletions
|
|
@ -300,6 +300,15 @@ uint32_t mbedtls_platform_random_in_range( uint32_t num );
|
|||
*/
|
||||
void mbedtls_platform_random_delay( void );
|
||||
|
||||
/**
|
||||
* \brief RNG-function for getting a random buffer.
|
||||
*
|
||||
* \param buf Buffer for random data
|
||||
* \param len Length of the buffer in bytes
|
||||
*
|
||||
*/
|
||||
void mbedtls_platform_random_buf( uint8_t *buf, size_t len);
|
||||
|
||||
#if defined(MBEDTLS_HAVE_TIME_DATE)
|
||||
/**
|
||||
* \brief Platform-specific implementation of gmtime_r()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue