summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortedu <>2015-02-11 04:02:23 +0000
committertedu <>2015-02-11 04:02:23 +0000
commit48936c436bad6e0866dbe50f6d0d76bd453caa36 (patch)
tree7c586d4110cac3bf9c9d54dd9635483f2f6f6680 /src
parent6ce51e1f1b8945246fe0c52a70ebe9e0951ae3bb (diff)
downloadopenbsd-48936c436bad6e0866dbe50f6d0d76bd453caa36.tar.gz
openbsd-48936c436bad6e0866dbe50f6d0d76bd453caa36.tar.bz2
openbsd-48936c436bad6e0866dbe50f6d0d76bd453caa36.zip
the possible algos for pref should be documented here
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/crypt/crypt_checkpass.315
1 files changed, 11 insertions, 4 deletions
diff --git a/src/lib/libc/crypt/crypt_checkpass.3 b/src/lib/libc/crypt/crypt_checkpass.3
index 09f2d02796..44361d7622 100644
--- a/src/lib/libc/crypt/crypt_checkpass.3
+++ b/src/lib/libc/crypt/crypt_checkpass.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: crypt_checkpass.3,v 1.5 2014/12/02 07:39:58 schwarze Exp $ 1.\" $OpenBSD: crypt_checkpass.3,v 1.6 2015/02/11 04:02:23 tedu Exp $
2.\" 2.\"
3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> 3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
4.\" 4.\"
@@ -14,7 +14,7 @@
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\" 16.\"
17.Dd $Mdocdate: December 2 2014 $ 17.Dd $Mdocdate: February 11 2015 $
18.Dt CRYPT_CHECKPASS 3 18.Dt CRYPT_CHECKPASS 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -61,8 +61,15 @@ is randomly salted and hashed and stored in
61The 61The
62.Fa pref 62.Fa pref
63argument identifies the preferred hashing algorithm and parameters. 63argument identifies the preferred hashing algorithm and parameters.
64Refer to 64Possible values are:
65.Xr login.conf 5 . 65.Bl -tag
66.It Dq blowfish,<rounds>
67The bcrypt algorithm, where the value of rounds can be between 4 and 31 and
68specifies the base 2 logarithm of the number of rounds.
69The special rounds value
70.Dq a
71automatically selects rounds based on system performance.
72.El
66.Sh RETURN VALUES 73.Sh RETURN VALUES
67.Rv -std crypt_checkpass crypt_newhash 74.Rv -std crypt_checkpass crypt_newhash
68.Sh ERRORS 75.Sh ERRORS