summaryrefslogtreecommitdiff
path: root/src/lib/libc/crypt
diff options
context:
space:
mode:
authortedu <>2015-02-11 04:02:23 +0000
committertedu <>2015-02-11 04:02:23 +0000
commit16aad183ce9bacab429bd62937373a0da02849ec (patch)
tree7c586d4110cac3bf9c9d54dd9635483f2f6f6680 /src/lib/libc/crypt
parent049efcbf6850b4b7cb7b66f303c7f35a88efa2ff (diff)
downloadopenbsd-16aad183ce9bacab429bd62937373a0da02849ec.tar.gz
openbsd-16aad183ce9bacab429bd62937373a0da02849ec.tar.bz2
openbsd-16aad183ce9bacab429bd62937373a0da02849ec.zip
the possible algos for pref should be documented here
Diffstat (limited to 'src/lib/libc/crypt')
-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