hwrng: core - Replace u32 in driver API with byte array
authorIan Molton <ian.molton@collabora.co.uk>
Tue, 1 Dec 2009 06:47:32 +0000 (14:47 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 1 Dec 2009 06:47:32 +0000 (14:47 +0800)
commit9996508b3353063f2d6c48c1a28a84543d72d70b
tree4358f990cf7805caee70be90953b4d267aad5461
parent2f32bfd834d5d7eb230bcbf39aaacccd2a01d767
hwrng: core - Replace u32 in driver API with byte array

This patch implements a new method by which hw_random hardware drivers
can pass data to the core more efficiently, using a shared buffer.

The old methods have been retained as a compatability layer until all the
drivers have been updated.

Signed-off-by: Ian Molton <ian.molton@collabora.co.uk>
Acked-by: Matt Mackall <mpm@selenic.com>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/core.c
include/linux/hw_random.h