[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <75D616EC-B298-4DF2-8991-7CD48E16EF44@sigma-star.at>
Date: Wed, 28 Jun 2017 11:03:50 +0200
From: David Gstir <david@...ma-star.at>
To: Horia Geantă <horia.geanta@....com>
Cc: Dan Douglass <dan.douglass@....com>,
"herbert@...dor.apana.org.au" <herbert@...dor.apana.org.au>,
"davem@...emloft.net" <davem@...emloft.net>,
"richard@...ma-star.at" <richard@...ma-star.at>,
"linux-crypto@...r.kernel.org" <linux-crypto@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [RFC PATCH 1/2] crypto: caam - properly set IV after {en,de}crypt
Horia,
> On 28 Jun 2017, at 10:32, Horia Geantă <horia.geanta@....com> 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
Powered by blists - more mailing lists