‹ BackHN Continuity

Thread

AMD's random number generator can't generate a 0?

288 points · 220 comments · BruceEel

  1. throwawayffffas · · focus · HN ↗
    So what? The point is to be non predictable not to pick all the numbers in the range with exactly the same probability. Would it be a problem if it never generated 16542?
    1. antiloper · · focus · HN ↗
      What are you talking about? The point is in fact to pick all the numbers in the range with exactly the same probability.

      See section 7.3.17 of the Intel SDM, and how NIST SP800-90A (which the SDM refers to) defines "random number".

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.