Re: [PATCH AUTOSEL 4.19 063/100] crypto: arm/aes-ce - add dependency on AES library

2019-10-20 Thread Ard Biesheuvel
On Sat, 19 Oct 2019 at 00:07, Sasha Levin wrote: > > From: Ard Biesheuvel > > [ Upstream commit f703964fc66804e6049f2670fc11045aa8359b1a ] > > The ARM accelerated AES driver depends on the new AES library for > its non-SIMD fallback so express this in its Kconfig declaration. > > Signed-off-by: A

Re: [PATCH] crypto: zlib-deflate - add zlib-deflate test case in tcrypt

2019-10-20 Thread Herbert Xu
On Mon, Oct 21, 2019 at 12:00:00PM +0800, Zhou Wang wrote: > > seems it can not work, when I run insmod tcrypt.ko alg="zlib-deflate" type=10 > mask=15 > I got: insmod: can't insert 'tcrypt.ko': Resource temporarily unavailable This error is intentional. This is so that you can test again without

Re: [PATCH] crypto: zlib-deflate - add zlib-deflate test case in tcrypt

2019-10-20 Thread Zhou Wang
On 2019/10/18 15:14, Herbert Xu wrote: > On Thu, Oct 10, 2019 at 04:21:47PM +0800, Zhou Wang wrote: >> As a type CRYPTO_ALG_TYPE_ACOMPRESS is needed to trigger crypto acomp test, >> we introduce a new help function tcrypto_test_extend to pass type and mask >> to alg_test. >> >> Then tcrypto module

Re: [PATCH 1/2] crypto: hisilicon - select NEED_SG_DMA_LENGTH in qm Kconfig

2019-10-20 Thread Zhou Wang
On 2019/10/18 16:04, Herbert Xu wrote: > On Fri, Oct 11, 2019 at 07:18:10PM +0800, Zhou Wang wrote: >> To avoid compile error in some platforms, select NEED_SG_DMA_LENGTH in >> qm Kconfig. >> >> Signed-off-by: Zhou Wang >> Reported-by: kbuild test robot >> --- >> drivers/crypto/hisilicon/Kconfig

Re: [PATCH] crypto: geode-aes - convert to skcipher API and make thread-safe

2019-10-20 Thread Gert Robben
Op 11-10-2019 om 06:51 schreef Eric Biggers: From: Eric Biggers The geode AES driver is heavily broken because it stores per-request state in the transform context. So it will crash or produce the wrong result if used by any of the many places in the kernel that issue concurrent requests for t