Module Name:    src
Committed By:   riastradh
Date:           Wed Jul 31 22:44:49 UTC 2024

Modified Files:
        src/sys/arch/x86/x86: cpu_rng.c

Log Message:
x86/cpu_rng.c: Add reference for Intel's hardware design.

Not normative, unverifiable, possibly outdated -- but still a useful
description of a model of what Intel might have implemented under the
hood of RDRAND/RDSEED.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/x86/x86/cpu_rng.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x86/x86/cpu_rng.c
diff -u src/sys/arch/x86/x86/cpu_rng.c:1.21 src/sys/arch/x86/x86/cpu_rng.c:1.22
--- src/sys/arch/x86/x86/cpu_rng.c:1.21	Sun Jun  9 20:07:33 2024
+++ src/sys/arch/x86/x86/cpu_rng.c	Wed Jul 31 22:44:49 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu_rng.c,v 1.21 2024/06/09 20:07:33 riastradh Exp $ */
+/* $NetBSD: cpu_rng.c,v 1.22 2024/07/31 22:44:49 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -39,6 +39,12 @@
  * Revision 2.1, October 17, 2018.
  * https://software.intel.com/sites/default/files/managed/98/4a/DRNG_Software_Implementation_Guide_2.1.pdf
  *
+ * Intel's hardware implementation is analyzed by Mike Hamburg, Paul
+ * Kocher, and Mark E. Marson, `Analysis of Intel's Ivy Bridge Digital
+ * Random Number Generator', Cryptography Research, Inc., March 12,
+ * 2012.
+ * https://web.archive.org/web/20141230024150/http://www.cryptography.com/public/pdf/Intel_TRNG_Report_20120312.pdf
+ *
  * For reference on AMD RDRAND/RDSEED, which are designed to be
  * compatible with Intel RDRAND/RDSEED, see the somewhat less detailed
  * AMD Random Number Generator documentation, 2017-06-27.

Reply via email to