Subject: Re: cgd and crypt-ccd
To: Jorgen Lundman <lundman@lundman.net>
From: Roland Dowdeswell <elric@imrryr.org>
List: tech-kern
Date: 10/07/2002 12:11:20
On 1034004239 seconds since the Beginning of the UNIX epoch
Roland Dowdeswell wrote:
>

>We should have a quick test of what the compatibility between the
>devices turns out to be.  From a quick code inspection, it looks
>like the blowfish-cbc modes are compatible on LE machines, but we
>should test it out.  cgdconfig(8) inputs passphrases and turns them
>into keys slightly differently, but we could come up with a document
>that describes how to get that to work.

Hmmm, on closer inspection it looks like the IV generation is subtly
different mainly because BF_encrypt() and BF_decrypt work in host
byte order.  If anyone needs it, I can look into implementing a
compatible mode (which also probably covers compatibility with
OpenBSD's vnd(4) blowfish encryption.)

--
    Roland Dowdeswell                      http://www.Imrryr.ORG/~elric/