Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1676463

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

From David Gstir <david@sigma-star.at>
Newsgroups linux.kernel
Subject Re: [RFC PATCH 1/2] crypto: caam - properly set IV after {en,de}crypt
Date 2017-06-28 11:10 +0200
Message-ID <tXh8Z-4TP-13@gated-at.bofh.it> (permalink)
References <tNTSh-11x-3@gated-at.bofh.it> <tNTSh-11x-1@gated-at.bofh.it> <tU2ga-1qR-3@gated-at.bofh.it> <tXgFY-4t8-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Horia,

> On 28 Jun 2017, at 10:32, Horia Geantă <horia.geanta@nxp.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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [RFC PATCH 1/2] crypto: caam - properly set IV after {en,de}crypt Horia Geantă <horia.geanta@nxp.com> - 2017-06-28 10:40 +0200
  Re: [RFC PATCH 1/2] crypto: caam - properly set IV after {en,de}crypt David Gstir <david@sigma-star.at> - 2017-06-28 11:10 +0200

csiph-web