xref: /freebsd/stand/libsa/geli/Makefile.inc (revision b59017c5cad90d0f09a59e68c00457b7faf93e7c)
1# Extra stuff for GELI
2
3.PATH: ${SASRC}/geli
4
5# Our password input method
6SRCS+=		pwgets.c
7
8# AES implementation from sys/crypto
9.PATH: ${SYSDIR}/crypto/rijndael
10.for i in rijndael-alg-fst.c rijndael-api-fst.c rijndael-api.c
11# Remove asserts XXX BAD
12CFLAGS.${i}+=	-DNDEBUG
13SRCS+=		${i}
14.endfor
15
16# local GELI Implementation
17.PATH: ${SYSDIR}/geom/eli
18.for i in gelidev.c geli_metadata.c
19CFLAGS.${i}+= -I${LDRSRC}
20SRCS+=		${i}
21.endfor
22SRCS+=		geliboot.c \
23		geliboot_crypto.c \
24		g_eli_key.c \
25		g_eli_key_cache.c \
26
27# aes
28.PATH:		${SYSDIR}/opencrypto
29SRCS+=		xform_aes_xts.c
30