Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: /dev/crypto versus libcrypto



Matthew Mondor <mm_lists%pulsar-zone.net@localhost> writes:

> On Fri, 20 Jul 2012 15:07:23 -0700
> buhrow%lothlorien.nfbcal.org@localhost (Brian Buhrow) wrote:
>
>>      hello.  Can anyone enlighten me as to the advantages or disadvantages
>> of using the /dev/crypto device versus having applications do their own
>> cryptography?  Is it  more efficient to have the kernel do the
>> crypto work than the applications themselves?
>
> I'm not sure how well it works, but openssl supports a "speed"
> benchmark program, supporting the -engine <engine> <algorithm> options,
> and the "engine" command should list the engines it supports (including
> cryptodev, aesni, etc)

It does seem to work.  My notes from trying to figure this out on a
net5501:
  http://www.lexort.com/blog/net5501.html#sec-5_2


(For those reading further down, I find that mounting the 2T disk w/o
rump and w/o wapbl and not using either coprocessor results in a stable
system).

Attachment: pgpVETZNWfdQ_.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index