1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5SDEVRANDOM= ${SRCTOP}/sys/dev/random 6.PATH: ${SDEVRANDOM} 7 8TESTSDIR= ${TESTSBASE}/sys/devrandom 9 10CFLAGS+= -I${SRCTOP}/sys 11 12ATF_TESTS_C+= uint128_test 13 14# Test Chacha CTR behavior <-> uint128 15LDADD.uint128_test+= ${SDEVRANDOM}/hash.c 16LDFLAGS.uint128_test+= -Wno-unused-parameter 17 18# hash.c deps: 19LIBADD.uint128_test+= md # SHA256 20LDADD.uint128_test+= ${SRCTOP}/sys/crypto/rijndael/rijndael-alg-fst.c 21LDADD.uint128_test+= ${SRCTOP}/sys/crypto/rijndael/rijndael-api-fst.c 22LDFLAGS.uint128_test+= -Wno-cast-align 23 24 25.include <bsd.test.mk> 26