Re: [PATCH 5/6] dmaengine: Add Broadcom SBA RAID driver

2017-02-06 Thread Anup Patel
On Mon, Feb 6, 2017 at 10:24 PM, Vinod Koul wrote: > On Mon, Feb 06, 2017 at 05:31:15PM +0530, Anup Patel wrote: > >> >> + >> >> +/* SBA C_MDATA helper macros */ >> >> +#define SBA_C_MDATA_LOAD_VAL(__bnum0)((__bnum0) & 0x3) >> >> +#define SBA_C_MDATA_WRITE_VAL(__bnum0)

[PATCH] hwrng: cavium: Use per device name to allow for multiple devices.

2017-02-06 Thread David Daney
Systems containing the Cavium HW RNG may have one device per NUMA node. A typical configuration is a 2-node NUMA system, which results in 2 RNG devices. The hwrng subsystem refuses (and rightly so) to register more than one device with he same name, so we get failure messages on these systems. M

Re: crypto: atmel - Fix authenc compile test warnings

2017-02-06 Thread kbuild test robot
-warnings/20170206-171201 base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master config: tile-allmodconfig (attached as .config) compiler: tilegx-linux-gcc (GCC) 4.6.2 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin

Re: crypto: atmel - Fix authenc compile test warnings

2017-02-06 Thread kbuild test robot
Hi Herbert, [auto build test WARNING on cryptodev/master] [also build test WARNING on v4.10-rc7 next-20170206] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Herbert-Xu/crypto-atmel-Fix-authenc

Re: [PATCH 5/6] dmaengine: Add Broadcom SBA RAID driver

2017-02-06 Thread Vinod Koul
On Mon, Feb 06, 2017 at 05:31:15PM +0530, Anup Patel wrote: > >> + > >> +/* SBA C_MDATA helper macros */ > >> +#define SBA_C_MDATA_LOAD_VAL(__bnum0)((__bnum0) & 0x3) > >> +#define SBA_C_MDATA_WRITE_VAL(__bnum0) ((__bnum0) & 0x3) > >> +#define SBA_C_MDATA_XOR_VAL(__bnu

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

2017-02-06 Thread Stephan Müller
Am Donnerstag, 2. Februar 2017, 21:57:21 CET schrieb Herbert Xu: Hi Herbert, > On Thu, Jan 26, 2017 at 11:30:04AM +0530, Nitin Kumbhar wrote: > > This ECDSA implementation is analogous to the RSA kernel implementation > > for > > signature generation / verification. It extends ECC family of algor

Re: [PATCH] dm: switch dm-verity to async hash crypto API

2017-02-06 Thread Gilad Ben-Yossef
Hi Eric, On Mon, Jan 30, 2017 at 2:28 AM, Eric Biggers wrote: ... > As for the patch, I haven't looked at it in detail, but I agree that if > dm-verity is indeed operating on sufficiently large buffers in physically > contiguous memory, then the ahash API would be better than the shash API. >

[PATCH v2] dm: switch dm-verity to async hash crypto API

2017-02-06 Thread Gilad Ben-Yossef
Use of the synchronous digest API limits dm-verity to using pure CPU based algorithm providers and rules out the use of off CPU algorithm providers which are normally asynchronous by nature, potentially freeing CPU cycles. This can reduce performance per Watt in situations such as during boot time

Re: crypto: atmel - Fix authenc compile test warnings

2017-02-06 Thread kbuild test robot
Hi Herbert, [auto build test WARNING on cryptodev/master] [also build test WARNING on v4.10-rc7 next-20170206] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Herbert-Xu/crypto-atmel-Fix-authenc

[PATCH 2/2] crypto: atmel - fix 64-bit build warnings

2017-02-06 Thread Arnd Bergmann
When we enable COMPILE_TEST building for the Atmel sha and tdes implementations, we run into a couple of warnings about incorrect format strings, e.g. In file included from include/linux/platform_device.h:14:0, from drivers/crypto/atmel-sha.c:24: drivers/crypto/atmel-sha.c: In fun

[PATCH 1/2] crypto: atmel - refine Kconfig dependencies

2017-02-06 Thread Arnd Bergmann
With the new authenc support, we get a harmless Kconfig warning: warning: (CRYPTO_DEV_ATMEL_AUTHENC) selects CRYPTO_DEV_ATMEL_SHA which has unmet direct dependencies (CRYPTO && CRYPTO_HW && ARCH_AT91) The problem is that each of the options has slightly different dependencies, although they all

Re: [PATCH 5/6] dmaengine: Add Broadcom SBA RAID driver

2017-02-06 Thread Anup Patel
On Sun, Feb 5, 2017 at 11:36 AM, Vinod Koul wrote: > On Thu, Feb 02, 2017 at 10:17:15AM +0530, Anup Patel wrote: >> +config BCM_SBA_RAID >> +tristate "Broadcom SBA RAID engine support" >> +depends on (ARM64 && MAILBOX && RAID6_PQ) || COMPILE_TEST >> +select DMA_ENGINE >> +

Re: [PATCH v3 2/3] crypto: ccm - switch to separate cbcmac driver

2017-02-06 Thread Ard Biesheuvel
On 3 February 2017 at 14:49, Ard Biesheuvel wrote: > Update the generic CCM driver to defer CBC-MAC processing to a > dedicated CBC-MAC ahash transform rather than open coding this > transform (and much of the associated scatterwalk plumbing) in > the CCM driver itself. > > This cleans up the code

Crypto Fixes for 4.10

2017-02-06 Thread Herbert Xu
Hi Linus: This push fixes the following issues: - Use after free in algif_aead. - Modular aesni regression when pcbc is modular but absent. - Bug causing IO page faults in ccp. - Double list add in ccp. - Null pointer dereference in qat (two patches). - Panic in chcr. - Null pointer dereference i

Re: linux-next: build warnings after merge of the crypto tree

2017-02-06 Thread Herbert Xu
Hi Stephen: On Mon, Feb 06, 2017 at 12:28:37PM +1100, Stephen Rothwell wrote: > > After merging the crypto tree, today's linux-next build (x86_64 > allmodconfig) produced these warnings: > > warning: (CRYPTO_DEV_ATMEL_AUTHENC) selects CRYPTO_DEV_ATMEL_SHA which has > unmet direct dependencies (