[lkml]   [2008]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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 <>
> 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 <>
> Signed-off-by: Martin Schwidefsky <>

Thanks for the patch. I'll pick this up in cryptodev-2.6.

Visit Openswan at
Email: Herbert Xu ~{PmV>HI~} <>
Home Page:
PGP Key:

 \ /
  Last update: 2008-03-31 16:23    [W:0.069 / U:3.932 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site