summaryrefslogtreecommitdiff
path: root/random/random-csprng.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2008-12-05 08:46:01 +0000
committerWerner Koch <wk@gnupg.org>2008-12-05 08:46:01 +0000
commit7896550149f1969c7381371dc345a4031290305b (patch)
treec4daf050882b48fb4d8ed926b6dd6469c12134bc /random/random-csprng.c
parenta51072bd6bf2c44bdd081d30c0fa1b8214e50471 (diff)
downloadlibgcrypt-7896550149f1969c7381371dc345a4031290305b.tar.gz
Fixed error cases in mpicoder.
Documentation cleanups.
Diffstat (limited to 'random/random-csprng.c')
-rw-r--r--random/random-csprng.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/random/random-csprng.c b/random/random-csprng.c
index 39c49a70..aca977e8 100644
--- a/random/random-csprng.c
+++ b/random/random-csprng.c
@@ -1,4 +1,4 @@
-/* random-csprng.c - CSPRNG style random number generator (libgcrypt clssic)
+/* random-csprng.c - CSPRNG style random number generator (libgcrypt classic)
* Copyright (C) 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
* 2007, 2008 Free Software Foundation, Inc.
*
@@ -20,9 +20,15 @@
/*
This random number generator is modelled after the one described in
- Peter Gutmann's paper: "Software Generation of Practically Strong
- Random Numbers". See also chapter 6 in his book "Cryptographic
- Security Architecture", New York, 2004, ISBN 0-387-95387-6.
+ Peter Gutmann's 1998 Usenix Security Symposium paper: "Software
+ Generation of Practically Strong Random Numbers". See also chapter
+ 6 in his book "Cryptographic Security Architecture", New York,
+ 2004, ISBN 0-387-95387-6.
+
+ Note that the acronym CSPRNG stands for "Continuously Seeded
+ PseudoRandom Number Generator" as used in Peter's implementation of
+ the paper and not only for "Cryptographically Secure PseudoRandom
+ Number Generator".
*/