]>
git.proxmox.com Git - ceph.git/blob - ceph/src/pmdk/src/common/rand.h
1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /* Copyright 2019-2020, Intel Corporation */
5 * rand.h -- random utils
17 typedef uint64_t rng_t
[4];
19 uint64_t hash64(uint64_t x
);
20 uint64_t rnd64_r(rng_t
*rng
);
21 void randomize_r(rng_t
*rng
, uint64_t seed
);
23 void randomize(uint64_t seed
);