diff options
author | tedu <> | 2015-02-11 04:02:23 +0000 |
---|---|---|
committer | tedu <> | 2015-02-11 04:02:23 +0000 |
commit | 16aad183ce9bacab429bd62937373a0da02849ec (patch) | |
tree | 7c586d4110cac3bf9c9d54dd9635483f2f6f6680 /src/lib/libc/crypt | |
parent | 049efcbf6850b4b7cb7b66f303c7f35a88efa2ff (diff) | |
download | openbsd-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.3 | 15 |
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 | |||
61 | The | 61 | The |
62 | .Fa pref | 62 | .Fa pref |
63 | argument identifies the preferred hashing algorithm and parameters. | 63 | argument identifies the preferred hashing algorithm and parameters. |
64 | Refer to | 64 | Possible values are: |
65 | .Xr login.conf 5 . | 65 | .Bl -tag |
66 | .It Dq blowfish,<rounds> | ||
67 | The bcrypt algorithm, where the value of rounds can be between 4 and 31 and | ||
68 | specifies the base 2 logarithm of the number of rounds. | ||
69 | The special rounds value | ||
70 | .Dq a | ||
71 | automatically 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 |