[PATCH] crypto: use ERR_CAST

2013-01-22 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Replace PTR_ERR followed by ERR_PTR by ERR_CAST, to be more concise. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression err,x; @@ - err = PTR_ERR(x); if (IS_ERR(x)) -

Query about ahash support

2013-01-22 Thread Garg Vakul-B16394
Hi Currently, tcrypt ahash speed test code waits for previous request to complete before sending next crypto_ahash_update() request. The cryptographic offload hard accelerators (e.g. CAAM) supports multiple outstanding crypto requests for the same transform. Does the asynchronous hash support in

[PATCH v3 1/1] dm-integrity: integrity protection device-mapper target

2013-01-22 Thread Dmitry Kasatkin
Device-mapper integrity target provides transparent cryptographic integrity protection of the underlying read-write block device using hash-based message authentication codes (HMACs). HMACs can be stored on the same or different block device. dm-integrity uses an encrypted key type, stored on the

Re: [RFC 1/1] ima: digital signature verification using asymmetric keys

2013-01-22 Thread Mimi Zohar
On Tue, 2013-01-15 at 12:34 +0200, Dmitry Kasatkin wrote: Asymmetric keys were introduced in linux-3.7 to verify the signature on signed kernel modules. The asymmetric keys infrastructure abstracts the signature verification from the crypto details. This patch adds IMA/EVM signature