Add entropy_self_test()
diff --git a/include/polarssl/entropy.h b/include/polarssl/entropy.h
index 55b262f..3b5d692 100644
--- a/include/polarssl/entropy.h
+++ b/include/polarssl/entropy.h
@@ -230,6 +230,15 @@
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