Thread (25 messages) flat view 25 messages, 6 authors, 2010-11-04

Re: RFC: Crypto API User-interface

From: Nikos Mavrogiannopoulos <hidden>
Date: 2010-09-07 14:57:09
Also in: linux-crypto, lkml

On Tue, Sep 7, 2010 at 4:06 PM, Christoph Hellwig [off-list ref] wrote:
quoted
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.
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.

regards,
Nikos
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help