Re: please apply 660d2062190db131 to v5.4+

2021-03-07 Thread Greg KH
On Fri, Mar 05, 2021 at 01:48:26PM +0100, Ard Biesheuvel wrote: > Please consider applying the following upstream patch to stable trees > v5.4 and up > > commit 660d2062190db131d2feaf19914e90f868fe285c > Author: Ard Biesheuvel > Date: Wed Jan 13 10:11:35 2021 +0100 > > crypto - shash: reduce m

[PATCH v2 2/2] crypto: arm/chacha-scalar - switch to common rev_32 macro

2021-03-07 Thread Ard Biesheuvel
Drop the local definition of a byte swapping macro and use the common one instead. Signed-off-by: Ard Biesheuvel Reviewed-by: Nicolas Pitre Reviewed-by: Geert Uytterhoeven Reviewed-by: Linus Walleij --- arch/arm/crypto/chacha-scalar-core.S | 43 ++-- 1 file changed, 13 inserti

[PATCH v2 0/2] crypto: arm - clean up redundant helper macros

2021-03-07 Thread Ard Biesheuvel
Now that ARM's asm/assembler.h provides mov_l and rev_l macros, let's get rid of the locally defined ones that live in the ChaCha and AES crypto code. Changes since v1; - drop the patch that introduces rev_l, it has been merged in v5.12-rc - rev_32 was renamed to rev_l, so both patches were update

[PATCH v2 1/2] crypto: arm/aes-scalar - switch to common rev_32/mov_l macros

2021-03-07 Thread Ard Biesheuvel
The scalar AES implementation has some locally defined macros which reimplement things that are now available in macros defined in assembler.h. So let's switch to those. Signed-off-by: Ard Biesheuvel Reviewed-by: Nicolas Pitre Reviewed-by: Geert Uytterhoeven Reviewed-by: Linus Walleij --- arc

[PATCH] crypto: aegis128 - Move simd prototypes into aegis.h

2021-03-07 Thread Herbert Xu
On Sun, Feb 28, 2021 at 03:14:55AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 5695e51619745d4fe3ec2506a2f0cd982c5e27a4 > commit: a4397635afea5d127548d64e0055ed471ef2d5be crypto: aegis128 - provide a > SIMD implem

Re: [PATCH v9 2/9] x509: Detect sm2 keys by their parameters OID

2021-03-07 Thread Tianjia Zhang
Hi, On 3/5/21 11:04 PM, Stefan Berger wrote: On 3/5/21 2:37 AM, Tianjia Zhang wrote: Hi, On 3/4/21 7:46 AM, Stefan Berger wrote: Tianjia,     can you say whether SM2 support works for you before and after applying this patch? I cannot verify it with an sm2 key I have created using a sequen