Re: [PATCH 1/9] AF_RXRPC: Add blkcipher accessors for using kernel data directly

2007-04-03 Thread Herbert Xu
On Tue, Apr 03, 2007 at 02:52:53PM +0100, David Howells wrote: > > Note that it does paste stack space into sg-list elements, which I think > should be okay, and it asks the compiler to get it appropriately aligned bits > of stack. That'll do for now. Thanks! -- Visit Openswan at http://www.ope

Re: [PATCH 1/9] AF_RXRPC: Add blkcipher accessors for using kernel data directly

2007-04-03 Thread David Howells
Herbert Xu <[EMAIL PROTECTED]> wrote: > Would it be possible to just use the existing scatterlist interface > for now? We can simplify it later when things settle down. I'll apply the attached patch for now and drop the bypass patch. It's a bit messy, but it does let me use the sg-list interface

Re: [PATCH 1/9] AF_RXRPC: Add blkcipher accessors for using kernel data directly

2007-04-02 Thread Herbert Xu
On Mon, Apr 02, 2007 at 08:22:15PM -0700, David Miller wrote: > > I'll let Herbert, the crypto layer maintainer, decide on this one. > I can put it into net-2.6.22 in order to make the RXRPC integration > easier if Herbert is OK with this. > > Please be sure to CC: Herbert and/or the crypto lists

Re: [PATCH 1/9] AF_RXRPC: Add blkcipher accessors for using kernel data directly

2007-04-02 Thread David Miller
From: David Howells <[EMAIL PROTECTED]> Date: Mon, 02 Apr 2007 23:44:58 +0100 > Add blkcipher accessors for using kernel data directly without the > use of scatter lists. > > Also add a CRYPTO_ALG_DMA algorithm capability flag to permit or deny the use > of DMA and hardware accelerators. A hardwa

[PATCH 1/9] AF_RXRPC: Add blkcipher accessors for using kernel data directly

2007-04-02 Thread David Howells
Add blkcipher accessors for using kernel data directly without the use of scatter lists. Also add a CRYPTO_ALG_DMA algorithm capability flag to permit or deny the use of DMA and hardware accelerators. A hardware accelerator may not be used to access any arbitrary piece of kernel memory lest it no