[PATCH v5 2/5] lib/decompress_unlz4: Change module to work with new LZ4 module version

2017-01-25 Thread Sven Schmidt
This patch updates the unlz4 wrapper to work with the updated LZ4 kernel module version. Signed-off-by: Sven Schmidt <4ssch...@informatik.uni-hamburg.de> --- lib/decompress_unlz4.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/lib/decompress_unlz4.c

[PATCH v5 5/5] lib/lz4: Remove back-compat wrappers

2017-01-25 Thread Sven Schmidt
This patch removes the functions introduced as wrappers for providing backwards compatibility to the prior LZ4 version. They're not needed anymore since there's no callers left. Signed-off-by: Sven Schmidt <4ssch...@informatik.uni-hamburg.de> --- include/linux/lz4.h | 73

[PATCH v5 4/5] fs/pstore: fs/squashfs: Change usage of LZ4 to work with new LZ4 version

2017-01-25 Thread Sven Schmidt
This patch updates fs/pstore and fs/squashfs to use the updated functions from the new LZ4 module. Signed-off-by: Sven Schmidt <4ssch...@informatik.uni-hamburg.de> --- fs/pstore/platform.c | 14 +++--- fs/squashfs/lz4_wrapper.c | 12 ++-- 2 files changed, 13 insertions(+),

[PATCH v5 3/5] crypto: Change LZ4 modules to work with new LZ4 module version

2017-01-25 Thread Sven Schmidt
This patch updates the crypto modules using LZ4 compression to work with the new LZ4 module version. Signed-off-by: Sven Schmidt <4ssch...@informatik.uni-hamburg.de> --- crypto/lz4.c | 21 - crypto/lz4hc.c | 21 - 2 files changed, 16 insertions(+), 26

[PATCH v5 0/5] Update LZ4 compressor module

2017-01-25 Thread Sven Schmidt
This patchset is for updating the LZ4 compression module to a version based on LZ4 v1.7.3 allowing to use the fast compression algorithm aka LZ4 fast which provides an "acceleration" parameter as a tradeoff between high compression ratio and high compression speed. We want to use LZ4 fast in

Re: [PATCH 0/6] Add support for ECDSA algorithm

2017-01-25 Thread Stephan Müller
Am Donnerstag, 26. Januar 2017, 11:30:04 CET schrieb Nitin Kumbhar: Hi Nitin, > > Who is going to use this in the kernel? > > This ECDSA implementation is analogous to the RSA kernel implementation > for signature generation / verification. It extends ECC family of > algorithms like ECDH to

Re: [PATCH 0/6] Add support for ECDSA algorithm

2017-01-25 Thread Nitin Kumbhar
Hello Herbert, On 1/23/2017 7:54 PM, Herbert Xu wrote: On Fri, Jan 20, 2017 at 05:05:55PM +0530, Nitin Kumbhar wrote: Hello, This patch series adds support for Elliptic Curve Digital Signature Algorithm (ECDSA). To reuse existing ECC functionality, which is added as part of ECDH, it separates

Re: [PATCH 5/6] crypto: testmgr: add ECDSA tests

2017-01-25 Thread Nitin Kumbhar
Hello Stephan, On 1/20/2017 6:49 PM, Stephan Müller wrote: Am Freitag, 20. Januar 2017, 17:06:00 CET schrieb Nitin Kumbhar: Hi Nitin, Update crypto test manager to include NIST ECDSA test vectors and various ECDSA tests. These include tests for ECDSA signing, ECDSA sign-verification, ECDSA

Re: [PATCH 4/6] crypto: ecdsa: add ECDSA SW implementation

2017-01-25 Thread Nitin Kumbhar
Hello Stephan, On 1/20/2017 6:36 PM, Stephan Müller wrote: Am Freitag, 20. Januar 2017, 17:05:59 CET schrieb Nitin Kumbhar: Hi Nitin, This adds support for ECDSA algorithm. This implementation supports sign and verify functions for ECDSA algorithm using akcipher. As ECDSA is a signing

Re: [PATCH] x86/crypto: fix %progbits -> @progbits

2017-01-25 Thread H. Peter Anvin
On 01/19/17 13:28, Denys Vlasenko wrote: > %progbits form is used on ARM (where @ is a comment char). > > x86 consistently uses @progbits everywhere else. However, it looks like %progbits works on all architectures (at least include/linux/init.h seems to imply so.) Perhaps a tree-wide

[PATCH v3 3/3] arm64: dts: ns2: Add Broadcom SPU driver DT entry.

2017-01-25 Thread Rob Rice
Add Northstar2 device tree entry for Broadcom Secure Processing Unit (SPU) crypto hardware. Signed-off-by: Steve Lin Signed-off-by: Rob Rice --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 24 1 file changed, 24

[PATCH v3 1/3] crypto: brcm: DT documentation for Broadcom SPU hardware

2017-01-25 Thread Rob Rice
Device tree documentation for Broadcom Secure Processing Unit (SPU) crypto hardware. Signed-off-by: Steve Lin Signed-off-by: Rob Rice --- .../devicetree/bindings/crypto/brcm,spu-crypto.txt | 22 ++ 1 file changed, 22

[PATCH v3 0/3] Add Broadcom SPU Crypto Driver

2017-01-25 Thread Rob Rice
Changes in v3: - rebase to 4.10-rc3 in cryptodev-2.6 tree - in bindings doc, list all valid compatibility strings - rename DT nodes "crypto" rather than "spu-crypto" - include a separate DT node for each SPU hardware block. Previously, there was a single SPU node listing a register range for each

Re: [PATCH] crypto: doc - Fix hash export state information

2017-01-25 Thread Stephan Müller
Am Mittwoch, 25. Januar 2017, 16:55:06 CET schrieb Rabin Vincent: Hi Rabin, > From: Rabin Vincent > > The documentation states that crypto_ahash_reqsize() provides the size > of the state structure used by crypto_ahash_export(). But it's actually > crypto_ahash_statesize()

[PATCH] crypto: doc - Fix hash export state information

2017-01-25 Thread Rabin Vincent
From: Rabin Vincent The documentation states that crypto_ahash_reqsize() provides the size of the state structure used by crypto_ahash_export(). But it's actually crypto_ahash_statesize() which provides this size. Signed-off-by: Rabin Vincent ---