Re: [PATCH] crypto: sha512-mb - initialize pending lengths correctly

2018-02-09 Thread Herbert Xu
On Wed, Jan 24, 2018 at 12:31:27AM -0800, Eric Biggers wrote: > From: Eric Biggers > > The SHA-512 multibuffer code keeps track of the number of blocks pending > in each lane. The minimum of these values is used to identify the next > lane that will be completed. Unused

[PATCH] crypto: sha512-mb - initialize pending lengths correctly

2018-01-24 Thread Eric Biggers
From: Eric Biggers The SHA-512 multibuffer code keeps track of the number of blocks pending in each lane. The minimum of these values is used to identify the next lane that will be completed. Unused lanes are set to a large number (0x) so that they don't affect