Add a convenience macro to get a fast one-in-n calculation
commit97b9dfe3052f1fe3b14f47fc1326e235f96305b7
authorNick Mathewson <nickm@torproject.org>
Wed, 20 Feb 2019 17:21:05 +0000 (20 12:21 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 20 Feb 2019 17:21:05 +0000 (20 12:21 -0500)
tree148edc114c2f53e04e134f79394a72c4e6dc589e
parent208f04e9b8241569fe314f6d5cb65521c9b55d8b
Add a convenience macro to get a fast one-in-n calculation
src/lib/crypt_ops/crypto_rand.h