static void entropy_available(void *opaque)

{

    RndRandom *s = RNG_RANDOM(opaque);

    uint8_t buffer[s->size];

    ssize_t len;



    len = read(s->fd, buffer, s->size);




    g_assert(len != -1);



    s->receive_func(s->opaque, buffer, len);

    s->receive_func = NULL;



    qemu_set_fd_handler(s->fd, NULL, NULL, NULL);

static void entropy_available(void *opaque)

{

    RndRandom *s = RNG_RANDOM(opaque);

    uint8_t buffer[s->size];

    ssize_t len;



    len = read(s->fd, buffer, s->size);




    g_assert(len != -1);



    s->receive_func(s->opaque, buffer, len);

    s->receive_func = NULL;



    qemu_set_fd_handler(s->fd, NULL, NULL, NULL);

static void FUNC_0(void *VAR_0)

{

    RndRandom *s = RNG_RANDOM(VAR_0);

    uint8_t buffer[s->size];

    ssize_t len;



    len = read(s->fd, buffer, s->size);




    g_assert(len != -1);



    s->receive_func(s->VAR_0, buffer, len);

    s->receive_func = NULL;



    qemu_set_fd_handler(s->fd, NULL, NULL, NULL);

static void FUNC_0(void *VAR_0)
{ RndRandom *s = RNG_RANDOM(VAR_0); uint8_t buffer[s->size]; ssize_t len; len = read(s->fd, buffer, s->size); g_assert(len != -1); s->receive_func(s->VAR_0, buffer, len); s->receive_func = NULL; qemu_set_fd_handler(s->fd, NULL, NULL, NULL);