Subject: Re: cgd(4) 1.6 backport patch updated
To: None <tech-kern@netbsd.org>
From: Daniel de Kok <daniel@evilbsd.net>
List: tech-kern
Date: 09/12/2003 14:28:11
Todd Vierling wrote:
> Some of the files are now on the branch, and a couple pullups
> required merging.  The new diff is available at:

When I use aes-cbc as cipher, like:

# cgdconfig -g -o /etc/cgd/wd0b -V disklabel aes-cbc
# cgdconfig -V none cgd0 /dev/wd0b
# newfs /dev/cgd0d
# mount /dev/cgd0d /mnt/
mount_ffs: /dev/cgd0d on /mnt: incorrect super block

It simply doesn't work, even disklabling fails (the new label is gone
after writing it). However, if I follow the same procedure with the
blowfish-cbc cipher it seems to work perfectly. Am I doing something
wrong, or is a bug in aes-cbc screwing things up completely?

With kind regards,
Daniel de Kok

---
Running NetBSD 1.6.1!
Website: http://blowgish.freeshell.org/
EvilBSD: http://www.evilbsd.net/