Closed josephlr closed 2 months ago
This adds 256-byte chunking for Emscripten, which, strictly speaking, is not needed, but I guess it's fine.
Ya I thought about special-casing this, but I think the fact that emscripten's getentropy
works with buffers longer than 256 bytes is undocumented, so maybe it's not the best that we were depending on it.
This is similar to what we did for
getrandom.rs
, and makes switching just Solaris togetentropy
easier.