[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100907145936.GA23178@infradead.org>
Date: Tue, 7 Sep 2010 10:59:36 -0400
From: Christoph Hellwig <hch@...radead.org>
To: Nikos Mavrogiannopoulos <nmav@...tls.org>
Cc: Christoph Hellwig <hch@...radead.org>,
Herbert Xu <herbert@...dor.hengli.com.au>,
Linux Crypto Mailing List <linux-crypto@...r.kernel.org>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: RFC: Crypto API User-interface
On Tue, Sep 07, 2010 at 04:57:04PM +0200, Nikos Mavrogiannopoulos wrote:
> Or that someone is not really aware of some cryptographic uses.
> Embedded systems have crypto accelerators in hardware available
> through kernel device drivers. In the systems I worked the
> accelerators via a crypto device interface gave a 50x to 100x boost in
> crypto operations and relieved the CPU from doing them.
An interface to external crypto co-process _can_ be useful. It
certainly isn't for the tiny requests where mr crackhead complains about
the overhead. So if we do want to design an interface for addons cards
we need to expose a threshold from which it makes sense to use it, and
not even bother using for the simply software in-kernel algorithms.
Which is something that could be done easily using a variant of
Herbert's interface.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists