Re: [PATCH RFC 4/4] crypto: qat - Add new algif interface for userspace

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

 



Hi Herbert,
On 11/06/2014 06:56 PM, Herbert Xu wrote:
>> Add new socket algif interface for userspace for symmetric and asymmetric
>> > crypto.
>> > 
>> > Signed-off-by: Tadeusz Struk <tadeusz.struk@xxxxxxxxx>
> No this is not acceptable.  algif is meant to expose generic
> algorithms to user-space not a specific hardware implementation.

Yes, I know that PF_ALG wasn't designed to expose hardware specific
implementation, but the problem is that currently there is no interface
that allows using HW acceleration for algorithms such as RSA, DSA, or
Diffie-Hellman.
Using PF_ALG works perfectly for this purpose. I can get around 130K RSA
decrypt operations per second with 1024 bits modulus. This also scales
very well for more accelerators.
PF_ALG meant to be crypto interface for user space and this is what I'm
using it for here :) Is there any way I can make it (more) acceptable?
Regards,
Tadeusz
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux