Subject: Re: cgd and opencrypto
To: Daniel Carosone <dan@geek.com.au>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-crypto
Date: 10/12/2004 11:59:56
--Apple-Mail-41--958688022
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 <thorpej@shagadelic.org>


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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFBbCmsOpVKkaBm8XkRAk6dAJsHUm7VkKcD74Z57pCO3k8tc8sV/QCfVCv4
PT9HdFpDrvPnMpp98r+TBuE=
=PZ4o
-----END PGP SIGNATURE-----

--Apple-Mail-41--958688022--