Sha256: dcbc09a0f1ed57a3ceb487b70bc9362aee02e3e285e51488d2d8a27bc082600e

Contents?: true

Size: 232 Bytes

Versions: 1

Compression:

Stored size: 232 Bytes

Contents

#include <random.h>

static int
hydro_random_init(void)
{
    random_bytes(hydro_random_context.state, sizeof(hydro_random_context.state));
    hydro_random_context.counter = ~LOAD64_LE(hydro_random_context.state);

    return 0;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dualcone-1.0.0 vendor/libhydrogen/impl/random/riot.h