On Sat Dec 21, 2024 at 9:17 AM CET, NRK wrote:
> I don't really understand this ifdef. What does this get? Since you
> don't need cryptographic guarantees, it gets you pretty much nothing
> (while it does have costs since CSPRNG are often slower due to
> cryptographic nature).
>
> So this is just m
> +#ifdef OpenBSD
> +
> +uint32_t
> +rng32(void)
> +{
> + return arc4random();
> +}
> +
> +void
> +rng32_randomseed()
> +{
> + return;
> +}
> +
> +#else /* standalone, PCG construction */
I don't really understand this ifdef. What does this get? Since you
don't need cryptographic guarantee