Re: [RFC PATCH 1/2] crypto: caam - properly set IV after {en,de}crypt

From: David Gstir
Date: Wed Jun 28 2017 - 05:04:47 EST


Horia,

> On 28 Jun 2017, at 10:32, Horia GeantÄ <horia.geanta@xxxxxxx> wrote:
>
>>> + sg_pcopy_to_buffer(req->dst, nents, req->info, ivsize,
>>> + req->nbytes - ivsize);
>>
>> scatterwalk_map_and_copy() should be used instead.
>>
> David, IIUC this is the only change needed in this patch (applies both
> for encryption and decryption, of course).
> Will you formally resubmit?

Thanks for the reminder. I did not get arround it yet.
Will send the new patch within the next few hours.

Thanks,
David