xref: /freebsd/crypto/openssh/regress/unittests/sshbuf/tests.c (revision ebacd8013fe5f7fdf9f6a5b286f6680dd2891036)
1 /* 	$OpenBSD: tests.c,v 1.1 2014/04/30 05:32:00 djm Exp $ */
2 /*
3  * Regress test for sshbuf.h buffer API
4  *
5  * Placed in the public domain
6  */
7 
8 #include "../test_helper/test_helper.h"
9 
10 void sshbuf_tests(void);
11 void sshbuf_getput_basic_tests(void);
12 void sshbuf_getput_crypto_tests(void);
13 void sshbuf_misc_tests(void);
14 void sshbuf_fuzz_tests(void);
15 void sshbuf_getput_fuzz_tests(void);
16 void sshbuf_fixed(void);
17 
18 void
19 tests(void)
20 {
21 	sshbuf_tests();
22 	sshbuf_getput_basic_tests();
23 #ifdef WITH_OPENSSL
24 	sshbuf_getput_crypto_tests();
25 #endif
26 	sshbuf_misc_tests();
27 	sshbuf_fuzz_tests();
28 	sshbuf_getput_fuzz_tests();
29 	sshbuf_fixed();
30 }
31