1# $FreeBSD$ 2 3.PATH: ${SRCTOP}/sys/geom/eli ${SRCTOP}/sys/crypto/sha2 4 5PACKAGE= tests 6 7WARNS?= 3 8 9TESTSDIR= ${TESTSBASE}/sys/geom/class/${.CURDIR:T} 10 11ATF_TESTS_C= pbkdf2_test 12ATF_TESTS_SH+= attach_test 13ATF_TESTS_SH+= configure_test 14ATF_TESTS_SH+= delkey_test 15ATF_TESTS_SH+= detach_test 16ATF_TESTS_SH+= init_test 17ATF_TESTS_SH+= integrity_test 18ATF_TESTS_SH+= kill_test 19ATF_TESTS_SH+= misc_test 20ATF_TESTS_SH+= onetime_test 21ATF_TESTS_SH+= online_resize_test 22ATF_TESTS_SH+= reentrancy_test 23ATF_TESTS_SH+= resize_test 24ATF_TESTS_SH+= setkey_test 25 26${PACKAGE}FILES+= conf.sh 27 28CFLAGS.pbkdf2_test= -I${SRCTOP}/sys 29 30SRCS.pbkdf2_test= \ 31 hmac_test.c \ 32 g_eli_crypto.c \ 33 g_eli_hmac.c \ 34 pkcs5v2.c \ 35 sha512c.c \ 36 sha256c.c 37 38LIBADD.pbkdf2_test= crypto 39 40testvect.h: 41 python gentestvect.py > ${.TARGET} 42 43.include <bsd.test.mk> 44