NetBSD/tests/dev
pooka 4b008acfd7 Add rudimentary cgd tests. The tests use cgd to transform a
plaintext into into an encrypted image and back into plaintext by
doing rump I/O on /dev/cgd.  There is one test to check that giving
the same password for both encryption and decryption produces the
same plaintext and another to check that giving a different passwords
does not produce the same plaintext.

This could be fairly easily extended to test all feature of cgd
(hint hint).  For example, now cgd.conf is included in cvs, but
the only reason for that is that without further hacking cgdconfig
uses /dev/random quality random to generate the salt for a
pkcsetcetc_kdf2 cgconfig -g, and making an automated test block on
the entropy pool is just not good form.  Details are everything.
2010-11-11 22:38:46 +00:00
..
audio Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
cgd Add rudimentary cgd tests. The tests use cgd to transform a 2010-11-11 22:38:46 +00:00
dm Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
scsipi Query the raw partition at runtime 2010-09-11 16:03:41 +00:00
sysmon Due to timing discrepancies desribed in PR kern/43997, tickle the 2010-10-24 13:16:12 +00:00
Makefile Add rudimentary cgd tests. The tests use cgd to transform a 2010-11-11 22:38:46 +00:00
Makefile.inc add Makefile.inc everywhere so that we can set WARNS=4 by default. Amazing 2010-11-03 16:10:19 +00:00