summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortedu <>2013-04-21 18:07:32 +0000
committertedu <>2013-04-21 18:07:32 +0000
commit22be8e36a0f7b5a8e4488bafa05e43e3c1fdedc2 (patch)
tree3a7bbb1edbba323293eaa2e21b5605edf910fa5c /src
parentc9bdb5cfbd090f2022e5c379e2384495e9d8fd80 (diff)
downloadopenbsd-22be8e36a0f7b5a8e4488bafa05e43e3c1fdedc2.tar.gz
openbsd-22be8e36a0f7b5a8e4488bafa05e43e3c1fdedc2.tar.bz2
openbsd-22be8e36a0f7b5a8e4488bafa05e43e3c1fdedc2.zip
this man page is mostly about password hashing now (you really don't
want to be using DES) and some of the notes about the export controls are no longer so relevant. ok deraadt jmc
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/crypt/crypt.323
1 files changed, 5 insertions, 18 deletions
diff --git a/src/lib/libc/crypt/crypt.3 b/src/lib/libc/crypt/crypt.3
index 98ec1c83d6..c38710ac33 100644
--- a/src/lib/libc/crypt/crypt.3
+++ b/src/lib/libc/crypt/crypt.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: crypt.3,v 1.30 2013/04/20 19:02:52 tedu Exp $ 1.\" $OpenBSD: crypt.3,v 1.31 2013/04/21 18:07:32 tedu Exp $
2.\" 2.\"
3.\" FreeSec: libcrypt 3.\" FreeSec: libcrypt
4.\" 4.\"
@@ -31,7 +31,7 @@
31.\" 31.\"
32.\" Manual page, using -mandoc macros 32.\" Manual page, using -mandoc macros
33.\" 33.\"
34.Dd $Mdocdate: April 20 2013 $ 34.Dd $Mdocdate: April 21 2013 $
35.Dt CRYPT 3 35.Dt CRYPT 3
36.Os 36.Os
37.Sh NAME 37.Sh NAME
@@ -43,7 +43,7 @@
43.Nm bcrypt_gensalt , 43.Nm bcrypt_gensalt ,
44.Nm bcrypt , 44.Nm bcrypt ,
45.Nm md5crypt 45.Nm md5crypt
46.Nd DES encryption 46.Nd password hashing
47.Sh SYNOPSIS 47.Sh SYNOPSIS
48.Fd #include <stdlib.h> 48.Fd #include <stdlib.h>
49.Ft int 49.Ft int
@@ -67,7 +67,7 @@
67.Sh DESCRIPTION 67.Sh DESCRIPTION
68The 68The
69.Fn crypt 69.Fn crypt
70function performs password encryption based on the 70function performs password hashing based on the
71.Tn NBS 71.Tn NBS
72Data Encryption Standard (DES). 72Data Encryption Standard (DES).
73Additional code has been added to deter key search attempts and to use 73Additional code has been added to deter key search attempts and to use
@@ -302,22 +302,9 @@ The current style
302.Fn crypt 302.Fn crypt
303first appeared in 303first appeared in
304.At v7 . 304.At v7 .
305.Pp
306This library (FreeSec 1.0) was developed outside the United States of America
307as an unencumbered replacement for the U.S.-only libcrypt encryption
308library.
309Programs linked against the
310.Fn crypt
311interface may be exported from the U.S.A. only if they use
312.Fn crypt
313solely for authentication purposes and avoid use of
314the other programmer interfaces listed above.
315Special care has been taken
316in the library so that programs which only use the
317.Fn crypt
318interface do not pull in the other components.
319.Sh AUTHORS 305.Sh AUTHORS
320.An David Burren Aq davidb@werj.com.au 306.An David Burren Aq davidb@werj.com.au
307wrote the original DES functions.
321.Sh BUGS 308.Sh BUGS
322The 309The
323.Fn crypt 310.Fn crypt