RE: [EXT] Re: [PATCH v7,net-next,07/13] crypto: octeontx2: load microcode and create engine groups

2020-10-15 Thread Srujana Challa
> Subject: [EXT] Re: [PATCH v7,net-next,07/13] crypto: octeontx2: load microcode > and create engine groups > > External Email > > -- > On Mon, 12 Oct 2020 16:27:13 +0530 Srujana Challa wrote: > > +/* tar header as defined in POS

[PATCH] crypto: sm2 - remove unnecessary reset operations

2020-10-15 Thread Tianjia Zhang
This is an algorithm optimization. The reset operation when setting the public key is repeated and redundant, so remove it. At the same time, `sm2_ecc_os2ec()` is optimized to make the function more simpler and more in line with the Linux code style. Signed-off-by: Tianjia Zhang --- crypto/sm2.c

[PATCH] crypto: ecrdsa - use subsys_initcall instead of module_init

2020-10-15 Thread Tianjia Zhang
All templates and generic algorithms have been registered in subsys_initcall instead of module_init. The ecrdsa algorithm happened to be missed. Here is a fix for it. Cc: Vitaly Chikunov Signed-off-by: Tianjia Zhang --- crypto/ecrdsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

RE: [EXT] Re: [PATCH v7,net-next,04/13] drivers: crypto: add Marvell OcteonTX2 CPT PF driver

2020-10-15 Thread Srujana Challa
> Subject: [EXT] Re: [PATCH v7,net-next,04/13] drivers: crypto: add Marvell > OcteonTX2 CPT PF driver > > External Email > > -- > On Mon, 12 Oct 2020 16:27:10 +0530 Srujana Challa wrote: > > +union otx2_cptx_lf_misc_int { > > +

Re: [PATCH] crypto: ecrdsa - use subsys_initcall instead of module_init

2020-10-15 Thread Herbert Xu
On Thu, Oct 15, 2020 at 07:02:41PM +0800, Tianjia Zhang wrote: > All templates and generic algorithms have been registered in > subsys_initcall instead of module_init. The ecrdsa algorithm > happened to be missed. Here is a fix for it. That is true only if there are non-generic implementations of