A NOTE has been added to this issue. ====================================================================== https://www.austingroupbugs.net/view.php?id=1926 ====================================================================== Reported By: dannyniu Assigned To: ====================================================================== Project: 1003.1(2024)/Issue8 Issue ID: 1926 Category: Base Definitions and Headers Type: Clarification Requested Severity: Comment Priority: normal Status: New Name: DannyNiu/NJF Organization: Individual User Reference: C243.pdf Section: <limits.h> :: Other Invariant Values :: {GETENTROPY_MAX} Page Number: 293 Line Number: 10226-10228 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2025-05-31 15:24 UTC Last Modified: 2025-06-03 10:13 UTC ====================================================================== Summary: Nobody has mistaken bytes for bits when deciding value for GETENTROPY_MAX do we? ======================================================================
---------------------------------------------------------------------- (0007194) geoffclare (manager) - 2025-06-03 10:13 https://www.austingroupbugs.net/view.php?id=1926#c7194 ---------------------------------------------------------------------- Given that the first paragraph of DESCRIPTION has detailed requirements on the data produced, and the NAME section says "fill a buffer with random bytes", a possible solution would be to change: <blockquote>A successful call to <i>getentropy</i>( ) shall always provide the requested number of bytes of entropy."</blockquote> to: <blockquote>A successful call to <i>getentropy</i>( ) shall always provide the requested number of random bytes."</blockquote> Issue History Date Modified Username Field Change ====================================================================== 2025-05-31 15:24 dannyniu New Issue 2025-05-31 15:38 dannyniu Note Added: 0007192 2025-06-03 09:37 geoffclare Note Added: 0007193 2025-06-03 10:13 geoffclare Note Added: 0007194 ======================================================================
