Refilling the buffer is a small fraction of a microsecond on one of your server cores. Linux has vastly larger continual jitter than this.
Which will add slowness, or memory, or more likely a bit of both. Obviously the underlying algorithm is better, but locks esp can dominate.
-
-
Sure. But my point is that you're already doing a mix of miscellaneous microsecond-scale operations. This RNG is always faster than that.
-
Yep, not a speed thing, I just want to make randombytes() constant-time. I'll test and measure too. Very flat times possible with DPDK etc.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.