summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2015-02-11 04:02:24 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2015-02-11 04:02:24 +0000
commitfcd328f7a65104e1c9d1ad6e1a5482da7b9b284f (patch)
tree3b2076aa2e74a384e7bc196f93a4d02aefe260ef /lib
parent4ca5ee5900fc784f65da14cf33e91e3d72c80bb1 (diff)
the possible algos for pref should be documented here
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/crypt/crypt_checkpass.315
1 files changed, 11 insertions, 4 deletions
diff --git a/lib/libc/crypt/crypt_checkpass.3 b/lib/libc/crypt/crypt_checkpass.3
index 09f2d02796c..44361d76221 100644
--- a/lib/libc/crypt/crypt_checkpass.3
+++ b/lib/libc/crypt/crypt_checkpass.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: crypt_checkpass.3,v 1.5 2014/12/02 07:39:58 schwarze Exp $
+.\" $OpenBSD: crypt_checkpass.3,v 1.6 2015/02/11 04:02:23 tedu Exp $
.\"
.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: December 2 2014 $
+.Dd $Mdocdate: February 11 2015 $
.Dt CRYPT_CHECKPASS 3
.Os
.Sh NAME
@@ -61,8 +61,15 @@ is randomly salted and hashed and stored in
The
.Fa pref
argument identifies the preferred hashing algorithm and parameters.
-Refer to
-.Xr login.conf 5 .
+Possible values are:
+.Bl -tag
+.It Dq blowfish,<rounds>
+The bcrypt algorithm, where the value of rounds can be between 4 and 31 and
+specifies the base 2 logarithm of the number of rounds.
+The special rounds value
+.Dq a
+automatically selects rounds based on system performance.
+.El
.Sh RETURN VALUES
.Rv -std crypt_checkpass crypt_newhash
.Sh ERRORS