Re: [1/2] crypto: tcrypt - fix S/G table for test_aead_speed()

2017-11-29 Thread Herbert Xu
On Wed, Nov 29, 2017 at 08:57:33AM +, Horia Geantă wrote: > > Considering this fixes the crash reported by Tudor: > https://www.mail-archive.com/linux-crypto@vger.kernel.org/msg29172.html > I think it should be merged in this release cycle (v4.15). This only affects tcrypt right? Since tcrypt

Re: [1/2] crypto: tcrypt - fix S/G table for test_aead_speed()

2017-11-29 Thread Horia Geantă
On 11/29/2017 8:28 AM, Herbert Xu wrote: > On Tue, Oct 10, 2017 at 01:21:59PM +0300, Robert Baronescu wrote: >> In case buffer length is a multiple of PAGE_SIZE, >> the S/G table is incorrectly generated. >> Fix this by handling buflen = k * PAGE_SIZE separately. >> >> Signed-off-by: Robert Barones

Re: [1/2] crypto: tcrypt - fix S/G table for test_aead_speed()

2017-11-28 Thread Herbert Xu
On Tue, Oct 10, 2017 at 01:21:59PM +0300, Robert Baronescu wrote: > In case buffer length is a multiple of PAGE_SIZE, > the S/G table is incorrectly generated. > Fix this by handling buflen = k * PAGE_SIZE separately. > > Signed-off-by: Robert Baronescu Patch applied. Thanks. -- Email: Herbert