Re: RFC: Crypto API User-interface
[Posted October 20, 2010 by jake]
| From: |
| Christoph Hellwig <hch-AT-infradead.org> |
| To: |
| Herbert Xu <herbert-AT-gondor.apana.org.au> |
| Subject: |
| Re: RFC: Crypto API User-interface |
| Date: |
| Tue, 7 Sep 2010 10:06:46 -0400 |
| Message-ID: |
| <20100907140646.GA31921@infradead.org> |
| Cc: |
| Linux Crypto Mailing List <linux-crypto-AT-vger.kernel.org>,
netdev-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org |
| Archive‑link: | |
Article |
On Tue, Sep 07, 2010 at 04:42:13PM +0800, Herbert Xu wrote:
> Hi:
>
> This is what I am proposing for the Crypto API user-interface.
Can you explain why we would ever want a userspace interface to it?
doing crypto in kernel for userspace consumers sis simply insane.
It's computational intensive code which has no business in kernel space
unless absolutely required (e.g. for kernel consumers). In addition
to that adding the context switch overhead and address space transitions
is god awfull too.
This all very much sounds like someone had far too much crack.