mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-05-30 14:17:19 +00: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_dh.h"
|
||||||
#include "tinycrypt/ecc_dsa.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 */
|
/* END_HEADER */
|
||||||
|
|
||||||
/* BEGIN_DEPENDENCIES
|
/* BEGIN_DEPENDENCIES
|
||||||
|
|
Loading…
Reference in a new issue