summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2016-11-25 16:34:09 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2016-11-25 16:34:09 +0000
commit63688857232634445f1801566d1d63cb0c48ce71 (patch)
treecac9cf8ff7634530c00e97328bf4b8a7fa7f31cf /lib
parentafb31ac18071d2e472bcbd576278634ae122335c (diff)
various minor cleanup;
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/man/RAND_add.310
-rw-r--r--lib/libcrypto/man/RAND_load_file.310
-rw-r--r--lib/libcrypto/man/RC4.38
-rw-r--r--lib/libcrypto/man/RIPEMD160.36
4 files changed, 17 insertions, 17 deletions
diff --git a/lib/libcrypto/man/RAND_add.3 b/lib/libcrypto/man/RAND_add.3
index 54a2328bb4c..7137218cdca 100644
--- a/lib/libcrypto/man/RAND_add.3
+++ b/lib/libcrypto/man/RAND_add.3
@@ -1,6 +1,6 @@
-.\" $OpenBSD: RAND_add.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\" $OpenBSD: RAND_add.3,v 1.3 2016/11/25 16:34:08 jmc Exp $
.\"
-.Dd $Mdocdate: November 6 2016 $
+.Dd $Mdocdate: November 25 2016 $
.Dt RAND_ADD 3
.Os
.Sh NAME
@@ -11,15 +11,15 @@
.Sh SYNOPSIS
.In openssl/rand.h
.Ft void
-.Fo RAND_seed
+.Fo RAND_add
.Fa "const void *buf"
.Fa "int num"
+.Fa "double entropy"
.Fc
.Ft void
-.Fo RAND_add
+.Fo RAND_seed
.Fa "const void *buf"
.Fa "int num"
-.Fa "double entropy"
.Fc
.Ft int
.Fn RAND_status void
diff --git a/lib/libcrypto/man/RAND_load_file.3 b/lib/libcrypto/man/RAND_load_file.3
index 003196b59fd..8067b796b34 100644
--- a/lib/libcrypto/man/RAND_load_file.3
+++ b/lib/libcrypto/man/RAND_load_file.3
@@ -1,12 +1,12 @@
-.\" $OpenBSD: RAND_load_file.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\" $OpenBSD: RAND_load_file.3,v 1.3 2016/11/25 16:34:08 jmc Exp $
.\"
-.Dd $Mdocdate: November 6 2016 $
+.Dd $Mdocdate: November 25 2016 $
.Dt RAND_LOAD_FILE 3
.Os
.Sh NAME
+.Nm RAND_file_name ,
.Nm RAND_load_file ,
-.Nm RAND_write_file ,
-.Nm RAND_file_name
+.Nm RAND_write_file
.Nd PRNG seed file
.Sh SYNOPSIS
.In openssl/rand.h
@@ -40,7 +40,7 @@ used to allow for the state of the random number generator to be
controlled by external sources.
.Pp
It is kept for ABI compatibility but is no longer functional, and should
-not used in new programs.
+not be used in new programs.
.Pp
.Fn RAND_write_file
writes a number of random bytes (currently 1024) to file
diff --git a/lib/libcrypto/man/RC4.3 b/lib/libcrypto/man/RC4.3
index 60df7792cb2..cefd8d83fff 100644
--- a/lib/libcrypto/man/RC4.3
+++ b/lib/libcrypto/man/RC4.3
@@ -1,6 +1,6 @@
-.\" $OpenBSD: RC4.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\" $OpenBSD: RC4.3,v 1.3 2016/11/25 16:34:08 jmc Exp $
.\"
-.Dd $Mdocdate: November 6 2016 $
+.Dd $Mdocdate: November 25 2016 $
.Dt RC4 3
.Os
.Sh NAME
@@ -25,12 +25,12 @@
.Sh DESCRIPTION
This library implements the alleged RC4 cipher, which is described for
example in
-.%B Applied Cryptography .
+.Qq Applied Cryptography .
It is believed to be compatible with RC4[TM], a proprietary cipher of
RSA Security Inc.
.Pp
RC4 is a stream cipher with variable key length.
-Typically, 128 bit (16 byte) keys are used for strong encryption, but
+Typically, 128-bit (16-byte) keys are used for strong encryption, but
shorter insecure key sizes have been widely used due to export
restrictions.
.Pp
diff --git a/lib/libcrypto/man/RIPEMD160.3 b/lib/libcrypto/man/RIPEMD160.3
index ac86f82ef65..0e58c443c37 100644
--- a/lib/libcrypto/man/RIPEMD160.3
+++ b/lib/libcrypto/man/RIPEMD160.3
@@ -1,6 +1,6 @@
-.\" $OpenBSD: RIPEMD160.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
+.\" $OpenBSD: RIPEMD160.3,v 1.3 2016/11/25 16:34:08 jmc Exp $
.\"
-.Dd $Mdocdate: November 6 2016 $
+.Dd $Mdocdate: November 25 2016 $
.Dt RIPEMD160 3
.Os
.Sh NAME
@@ -33,7 +33,7 @@
.Fa "RIPEMD160_CTX *c"
.Fc
.Sh DESCRIPTION
-RIPEMD-160 is a cryptographic hash function with a 160 bit output.
+RIPEMD-160 is a cryptographic hash function with a 160-bit output.
.Pp
.Fn RIPEMD160
computes the RIPEMD-160 message digest of the