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