mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-30 06:44:14 +01:00
Remove redundant rng wrapper
This commit is contained in:
parent
f35f35bcbe
commit
28012e2ea2
@ -4,16 +4,6 @@
|
||||
#include "tinycrypt/ecc_dh.h"
|
||||
#include "tinycrypt/ecc_dsa.h"
|
||||
|
||||
static int uecc_rng_wrapper( uint8_t *dest, unsigned int size )
|
||||
{
|
||||
int ret;
|
||||
ret = rnd_std_rand( NULL, dest, size );
|
||||
if( ret == 0 )
|
||||
return( (int) size );
|
||||
|
||||
return( 0 );
|
||||
}
|
||||
|
||||
/* END_HEADER */
|
||||
|
||||
/* BEGIN_DEPENDENCIES
|
||||
|
Loading…
Reference in New Issue
Block a user