rng.c (a9b7b2ad7b075dba5495271706670e5c6b1304bc) | rng.c (7b1b5d191385ca52e96caae2a05c64f3a63855d9) |
---|---|
1/* 2 * QEMU Random Number Generator Backend 3 * 4 * Copyright IBM, Corp. 2012 5 * 6 * Authors: 7 * Anthony Liguori <aliguori@us.ibm.com> 8 * 9 * This work is licensed under the terms of the GNU GPL, version 2 or later. 10 * See the COPYING file in the top-level directory. 11 */ 12 13#include "qemu/rng.h" | 1/* 2 * QEMU Random Number Generator Backend 3 * 4 * Copyright IBM, Corp. 2012 5 * 6 * Authors: 7 * Anthony Liguori <aliguori@us.ibm.com> 8 * 9 * This work is licensed under the terms of the GNU GPL, version 2 or later. 10 * See the COPYING file in the top-level directory. 11 */ 12 13#include "qemu/rng.h" |
14#include "qerror.h" | 14#include "qapi/qmp/qerror.h" |
15 16void rng_backend_request_entropy(RngBackend *s, size_t size, 17 EntropyReceiveFunc *receive_entropy, 18 void *opaque) 19{ 20 RngBackendClass *k = RNG_BACKEND_GET_CLASS(s); 21 22 if (k->request_entropy) { --- 71 unchanged lines hidden --- | 15 16void rng_backend_request_entropy(RngBackend *s, size_t size, 17 EntropyReceiveFunc *receive_entropy, 18 void *opaque) 19{ 20 RngBackendClass *k = RNG_BACKEND_GET_CLASS(s); 21 22 if (k->request_entropy) { --- 71 unchanged lines hidden --- |