Add tests for not-yet-committed cgd algorithm AES-XTS.

The tests are marked as expected failures.
This commit is contained in:
alnsn 2016-11-06 10:54:42 +00:00
parent a1a199794c
commit 838eb24361
3 changed files with 1465 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.691 2016/11/02 12:51:22 kamil Exp $
# $NetBSD: mi,v 1.692 2016/11/06 10:54:42 alnsn Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@ -1366,6 +1366,7 @@
./usr/tests/dev/cgd/h_img2cgd/h_img2cgd tests-obsolete obsolete
./usr/tests/dev/cgd/paramsfile tests-fs-tests compattestfile,atf
./usr/tests/dev/cgd/t_cgd tests-fs-tests compattestfile,atf
./usr/tests/dev/cgd/t_cgd_aes tests-fs-tests compattestfile,atf,rump
./usr/tests/dev/clock_subr tests-fs-tests compattestfile,atf
./usr/tests/dev/clock_subr/Atffile tests-fs-tests compattestfile,atf
./usr/tests/dev/clock_subr/Kyuafile tests-fs-tests compattestfile,atf,kyua

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2010/12/14 17:48:31 pooka Exp $
# $NetBSD: Makefile,v 1.3 2016/11/06 10:54:42 alnsn Exp $
#
.include <bsd.own.mk>
@ -8,5 +8,15 @@ FILES= paramsfile
FILESDIR= ${TESTSDIR}
TESTS_SH= t_cgd
TESTS_C= t_cgd_aes
CPPFLAGS+= -D_KERNTYPES
LDADD+= -lrumpdev -lrumpdev_disk -lrumpdev_cgd -lrumpkern_crypto -lrumpvfs
LDADD+= -lrump
LDADD+= -lrumpuser
LDADD+= -lrump -lutil
LDADD+= -lpthread
WARNS= 4
.include <bsd.test.mk>

1452
tests/dev/cgd/t_cgd_aes.c Normal file

File diff suppressed because it is too large Load Diff