From fcedfddf00b3f994e4f4e40332ac7fc192c63244 Mon Sep 17 00:00:00 2001 From: polwex Date: Sun, 5 Oct 2025 21:56:51 +0700 Subject: claude is gud --- vere/pkg/ent/ent.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 vere/pkg/ent/ent.h (limited to 'vere/pkg/ent/ent.h') diff --git a/vere/pkg/ent/ent.h b/vere/pkg/ent/ent.h new file mode 100644 index 0000000..e838d61 --- /dev/null +++ b/vere/pkg/ent/ent.h @@ -0,0 +1,13 @@ +#pragma once + +#include + +/* + Fills buf with high-quality entropy. + + buflen is the number of bytes, no greater than 256. + + Returns 0 on success. On failure, returns -1 and sets errno to + indicate the error. +*/ +int ent_getentropy(void* buf, size_t buflen); -- cgit v1.2.3