]> Savannah Git Hosting - gnulib.git/commitdiff
getentropy, getrandom: compare to crypto/gc-random
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 2 Jun 2020 00:02:54 +0000 (17:02 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 2 Jun 2020 00:03:26 +0000 (17:03 -0700)
doc/glibc-functions/getentropy.texi
doc/glibc-functions/getrandom.texi

index 2f66ada63972b273ee887209b100840721198ed2..1689a7763e79b810a5bd0ace4eb8cedf8a35dba2 100644 (file)
@@ -41,3 +41,7 @@ additional techniques such as hedging.@footnote{Ristenpart T, Yilek
 S@. @url{http://pages.cs.wisc.edu/~rist/papers/sslhedge.pdf, When good
 randomness goes bad: virtual machine vulnerabilities and hedging
 deployed cryptography}. NDSS 2010.}
+
+Related modules include @code{getrandom}, which has a more-flexible
+but more-complex API, and @code{crypto/gc-random}, which is likely a
+better match for code already using the other @code{crypto} APIs.
index adf7aefcc552ec942d90040c46722de932b1158f..a2a259f047eaf36ff937a806341d6a6886a211a6 100644 (file)
@@ -49,3 +49,7 @@ additional techniques such as hedging.@footnote{Ristenpart T, Yilek
 S@. @url{http://pages.cs.wisc.edu/~rist/papers/sslhedge.pdf, When good
 randomness goes bad: virtual machine vulnerabilities and hedging
 deployed cryptography}. NDSS 2010.}
+
+Related modules include @code{getentropy}, which has a simpler but
+more-limited API, and @code{crypto/gc-random}, which is likely a
+better match for code already using the other @code{crypto} APIs.