Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/x86 Cite Cryptography Research evaluation of VI...



details:   https://anonhg.NetBSD.org/src/rev/42aa3b1883ed
branches:  trunk
changeset: 936559:42aa3b1883ed
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Jul 30 17:26:23 2020 +0000

description:
Cite Cryptography Research evaluation of VIA RNG and give live URL.

(URL verified to be archived in the Internet Archive for posterity)

diffstat:

 sys/arch/x86/x86/cpu_rng.c |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r d28870fa345f -r 42aa3b1883ed sys/arch/x86/x86/cpu_rng.c
--- a/sys/arch/x86/x86/cpu_rng.c        Thu Jul 30 13:50:27 2020 +0000
+++ b/sys/arch/x86/x86/cpu_rng.c        Thu Jul 30 17:26:23 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu_rng.c,v 1.18 2020/07/25 22:10:34 riastradh Exp $ */
+/* $NetBSD: cpu_rng.c,v 1.19 2020/07/30 17:26:23 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -228,6 +228,11 @@
         * The Cryptography Research paper on the VIA RNG estimates
         * 0.75 bits of entropy per output bit and advises users to
         * be "even more conservative".
+        *
+        *      `Evaluation of VIA C3 Nehemiah Random Number
+        *      Generator', Cryptography Research, Inc., February 27,
+        *      2003.
+        *      https://www.rambus.com/wp-content/uploads/2015/08/VIA_rng.pdf
         */
        return nbytes * NBBY/2;
 }



Home | Main Index | Thread Index | Old Index