[bug] sha1-avx2 and read beyond

2017-04-29 Thread Jan Stancek
Hi, I'm seeing rare crashes during NFS cthon with krb5 auth. After some digging I arrived at potential problem with sha1-avx2. Problem appears to be that sha1_transform_avx2() reads beyond number of blocks you pass, if it is an odd number. It appears to try read one block more. This creates a pro

Re: [PATCH] crypto: stm32 - fix building as a module

2017-04-29 Thread Herbert Xu
On Thu, Apr 27, 2017 at 01:07:07PM +0200, Arnd Bergmann wrote: > The names in the MODULE_DEVICE_TABLE and the actual array don't match: > > drivers/crypto/stm32/stm32_crc32.c:309:21: error: 'sti_dt_ids' undeclared > here (not in a function); did you mean 'stm32_dt_ids'? > > This changes the refe

Re: [PATCH -next] crypto: stm32 - Fix OF module alias information

2017-04-29 Thread Herbert Xu
On Tue, Apr 25, 2017 at 02:35:42PM +, Wei Yongjun wrote: > From: Wei Yongjun > > The module alias information passed to MODULE_DEVICE_TABLE() > should use stm32_dt_ids instead of undefined sti_dt_ids. > > Fixes: b51dbe90912a ("crypto: stm32 - Support for STM32 CRC32 crypto module") > Signed-