All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Linux Crypto Mailing List <linux-crypto@vger.kernel.org>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: RFC: Crypto API User-interface
Date: Tue, 7 Sep 2010 10:06:46 -0400	[thread overview]
Message-ID: <20100907140646.GA31921@infradead.org> (raw)
In-Reply-To: <20100907084213.GA4610@gondor.apana.org.au>

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.

WARNING: multiple messages have this Message-ID (diff)
From: Christoph Hellwig <hch@infradead.org>
To: Herbert Xu <herbert@gondor.hengli.com.au>
Cc: Linux Crypto Mailing List <linux-crypto@vger.kernel.org>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: RFC: Crypto API User-interface
Date: Tue, 7 Sep 2010 10:06:46 -0400	[thread overview]
Message-ID: <20100907140646.GA31921@infradead.org> (raw)
In-Reply-To: <20100907084213.GA4610@gondor.apana.org.au>

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.

  parent reply	other threads:[~2010-09-07 14:06 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-07  8:42 RFC: Crypto API User-interface Herbert Xu
2010-09-07  9:18 ` Tomas Mraz
2010-09-07 14:06 ` Christoph Hellwig [this message]
2010-09-07 14:06   ` Christoph Hellwig
2010-09-07 14:11   ` Herbert Xu
2010-09-07 14:11     ` Herbert Xu
2010-09-07 14:24     ` Christoph Hellwig
2010-09-07 14:24       ` Christoph Hellwig
2010-09-07 14:39       ` Herbert Xu
2010-09-07 14:39         ` Herbert Xu
2010-09-07 14:49     ` Nikos Mavrogiannopoulos
2010-09-07 14:57   ` Nikos Mavrogiannopoulos
2010-09-07 14:59     ` Christoph Hellwig
2010-10-19 13:44 ` Herbert Xu
2010-10-19 13:44   ` Herbert Xu
2010-10-20 10:24   ` Nikos Mavrogiannopoulos
2010-11-04 17:34   ` Herbert Xu
2010-11-04 17:34     ` Herbert Xu
2010-11-04 17:36     ` [PATCH 2/4] crypto: af_alg - User-space interface for Crypto API Herbert Xu
2010-11-04 17:36       ` Herbert Xu
2010-11-04 19:23       ` David Miller
2010-11-04 19:23         ` David Miller
2010-11-04 17:36     ` [PATCH 1/4] net - Add AF_ALG macros Herbert Xu
2010-11-04 17:36       ` Herbert Xu
2010-11-04 19:22       ` David Miller
2010-11-04 19:22         ` David Miller
2010-11-04 17:36     ` [PATCH 3/4] crypto: algif_hash - User-space interface for hash operations Herbert Xu
2010-11-04 17:36       ` Herbert Xu
2010-11-04 19:23       ` David Miller
2010-11-04 19:23         ` David Miller
2010-11-04 17:36     ` [PATCH 4/4] crypto: algif_skcipher - User-space interface for skcipher operations Herbert Xu
2010-11-04 17:36       ` Herbert Xu
2010-11-04 19:23       ` David Miller
2010-11-04 19:23         ` David Miller
2010-11-06 12:23       ` Martin Willi
2010-11-07  1:08         ` Herbert Xu
2010-11-08  9:10           ` Martin Willi
2010-11-15 11:51             ` Herbert Xu
2010-11-15 11:53               ` [PATCH 1/4] net - Add AF_ALG macros Herbert Xu
2010-11-15 11:53               ` [PATCH 2/4] crypto: af_alg - User-space interface for Crypto API Herbert Xu
2010-11-15 14:56                 ` Martin Willi
2010-11-15 11:53               ` [PATCH 3/4] crypto: algif_hash - User-space interface for hash operations Herbert Xu
2010-11-15 14:56                 ` Martin Willi
2010-11-15 11:53               ` [PATCH 4/4] crypto: algif_skcipher - User-space interface for skcipher operations Herbert Xu
2010-11-15 14:55                 ` Martin Willi
2010-11-19  9:51                   ` Herbert Xu
2010-11-19  9:52                     ` [PATCH 1/4] net - Add AF_ALG macros Herbert Xu
2010-11-19  9:52                     ` [PATCH 2/4] crypto: af_alg - User-space interface for Crypto API Herbert Xu
2010-11-19  9:52                     ` [PATCH 3/4] crypto: algif_hash - User-space interface for hash operations Herbert Xu
2010-11-19  9:52                     ` [PATCH 4/4] crypto: algif_skcipher - User-space interface for skcipher operations Herbert Xu
2010-11-26 12:57                     ` Herbert Xu
2010-11-26 12:58                       ` [PATCH 1/4] net - Add AF_ALG macros Herbert Xu
2010-11-26 12:58                       ` [PATCH 2/4] crypto: af_alg - User-space interface for Crypto API Herbert Xu
2010-11-26 12:58                       ` [PATCH 3/4] crypto: algif_hash - User-space interface for hash operations Herbert Xu
2010-11-26 12:58                       ` [PATCH 4/4] crypto: algif_skcipher - User-space interface for skcipher operations Herbert Xu
2010-10-19 13:46 ` [PATCH 2/4] crypto: af_alg - User-space interface for Crypto API Herbert Xu
2010-10-19 13:46   ` Herbert Xu
2010-10-19 13:46 ` [PATCH 1/4] net - Add AF_ALG macros Herbert Xu
2010-10-19 13:46   ` Herbert Xu
2010-10-20  9:01   ` David Miller
2010-10-20  9:01     ` David Miller
2010-10-19 13:46 ` [PATCH 4/4] crypto: algif_skcipher - User-space interface for skcipher operations Herbert Xu
2010-10-19 13:46   ` Herbert Xu
2010-10-19 13:46 ` [PATCH 3/4] crypto: algif_hash - User-space interface for hash operations Herbert Xu
2010-10-19 13:46   ` Herbert Xu
     [not found] <1590523029.1055831283858598965.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com>
2010-09-07 11:27 ` RFC: Crypto API User-interface Miloslav Trmac
2010-09-07 14:07   ` Herbert Xu
     [not found] <1847066281.1081601283869883727.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com>
2010-09-07 14:34 ` Miloslav Trmac
2010-09-07 14:41   ` Herbert Xu
2010-09-07 14:51   ` Christoph Hellwig
2010-09-07 14:54     ` Miloslav Trmac
     [not found] <834983542.1086561283871074929.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com>
2010-09-07 14:52 ` Miloslav Trmac
2010-09-07 14:55   ` Christoph Hellwig
     [not found] <20101104173156.GA1255@gondor.apana.org.au>
     [not found] ` <1944766358.1362881288892596101.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com>
2010-11-04 18:02   ` Herbert Xu
  -- strict thread matches above, loose matches on Subject: below --
2014-04-23 10:37 Jitendra Lulla
2014-05-30 11:22 Jitendra Lulla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100907140646.GA31921@infradead.org \
    --to=hch@infradead.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.