Re: [PATCH v3 1/6] crypto: SHA1 multibuffer crypto hash infrastructure

2014-06-20 Thread Herbert Xu
On Wed, Jun 11, 2014 at 02:03:45PM -0700, Tim Chen wrote: diff --git a/crypto/shash.c b/crypto/shash.c index 929058a..234ece0 100644 --- a/crypto/shash.c +++ b/crypto/shash.c @@ -271,6 +271,18 @@ static int shash_async_finup(struct ahash_request *req) return shash_ahash_finup(req,

Re: [PATCH] crypto: skcipher: Don't use __crypto_dequeue_request()

2014-06-20 Thread Herbert Xu
On Mon, May 26, 2014 at 06:51:48PM +0200, Marek Vasut wrote: Use skcipher_givcrypt_cast(crypto_dequeue_request(queue)) instead, which does the same thing in much cleaner way. The skcipher_givcrypt_cast() actually uses container_of() instead of messing around with offsetof() too.

Re: [PATCH] crypto: lzo: try kmalloc() before vmalloc()

2014-06-20 Thread Herbert Xu
On Tue, May 27, 2014 at 10:28:55AM -0700, Eric Dumazet wrote: From: Eric Dumazet eduma...@google.com zswap allocates one LZO context per online cpu. Using vmalloc() for small (16KB) memory areas has drawback of slowing down /proc/vmallocinfo and /proc/meminfo reads, TLB pressure and poor

Re: [PATCH v9 0/6] SP800-90A Deterministic Random Bit Generator

2014-06-20 Thread Herbert Xu
On Sat, May 31, 2014 at 03:43:37PM +0200, Stephan Mueller wrote: Hi, the following set of patches implements the deterministic random bit generator (DRBG) specified by SP800-90A. The DRBG implementation offers the following: * All three DRBG types are implemented with a derivation

Re: [PATCH] crypto: Add 2 missing __exit_p

2014-06-20 Thread Herbert Xu
On Thu, May 29, 2014 at 09:54:35AM +0200, Jean Delvare wrote: References to __exit functions must be wrapped with __exit_p. Signed-off-by: Jean Delvare jdelv...@suse.de Cc: Herbert Xu herb...@gondor.apana.org.au Cc: David S. Miller da...@davemloft.net Cc: Robert Jennings

Re: [PATCH] crypto: caam: Introduce the use of the managed version of kzalloc

2014-06-20 Thread Herbert Xu
On Sun, Jun 01, 2014 at 06:56:41PM +0200, Marek Vasut wrote: On Tuesday, May 27, 2014 at 08:25:48 PM, Himangi Saraogi wrote: This patch moves data allocated using kzalloc to managed data allocated using devm_kzalloc and cleans now unnecessary kfrees in probe and remove functions. Also,

Re: [PATCH V1 0/3] crypto: ccp - arm64 platform support

2014-06-20 Thread Herbert Xu
On Thu, Jun 05, 2014 at 10:17:39AM -0500, Tom Lendacky wrote: The following series implements support for the CCP as a platform driver on ARM64. This patch series is based on the cryptodev-2.6 kernel tree. All applied. -- Email: Herbert Xu herb...@gondor.apana.org.au Home Page:

Re: [RFC][PATCH 0/8 v4] crypto: Add support for Intel(R) QuickAssist

2014-06-20 Thread Herbert Xu
On Thu, Jun 05, 2014 at 01:42:24PM -0700, Tadeusz Struk wrote: Hi, This patchset adds support for Intel(R) QuickAssist Technology (QAT) and DH895xCC hardware accelerator. First four patches add a common infractructure that will be used by all QAT devices. Patch five and six add a firmware

Re: [patch] crypto: caam - remove duplicate FIFOST_CONT_MASK define

2014-06-20 Thread Herbert Xu
On Thu, Jun 12, 2014 at 06:18:12PM -0500, Kim Phillips wrote: On Mon, 9 Jun 2014 18:19:41 +0300 Dan Carpenter dan.carpen...@oracle.com wrote: The FIFOST_CONT_MASK define is cut and pasted twice so we can delete the second instance. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com

Re: [PATCH 1/2] crypto: tcrypt - add ctr(des3_ede) sync speed test

2014-06-20 Thread Herbert Xu
On Mon, Jun 09, 2014 at 08:59:49PM +0300, Jussi Kivilinna wrote: Signed-off-by: Jussi Kivilinna jussi.kivili...@iki.fi Both patches applied. -- Email: Herbert Xu herb...@gondor.apana.org.au Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Re: [PATCH] crypto: add 4 more test vectors for GHASH

2014-06-20 Thread Herbert Xu
On Thu, Jun 12, 2014 at 05:01:50PM +0200, Ard Biesheuvel wrote: This adds 4 test vectors for GHASH (of which one for chunked mode), making a total of 5. Signed-off-by: Ard Biesheuvel ard.biesheu...@linaro.org Patch applied. -- Email: Herbert Xu herb...@gondor.apana.org.au Home Page:

Re: [PATCH v5 1/1] crypto: AES CTR x86_64 by8 AVX optimization

2014-06-20 Thread Herbert Xu
On Tue, Jun 10, 2014 at 10:34:47PM +0200, Mathias Krause wrote: On 10 June 2014 18:22, chandramouli narayanan mo...@linux.intel.com wrote: Patch is Reviewed-by: Mathias Krause mini...@googlemail.com Patch applied. -- Email: Herbert Xu herb...@gondor.apana.org.au Home Page:

Re: [PATCH v3 1/6] crypto: SHA1 multibuffer crypto hash infrastructure

2014-06-20 Thread Tim Chen
On Sat, 2014-06-21 at 01:57 +0800, Herbert Xu wrote: On Wed, Jun 11, 2014 at 02:03:45PM -0700, Tim Chen wrote: diff --git a/crypto/shash.c b/crypto/shash.c index 929058a..234ece0 100644 --- a/crypto/shash.c +++ b/crypto/shash.c @@ -271,6 +271,18 @@ static int shash_async_finup(struct