Module Name: src Committed By: hubertf Date: Sun Jan 31 14:43:04 UTC 2010
Modified Files: src/share/man/man4: crypto.4 Log Message: Fix two typos to make documentation match the code: * the CIOCFKEY ioctl is really called CIOCKEY * CRK_MOD_EX => CRK_MOD_EXP Bump date. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/share/man/man4/crypto.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man4/crypto.4 diff -u src/share/man/man4/crypto.4:1.17 src/share/man/man4/crypto.4:1.18 --- src/share/man/man4/crypto.4:1.17 Thu Jan 28 08:35:06 2010 +++ src/share/man/man4/crypto.4 Sun Jan 31 14:43:04 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: crypto.4,v 1.17 2010/01/28 08:35:06 hubertf Exp $ +.\" $NetBSD: crypto.4,v 1.18 2010/01/31 14:43:04 hubertf Exp $ .\" .\" Copyright (c) 2008 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -53,7 +53,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF .\" THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd May 16, 2009 +.Dd Jan 28, 2010 .Dt CRYPTO 4 .Os .Sh NAME @@ -127,7 +127,7 @@ .Dv CIOCCRYPT (symmetric) or -.Dv CIOCFKEY +.Dv CIOCKEY (asymmetric) or asynchronously with .Dv CIOCNCRYPTM @@ -208,7 +208,7 @@ as symmetric-key hash algorithms with a zero-length key. .Ss IOCTL Request Descriptions .\" -.Bl -tag -width CIOCFKEY +.Bl -tag -width CIOCKEY .\" .It Dv CRIOGET Fa int *fd This operation is deprecated and will be removed after @@ -453,7 +453,7 @@ .Pp See below for discussion of the input and output parameter counts. .Ss Asymmetric-key commands -.Bl -tag -width CIOCFKEY +.Bl -tag -width CIOCKEY .It Dv CIOCASYMFEAT Fa int *feature_mask Returns a bitmask of supported asymmetric-key operations. Each of the above-listed asymmetric operations is present @@ -462,9 +462,9 @@ For example, .Dv CRK_MOD_EXP is available if and only if the bit -.Pq 1 \*[Lt]\*[Lt] Dv CRK_MOD_EX +.Pq 1 \*[Lt]\*[Lt] Dv CRK_MOD_EXP is set. -.It Dv CIOCFKEY Fa struct crypt_kop *kop +.It Dv CIOCKEY Fa struct crypt_kop *kop .Bd -literal struct crypt_kop { u_int crk_op; /* e.g. CRK_MOD_EXP */ @@ -521,7 +521,7 @@ .Ed This is the asynchronous version of -.Dv CIOCFKEY , +.Dv CIOCKEY , which starts one or more key operations. See .Dv CIOCNCRYPTM @@ -550,7 +550,7 @@ .Xr poll 2 functions to determine when the file descriptor has completed operations ready to be retrieved. -.Bl -tag -width CIOCFKEY +.Bl -tag -width CIOCKEY .It Dv CIOCNCRYPTRET Fa struct crypt_result *cres .Bd -literal struct crypt_result {