Re: akcipher: continuous memory for input/output

2015-07-10 Thread Herbert Xu
On Wed, Jul 08, 2015 at 05:54:35PM +0200, Stephan Mueller wrote: But IIRC, there are systems out there which perform a full hybrid asym operation. Without having checked in detail, I believe this is true for IBM cryptoexpress or Cavium cards. Such systems won't be using the akcipher

Re: akcipher: continuous memory for input/output

2015-07-08 Thread Herbert Xu
On Wed, Jul 08, 2015 at 05:27:15PM +0200, Stephan Mueller wrote: But according to Tadeusz it may be viable to register hybrid asym ciphers with the akcipher API. If there is a full blown hybrid asym cipher we have to handle potentially large chunks of data. I am now wondering whether a

akcipher: continuous memory for input/output

2015-07-08 Thread Stephan Mueller
Hi Herbert, Tadeusz, I looked a bit further into the akcipher code to see how we can add an AF_ALG there. What currently wonders me is the akcipher_request_set_crypt function: the memory for input/output buffers is *no* scatter list but a plain buffer. I think I can understand that for raw

Re: akcipher: continuous memory for input/output

2015-07-08 Thread Stephan Mueller
Am Mittwoch, 8. Juli 2015, 23:29:32 schrieb Herbert Xu: Hi Herbert, On Wed, Jul 08, 2015 at 05:27:15PM +0200, Stephan Mueller wrote: But according to Tadeusz it may be viable to register hybrid asym ciphers with the akcipher API. If there is a full blown hybrid asym cipher we have to handle