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