Subject: Re: cgd and opencrypto
To: Daniel Carosone <>
From: Jason Thorpe <>
List: tech-crypto
Date: 10/12/2004 11:59:56
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed

On Oct 12, 2004, at 2:27 AM, Daniel Carosone wrote:

> There have been some discussions about it.  At present, there is no
> implementation of these discussions.  There are some intricacies and
> some restructuring of cgd required to take advantage of hw crypto, in
> particular it needs to grow a means to asynchronously schedule
> encryption and decryption, and probably a kernel thread context to
> facilitate this.  These changes would bring a few other benefits as
> well, but the current simplicity of cgd is also a desirable feature.

It's not clear that it would even be faster.  cgd encrypts one sector 
at a time, and that is going to translate into a lot of setup overhead 
for a crypto accelerator card.

         -- Jason R. Thorpe <>

content-type: application/pgp-signature; x-mac-type=70674453;
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

Version: GnuPG v1.2.3 (Darwin)