Re: [PATCH v2 2/2] crypto: sahara - add support for SHA1/256

2014-10-07 Thread Steffen Trumtrar
Hi! On Tue, Oct 07, 2014 at 10:02:01AM +0800, Herbert Xu wrote: On Mon, Oct 06, 2014 at 04:43:45PM +0200, Steffen Trumtrar wrote: Add support for the MDHA unit in the SAHARA core. The MDHA can generate hash digests for MD5 and SHA1 in version 3 and additionally SHA224 and SHA256 in version

Crypto Update for 3.18

2014-10-07 Thread Herbert Xu
Hi Linus: Here is the crypto update for 3.18: * Add multibuffer infrastructure: . Add single_task_running scheduler helper, OKed by Peter on lkml. * Add SHA1 multibuffer implementation for AVX2. * Reenable by8 AVX CTR optimisation after fixing counter overflow. * Add APM X-Gene SoC RNG support.

[PATCH] crypto, qat, use generic numa functions

2014-10-07 Thread Prarit Bhargava
While testing, the following panic was seen: IP: [8115b8d7] __alloc_pages_nodemask+0x97/0x420 PGD 0 Oops: [#1] SMP Modules linked in: aesni_intel ptp lrw qat_dh895xcc(+) intel_qat pps_core i2c_algo_bit authenc gf128mul iTCO_wdt ioatdma glue_helper sb_edac i2c_i801 ablk_helper

Re: memset() in crypto code?

2014-10-07 Thread Sandy Harris
I have started a thread about this on the gcc help mailing list https://gcc.gnu.org/ml/gcc-help/2014-10/msg00047.html We might consider replacinging memzero_explicit with memset_s() since that is in the C!! standard, albeit I think as optional. IBM, Apple, NetBSD, ... have that.