Re: [PATCH v6 3/6] crypto: AF_ALG -- add asymmetric cipher interface

From: Andrew Zaborowski
Date: Thu Jun 16 2016 - 20:40:10 EST


Hi Stephan,

On 16 June 2016 at 17:38, Stephan Mueller <smueller@xxxxxxxxxx> wrote:
>> This isn't an issue with AF_ALG, I should have changed the subject
>> line perhaps. In this case it's an inconsistency between some
>> implementations and the documentation (header comment). It affects
>> users accessing the cipher through AF_ALG but also directly.
>
> As I want to send a new version of the algif_akcipher shortly now (hoping for
> an inclusion into 4.8), is there anything you see that I should prepare for
> regarding this issue? I.e. do you forsee a potential fix that would change the
> API or ABI of algif_akcipher?

No, as far as I understand algif_akcipher will do the right thing now
if the algorithm does the right thing. It's only the two RSA drivers
that would need to align with the software RSA in what buffer length
they accept.

Best regards