freebsd-nq/sys/crypto/rijndael/Makefile
Poul-Henning Kamp 0513e13e31 Add a testcase which validates that the same buffer can be passed to
rijndael_blockDecrypt() as both input and output.

This property is important because inside rijndael we can get away
with allocating just a 16 byte "work" buffer on the stack (which
is very cheap), whereas the calling code would need to allocate the
full sized buffer, and in all likelyhood would have to do so with
an expensive malloc(9).
2003-10-19 22:12:23 +00:00

13 lines
178 B
Makefile

# $FreeBSD$
PROG=test00
NOMAN=1
SRCS= ${PROG}.c rijndael-alg-fst.c rijndael-api-fst.c
CFLAGS += -I${.CURDIR}/../.. -g -static
.include <bsd.prog.mk>
test: ${PROG}
./${PROG}