You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add system randomness providers and a portable std::random API #383
cross-platformIssues related to making Wave work seamlessly across multiple operating systems.enhancementA request for a new feature or improvement.feature requestA request for a new feature or functionality.help wantedThe issue requires extra attention or help from others.
Wave has no standard source of operating-system entropy. Applications should not need to reach into libc bindings or invent insecure pseudo-random fallbacks.
Scope
Add target providers under std::sys for Linux and macOS.
Define future provider contracts for Windows, FreeBSD, and WASI.
Add a portable buffer-filling API under std::random.
Handle interruption, partial fills, unavailable providers, and zero-length requests.
Keep cryptographic entropy separate from deterministic pseudo-random generators.
Never fall back silently to time, process IDs, or weak generators.
Completion criteria
Supported hosted targets can fill a caller-owned byte buffer.
Runtime tests reject an all-constant or unmodified buffer.
cross-platformIssues related to making Wave work seamlessly across multiple operating systems.enhancementA request for a new feature or improvement.feature requestA request for a new feature or functionality.help wantedThe issue requires extra attention or help from others.
Activity
Fix typed codegen and expand portable std capabilities (#701)