[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080331141943.GA14688@gondor.apana.org.au>
Date: Mon, 31 Mar 2008 22:19:43 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Martin Schwidefsky <schwidefsky@...ibm.com>
Cc: linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-s390@...r.kernel.org, Ralph Wuerthner <rwuerthn@...ibm.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [patch 1/2] hw_random: allow rng_dev_read() to return hardware errors.
On Fri, Mar 14, 2008 at 09:25:24AM +0000, Martin Schwidefsky wrote:
> From: Ralph Wuerthner <rwuerthn@...ibm.com>
>
> The api for hardware random number generators is currently limited to
> devices that never fail. If the hardware is registered as a source for
> random numbers it has to work. This prevents the use of i/o based
> random number devices where the i/o might fail.
>
> Add a check for errors after the read from a hardware random number device.
>
> This patch is required to support large random numbers retrieved
> from the CEX2C cards on System z.
>
> Signed-off-by: Ralph Wuerthner <rwuerthn@...ibm.com>
> Signed-off-by: Martin Schwidefsky <schwidefsky@...ibm.com>
Thanks for the patch. I'll pick this up in cryptodev-2.6.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists