Re: [PATCH v2] crypto: algif_hash - Only export and import on sockets with data

2015-11-05 Thread Herbert Xu
On Thu, Nov 05, 2015 at 01:12:04PM +0530, Harsh Jain wrote: > Hi herbert, > > Which kernel versions will have this patch? It has to go into 4.4 first before it gets backported. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key:

[PATCH v3] keys, trusted: select hash algorithm for TPM2 chips

2015-11-05 Thread Jarkko Sakkinen
Added 'hash=' option for selecting the hash algorithm for add_key() syscall and documentation for it. Added entry for sm3-256 to the following tables in order to support TPM_ALG_SM3_256: * hash_algo_name * hash_digest_size Includes support for the following hash algorithms: * sha1 * sha256 *

Re: [PATCH] crypto: sun4i-ss: add missing statesize

2015-11-05 Thread Maxime Ripard
Hi, On Thu, Nov 05, 2015 at 08:48:57AM +0100, LABBE Corentin wrote: > sun4i-ss implementaton of md5/sha1 is via ahash algorithms. > A recent change make impossible to load them without giving statesize. Which one? > This patch specifiy statesize for sha1 and md5. > > Signed-off-by: LABBE

Re: [PATCH v3] keys, trusted: select hash algorithm for TPM2 chips

2015-11-05 Thread kbuild test robot
Hi Jarkko, [auto build test ERROR on: security/next] [also build test ERROR on: next-20151105] [cannot apply to: v4.3] url: https://github.com/0day-ci/linux/commits/Jarkko-Sakkinen/keys-trusted-select-hash-algorithm-for-TPM2-chips/20151106-010236 base: https://git.kernel.org/pub/scm/linux

[PATCH v4] keys, trusted: select hash algorithm for TPM2 chips

2015-11-05 Thread Jarkko Sakkinen
Added 'hash=' option for selecting the hash algorithm for add_key() syscall and documentation for it. Added entry for sm3-256 to the following tables in order to support TPM_ALG_SM3_256: * hash_algo_name * hash_digest_size Includes support for the following hash algorithms: * sha1 * sha256 *

[PATCH] hw_random: omap3-rom-rng: convert timer to delayed work

2015-11-05 Thread Aaro Koskinen
We cannot put the HW RNG to idle using a timer because we cannot disable clocks from atomic context. Use a delayed work instead. Fixes a warning with CONFIG_DEBUG_MUTEXES on Nokia N900 during boot. Reported-by: Sebastian Reichel Signed-off-by: Aaro Koskinen

Re: [PATCH] crypto: sun4i-ss: add missing statesize

2015-11-05 Thread Herbert Xu
On Thu, Nov 05, 2015 at 08:07:19AM -0800, Maxime Ripard wrote: > > On Thu, Nov 05, 2015 at 08:48:57AM +0100, LABBE Corentin wrote: > > sun4i-ss implementaton of md5/sha1 is via ahash algorithms. > > A recent change make impossible to load them without giving statesize. > > Which one? We

Re: [PATCH v2 1/4] Crypto: Crypto driver support aes/des/des3 for rk3288

2015-11-05 Thread Caesar Wang
I guess the subject: "crypto: rockchip: " Maybe better. 在 2015年11月06日 09:17, Zain Wang 写道: The names registered are: ecb(aes) cbc(aes) ecb(des) cbc(des) ecb(des3_ede) cbc(des3_ede) You can alloc tags above in your case. And other algorithms and platforms will be added later on.

RE: [PATCH] crypto: add asynchronous compression support

2015-11-05 Thread Li, Weigang
After sync with Joonsoo Kim offline, he agreed to merge this acomp patch with his ccomp patch, thanks Joonsoo! -Original Message- From: Herbert Xu [mailto:herb...@gondor.apana.org.au] Sent: Friday, October 16, 2015 11:14 PM To: Li, Weigang Cc: linux-crypto@vger.kernel.org; Struk,

Re: [PATCH v2 4/4] crypto: rockchip/crypto - add DT bindings documentation

2015-11-05 Thread Rob Herring
On Fri, Nov 06, 2015 at 09:17:24AM +0800, Zain Wang wrote: > Add DT bindings documentation for the rk3288 crypto drivers. > > Signed-off-by: Zain Wang Acked-by: Rob Herring > --- > > Changde in v2: > - None > > Changed in v1: > - remove the _crypto

[PATCH v2 0/4] Crypto: add crypto accelerator support for rk3288

2015-11-05 Thread Zain Wang
This commit support three cipher(AES/DES/DES3) and two chainmode(ecb/cbc), and the more algorithms and new hash drivers will be added later on. Changed in v2: - remove some part about hash - add weak key detection - changed some variate's type Changed in v1: - modify some variate's name - modify

[PATCH v2 3/4] ARM: dts: rockchip: Add Crypto drivers for rk3288

2015-11-05 Thread Zain Wang
Add Crypto drivers for rk3288 including crypto controller and dma clk. Signed-off-by: Zain Wang --- Changed in v2: - None Changed in v1: - remove the _crypto suffix - use "rockchip,rk3288-crypto" instead of "rockchip,rk3288" arch/arm/boot/dts/rk3288.dtsi | 15

[PATCH v2 4/4] crypto: rockchip/crypto - add DT bindings documentation

2015-11-05 Thread Zain Wang
Add DT bindings documentation for the rk3288 crypto drivers. Signed-off-by: Zain Wang --- Changde in v2: - None Changed in v1: - remove the _crypto suffix - use "rockchip,rk3288-crypto" instead of "rockchip,rk3288" - remove the description of status

[PATCH v2 1/4] Crypto: Crypto driver support aes/des/des3 for rk3288

2015-11-05 Thread Zain Wang
The names registered are: ecb(aes) cbc(aes) ecb(des) cbc(des) ecb(des3_ede) cbc(des3_ede) You can alloc tags above in your case. And other algorithms and platforms will be added later on. Signed-off-by: Zain Wang --- Changed in v2: - remove some part about hash -

Re: [PATCH v3] keys, trusted: select hash algorithm for TPM2 chips

2015-11-05 Thread kbuild test robot
Hi Jarkko, [auto build test ERROR on: security/next] [also build test ERROR on: next-20151105] [cannot apply to: v4.3] url: https://github.com/0day-ci/linux/commits/Jarkko-Sakkinen/keys-trusted-select-hash-algorithm-for-TPM2-chips/20151106-010236 base: https://git.kernel.org/pub/scm/linux

Re: [PATCH v2 3/4] ARM: dts: rockchip: Add Crypto drivers for rk3288

2015-11-05 Thread Caesar Wang
the subject should be add the node/info for crypto... 在 2015年11月06日 09:17, Zain Wang 写道: Add Crypto drivers for rk3288 including crypto controller and dma clk. Signed-off-by: Zain Wang --- Changed in v2: - None Changed in v1: - remove the _crypto suffix - use