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_hmac.c \ 25 g_eli_key.c \ 26 g_eli_key_cache.c \ 27 pkcs5v2.c \ 28 29# aes 30.PATH: ${SYSDIR}/opencrypto 31SRCS+= xform_aes_xts.c 32