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 RSA operations as the input/output is not
overly large.
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 flat
buffer still makes sense or whether the akcipher should be converted to
scatter lists as all the other cipher types.
If it shall stay as is, how would we be handling larger buffers?
Thanks
Stephan