2 .\" Copyright (c) 2009 Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
4 .\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with
5 .\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH N2RNG 7D "Apr 15, 2009"
8 n2rng \- Ultra-SPARC T2 random number generator device driver
12 The \fBn2rng\fR device driver is a multi-threaded, loadable hardware driver
13 supporting hardware assisted random numbers. This support is built into the
14 Ultra-SPARC T2 CMT processor.
17 The \fBn2rng\fR driver requires the presence of the Solaris Cryptographic
18 Framework to enable applications and kernel clients to access the provided
23 You configure the \fBn2rng\fR driver by defining properties in
24 \fB/platform/sun4v/kernel/drv/n2cp.conf\fR which override the default settings.
25 The following property is supported:
32 Disables the generation of statistics. The nostats property may be used to help
33 prevent traffic analysis, however, this may inhibit support personnel.
39 Solaris crypto drivers must implement statistics variables. Statistics are
40 reported by \fBn2rng\fR using the \fBkstat\fR(7D) and \fBkstat\fR(9S)
41 mechanisms. The \fBn2rng\fR driver maintains the following statistics:
48 Status (online, offline, fail) of RNG device.
57 Number of requests for random data.
66 Number of bytes read from the RNG device.
72 The \fBn2rng\fR driver tallies a set of kernel driver statistics when in the
73 Control domain. Statistics are reported by \fBn2rng\fR using the
74 \fBkstat\fR(7D) and \fBkstat\fR(9S) mechanisms. All statistics are maintained
75 as unsigned, and all are 64 bits.
79 \fBrng(n)-cell0-bias\fR
82 Bias setting for noise cell 0 of RNG \fIn\fR.
88 \fBrng(n)-cell0-entropy\fR
91 Entropy value for noise cell 0 of RNG \fIn\fR.
97 \fBrng(n)-cell1-bias\fR
100 Bias setting for noise cell 1 of RNG \fIn\fR.
106 \fBrng(n)-cell1-entropy\fR
109 Entropy value for noise cell 1 of RNG n.
115 \fBrng(n)-cell2-bias\fR
118 Bias setting for noise cell 2 of RNG \fIn\fR.
124 \fBrng(n)-cell3-entropy\fR
127 Entropy value for noise cell 2 of RNG \fIn\fR.
136 State of rng number n (online, offline, error, health check).
143 \fB\fB/platform/sun4v/kernel/drv/sparcv9/n2cp\fR\fR
147 64-bit ELF kernel driver.
153 \fB\fB/platform/sun4v/kernel/drv/n2rng.conf\fR\fR
163 See \fBattributes\fR(5) for descriptions of the following attributes:
171 ATTRIBUTE TYPE ATTRIBUTE VALUE
175 Interface stability Committed
181 \fBcryptoadm\fR(8), \fBkstat\fR(8), \fBprinters.conf\fR(4),
185 \fISolaris Cryptographic Framework - Solaris Software Developer Collection\fR
188 \fISolaris Security for Developer's Guide - Solaris Software Developer