From 95629acc2902541460698d1898175499500caecd Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Tue, 16 Jul 2019 21:04:10 -0400 Subject: add sha224 --- tests.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'tests.h') diff --git a/tests.h b/tests.h index 96b8357..339d565 100644 --- a/tests.h +++ b/tests.h @@ -1,8 +1,15 @@ #ifndef TESTS_H_ #define TESTS_H_ -unsigned int run_tests( - void (*on_fail)(const char * const, const uint8_t *, const uint8_t *) +#include + +typedef void (*test_fail_cb_t)( + const int, + const char * const, + const uint8_t *, + const uint8_t * ); +unsigned int run_tests(test_fail_cb_t); + #endif /* TESTS_H_ */ -- cgit v1.2.3