mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-24 02:55:36 +00:00
Properly gate NV_SEED additions in test suite
This commit is contained in:
parent
38f314550a
commit
4a6c6fc72d
|
@ -35,6 +35,7 @@ static int entropy_dummy_source( void *data, unsigned char *output,
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_ENTROPY_NV_SEED)
|
||||||
/*
|
/*
|
||||||
* Ability to clear entropy sources to allow testing with just predefined
|
* Ability to clear entropy sources to allow testing with just predefined
|
||||||
* entropy sources. This function or tests depending on it might break if there
|
* entropy sources. This function or tests depending on it might break if there
|
||||||
|
@ -114,6 +115,7 @@ static int read_nv_seed( unsigned char *buf, size_t buf_len )
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
#endif /* MBEDTLS_ENTROPY_NV_SEED */
|
||||||
/* END_HEADER */
|
/* END_HEADER */
|
||||||
|
|
||||||
/* BEGIN_DEPENDENCIES
|
/* BEGIN_DEPENDENCIES
|
||||||
|
|
Loading…
Reference in a new issue