1#	$OpenBSD: Makefile,v 1.8 2022/08/20 19:25:14 jsing Exp $
2
3PROG=	aeadtest
4LDADD=	${CRYPTO_INT}
5DPADD=	${LIBCRYPTO}
6WARNINGS=	Yes
7CFLAGS+=	-DLIBRESSL_INTERNAL -Werror
8
9REGRESS_TARGETS=regress-aeadtest
10
11regress-aeadtest: ${PROG}
12	./${PROG} aead ${.CURDIR}/aeadtests.txt
13	./${PROG} aes-128-gcm ${.CURDIR}/aes_128_gcm_tests.txt
14	./${PROG} aes-192-gcm ${.CURDIR}/aes_192_gcm_tests.txt
15	./${PROG} aes-256-gcm ${.CURDIR}/aes_256_gcm_tests.txt
16	./${PROG} chacha20-poly1305 ${.CURDIR}/chacha20_poly1305_tests.txt
17	./${PROG} xchacha20-poly1305 ${.CURDIR}/xchacha20_poly1305_tests.txt
18
19.include <bsd.regress.mk>
20