mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Add entropy_self_test()
This commit is contained in:
@ -230,6 +230,15 @@ int entropy_write_seed_file( entropy_context *ctx, const char *path );
|
||||
int entropy_update_seed_file( entropy_context *ctx, const char *path );
|
||||
#endif /* POLARSSL_FS_IO */
|
||||
|
||||
#if defined(POLARSSL_SELF_TEST)
|
||||
/**
|
||||
* \brief Checkup routine
|
||||
*
|
||||
* \return 0 if successful, or 1 if a test failed
|
||||
*/
|
||||
int entropy_self_test( int verbose );
|
||||
#endif /* POLARSSL_SELF_TEST */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user