[PATCH 0/2] lib,crypto: Add lz4 compressor module and crypto API

2013-03-14 Thread Chanho Min
This patchset is for supporting LZ4 compression and the crypto API using it. This should be applied after the previous Kyungsik's LZ4 compressed kernel patches - https://lkml.org/lkml/2013/3/5/181. As shown in bellow result, the size of data is a little bit bigger but compressing speed is faster

[PATCH 1/2] lib: Add lz4 compressor module

2013-03-14 Thread Chanho Min
This patch adds support for LZ4 compression in the Linux Kernel. LZ4 Compression APIs for kernel are based on LZ4 implementation by Yann Collet and changed with kernel coding style. LZ4 homepage : http://fastcompression.blogspot.com/p/lz4.html LZ4 source repository : http://code.google.com/p/lz4/

[PATCH 2/2] crypto: Add lz4 Cryptographic API

2013-03-14 Thread Chanho Min
This patch adds support for lz4 and lz4hc compression algorithm using the lib/lz4/* codebase. Signed-off-by: Chanho Min chanho@lge.com --- crypto/Kconfig | 16 + crypto/Makefile |2 ++ crypto/lz4.c| 105 +++

Re: authencesn compatibility problemn between software crypto and talitos driver

2013-03-14 Thread Horia Geantă
On 3/12/2013 10:57 PM, Chaoxing Lin wrote: Seems that somehow I got confused, considering the one/single-pass over data description the same as combined mode algorithm. I will post a fix or revert the patch if HW does not allow the correct behaviour. Horia, Do you plan to fix talitos

[PATCH 1/1] crypto: picoxcell_crypto: Use of_match_ptr() macro

2013-03-14 Thread Sachin Kamat
This eliminates having an #ifdef returning NULL for the case when OF is disabled. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/crypto/picoxcell_crypto.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/crypto/picoxcell_crypto.c

[PATCH] Fix x509_key_preparse() not to reject keys outside their validity time range

2013-03-14 Thread David Woodhouse
The x509_key_preparse() function will refuse to even *parse* a certificate when the system clock happens to be set to a time before the ValidFrom or after the ValidTo date. This is wrong. If date checks are to be done, they need to be done at the time the cert is *used*. It should be perfectly

RE: potential bug in GMAC implementation. not work in ESN mode

2013-03-14 Thread Chaoxing Lin
Ping Is there anyone looking at this potential bug?? -Original Message- From: Chaoxing Lin Sent: Friday, March 08, 2013 11:38 AM To: 'linux-crypto@vger.kernel.org' Subject: potential bug in GMAC implementation. not work in ESN mode I was testing ipsec with GMAC and found that the

Re: [PATCH 0/2] lib,crypto: Add lz4 compressor module and crypto API

2013-03-14 Thread Andrew Morton
On Thu, 14 Mar 2013 18:48:20 +0900 Chanho Min chanho@lge.com wrote: This patchset is for supporting LZ4 compression and the crypto API using it. This should be applied after the previous Kyungsik's LZ4 compressed kernel patches - https://lkml.org/lkml/2013/3/5/181. Thanks. Yann, it would

Re: authencesn compatibility problemn between software crypto and talitos driver

2013-03-14 Thread Kim Phillips
On Thu, 14 Mar 2013 12:21:20 +0200 Horia Geantă horia.gea...@freescale.com wrote: On 3/12/2013 10:57 PM, Chaoxing Lin wrote: The freescale crypto engine is still capable of doing AES-CBC + HMAC-SHAxxx in one shot. DESC_HDR_TYPE_IPSEC_ESP may not able to achieve authencesn. Correct. And