Index: crypto/include/stat.h |
diff --git a/srtp/crypto/include/stat.h b/crypto/include/stat.h |
similarity index 81% |
rename from srtp/crypto/include/stat.h |
rename to crypto/include/stat.h |
index e28b1314a8f6f44bbc5ddbdddf6e38b0f36f93ff..579301b78c1a0096bfd18fc7a307e695c8459ae5 100644 |
--- a/srtp/crypto/include/stat.h |
+++ b/crypto/include/stat.h |
@@ -48,22 +48,20 @@ |
#define STAT_H |
#include "datatypes.h" /* for uint8_t */ |
-#include "err.h" /* for err_status_t */ |
-#include "rand_source.h" /* for rand_source_func_t definition */ |
+#include "err.h" /* for srtp_err_status_t */ |
-err_status_t |
-stat_test_monobit(uint8_t *data); |
+#ifdef __cplusplus |
+extern "C" { |
+#endif |
-err_status_t |
-stat_test_poker(uint8_t *data); |
+srtp_err_status_t stat_test_monobit(uint8_t *data); |
-err_status_t |
-stat_test_runs(uint8_t *data); |
+srtp_err_status_t stat_test_poker(uint8_t *data); |
-err_status_t |
-stat_test_rand_source(rand_source_func_t rs); |
+srtp_err_status_t stat_test_runs(uint8_t *data); |
-err_status_t |
-stat_test_rand_source_with_repetition(rand_source_func_t source, unsigned num_trials); |
+#ifdef __cplusplus |
+} |
+#endif |
#endif /* STAT_H */ |