16b2ab905SJason King /*
26b2ab905SJason King  * This file and its contents are supplied under the terms of the
36b2ab905SJason King  * Common Development and Distribution License (), version 1.0.
46b2ab905SJason King  * You may only use this file in accordance with the terms of version
56b2ab905SJason King  * 1.0 of the CDDL.
66b2ab905SJason King  *
76b2ab905SJason King  * A full copy of the text of the CDDL should have accompanied this
86b2ab905SJason King  * source.  A copy of the CDDL is also available via the Internet at
96b2ab905SJason King  * http://www.illumos.org/license/CDDL.
106b2ab905SJason King  */
116b2ab905SJason King 
126b2ab905SJason King /*
13*080adf91SPatrick Mooney  * Copyright 2020 Oxide Computer Company
146b2ab905SJason King  */
156b2ab905SJason King 
16*080adf91SPatrick Mooney #include <stdio.h>
17*080adf91SPatrick Mooney #include <sys/types.h>
186b2ab905SJason King 
19*080adf91SPatrick Mooney #include "cryptotest.h"
20*080adf91SPatrick Mooney #include "parser_runner.h"
216b2ab905SJason King 
22*080adf91SPatrick Mooney int
main(void)23*080adf91SPatrick Mooney main(void)
24*080adf91SPatrick Mooney {
25*080adf91SPatrick Mooney 	int errs = digest_runner(SUN_CKM_MD5, "MD5Msg.rsp", 16);
26*080adf91SPatrick Mooney 	if (errs != 0)
27*080adf91SPatrick Mooney 		(void) fprintf(stderr, "%d tests failed\n", errs);
286b2ab905SJason King 
29*080adf91SPatrick Mooney 	return (errs);
30*080adf91SPatrick Mooney }
31