diff options
author | Ian Molton <ian.molton@collabora.co.uk> | 2009-12-01 15:26:33 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-12-01 15:26:33 +0800 |
commit | bb347d98079a547e80bd4722dee1de61e4dca0e8 (patch) | |
tree | 79fc5a98ce9bca6d47385e6fef0fd4907929a0e8 /crypto/sha512_generic.c | |
parent | 838632438145ac6863377eb12d8b8eef9c55d288 (diff) |
hwrng: virtio-rng - Convert to new API
This patch converts virtio-rng to the new hw_rng API.
In the process it fixes a previously untriggered buffering bug where the
buffer is not drained correctly if it has a non-multiple-of-4 length.
Performance has improved under qemu-kvm testing also.
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>
Diffstat (limited to 'crypto/sha512_generic.c')
0 files changed, 0 insertions, 0 deletions