Re: [PATCH] crypto: sa2ul - Select CRYPTO_AUTHENC

2020-09-06 Thread J, KEERTHY
On 9/7/2020 11:52 AM, Herbert Xu wrote: Resend with new subject. Thanks Herbert. Reviewed-by: Keerthy ---8<--- The sa2ul driver uses crypto_authenc_extractkeys and therefore must select CRYPTO_AUTHENC. Fixes: 7694b6ca649f ("crypto: sa2ul - Add crypto driver") Reported-by: kernel test

[PATCH] crypto: sun4i-ss - Fix SHA1 hash on A33-variant with BE CPU

2020-09-06 Thread Herbert Xu
On Sun, Sep 06, 2020 at 04:52:24PM +0800, kernel test robot wrote: > > >> drivers/crypto/allwinner/sun4i-ss/sun4i-ss-hash.c:483:35: sparse: sparse: > >> incorrect type in assignment (different base types) @@ expected > >> unsigned int [assigned] [usertype] v @@ got restricted __le32 > >>

[PATCH] crypto: sa2ul - Select CRYPTO_AUTHENC

2020-09-06 Thread Herbert Xu
Resend with new subject. ---8<--- The sa2ul driver uses crypto_authenc_extractkeys and therefore must select CRYPTO_AUTHENC. Fixes: 7694b6ca649f ("crypto: sa2ul - Add crypto driver") Reported-by: kernel test robot Signed-off-by: Herbert Xu diff --git a/drivers/crypto/Kconfig b/drivers/crypto/

Re: sa2ul.c:undefined reference to `crypto_authenc_extractkeys'

2020-09-06 Thread Herbert Xu
On Mon, Sep 07, 2020 at 11:12:53AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: f4d51dffc6c01a9e94650d95ce0104964f8ae822 > commit: d2c8ac187fc922e73930a1b2f6a211e27f595d01 crypto: sa2ul - Add AEAD > algorithm suppo

[PATCH v3] cypto: mediatek - fix leaks in mtk_desc_ring_alloc

2020-09-06 Thread Xiaoliang Pang
In the init loop, if an error occurs in function 'dma_alloc_coherent', then goto the err_cleanup section, in the cleanup loop, after run i--, the struct mtk_ring rising[i] will not be released, causing a memory leak Signed-off-by: Xiaoliang Pang --- drivers/crypto/mediatek/mtk-platform.c | 4 ++-