Re: cgd and opencrypto

Jason Thorpe <[email protected]>
Newsgroups gmane.os.netbsd.devel.crypto
Message-ID <[email protected]>
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 <[email protected]>
PGP.sig (application/pgp-signature, 186 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.