Re: [PATCH 0/3] AF_ALG interface for akcipher

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

 



On 07/22/2015 06:53 PM, Herbert Xu wrote:
> On Wed, Jul 22, 2015 at 02:58:18PM +0300, Horia Geantă wrote:
>>
>> OTOH, caam has SG support for all PK operations, including rsa-encrypt,
>> rsa-decrypt primitives.
>> We are working at upstreaming - aligning our internal caam-pkc with
>> akcipher.
> 
> OK.  Then we should tweak our interface to allow SGs.  Tadeusz?
> 

We can add a flag to akcipher_request to say if src/dst are SGs or buffers, but
is this really necessary?
What we have now is two implementations that don't support SGs.
In terms of users we have one in kernel i.e module verifier which doesn't need SGs
and proposed user space interface, which is going to copy data from/to user because
the buffers are so small that it is cheaper to copy than to use the splice/vmsplice
calls. To be honest I don't see any benefit in adding SG support.


--
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