projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CI: add checks for basic compatibility with muon
[tinc]
/
src
/
crypto.h
diff --git
a/src/crypto.h
b/src/crypto.h
index
9fc4156
..
ac96ea8
100644
(file)
--- a/
src/crypto.h
+++ b/
src/crypto.h
@@
-23,11
+23,9
@@
*/
extern void crypto_init(void);
*/
extern void crypto_init(void);
-extern void crypto_exit(void);
extern uint64_t xoshiro(void);
extern void prng_init(void);
extern void prng_randomize(void *buf, size_t buflen);
extern uint64_t xoshiro(void);
extern void prng_init(void);
extern void prng_randomize(void *buf, size_t buflen);
-extern void randomize(void *buf, size_t buflen);
static inline uint32_t prng(uint32_t limit) {
uint64_t bins = UINT64_MAX / limit;
static inline uint32_t prng(uint32_t limit) {
uint64_t bins = UINT64_MAX / limit;