summaryrefslogtreecommitdiff
path: root/doc/glibc-functions
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2020-06-01 17:02:54 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2020-06-01 17:03:26 -0700
commita6ca54ccd9565b73ad998826f6791581a86b4607 (patch)
treedfc2204fd636f823a95ded0ff8da9ea4a5ce7adb /doc/glibc-functions
parent5a5636ae89d81dc305b2abc15c2185a4e8f1cf2f (diff)
downloadgnulib-a6ca54ccd9565b73ad998826f6791581a86b4607.tar.gz
getentropy, getrandom: compare to crypto/gc-random
Diffstat (limited to 'doc/glibc-functions')
-rw-r--r--doc/glibc-functions/getentropy.texi4
-rw-r--r--doc/glibc-functions/getrandom.texi4
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/glibc-functions/getentropy.texi b/doc/glibc-functions/getentropy.texi
index 2f66ada639..1689a7763e 100644
--- a/doc/glibc-functions/getentropy.texi
+++ b/doc/glibc-functions/getentropy.texi
@@ -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.
diff --git a/doc/glibc-functions/getrandom.texi b/doc/glibc-functions/getrandom.texi
index adf7aefcc5..a2a259f047 100644
--- a/doc/glibc-functions/getrandom.texi
+++ b/doc/glibc-functions/getrandom.texi
@@ -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.