summaryrefslogtreecommitdiffstats
path: root/man3/des_crypt.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/des_crypt.3')
-rw-r--r--man3/des_crypt.315
1 files changed, 7 insertions, 8 deletions
diff --git a/man3/des_crypt.3 b/man3/des_crypt.3
index 41afe04..8a1228d 100644
--- a/man3/des_crypt.3
+++ b/man3/des_crypt.3
@@ -10,7 +10,7 @@
.\"
.\" SPDX-License-Identifier: GPL-1.0-or-later
.\"
-.TH des_crypt 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH des_crypt 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
des_crypt, ecb_crypt, cbc_crypt, des_setparity, DES_FAILED \- fast
DES encryption
@@ -22,7 +22,7 @@ Standard C library
.\" Sun version
.\" .B #include <des_crypt.h>
.B #include <rpc/des_crypt.h>
-.PP
+.P
.BI "[[deprecated]] int ecb_crypt(char *" key ", char " data [. datalen ],
.BI " unsigned int " datalen ", \
unsigned int " mode );
@@ -30,9 +30,9 @@ unsigned int " mode );
.BI " unsigned int " datalen ", \
unsigned int " mode ,
.BI " char *" ivec );
-.PP
+.P
.BI "[[deprecated]] void des_setparity(char *" key );
-.PP
+.P
.BI "[[deprecated]] int DES_FAILED(int " status );
.fi
.SH DESCRIPTION
@@ -64,7 +64,7 @@ mode protects against insertions, deletions, and
substitutions of blocks.
Also, regularities in the clear text will
not appear in the cipher text.
-.PP
+.P
Here is how to use these routines.
The first argument,
.IR key ,
@@ -120,7 +120,7 @@ An error occurred in the hardware or driver.
.TP
.B DESERR_BADPARAM
Bad argument to routine.
-.PP
+.P
Given a result status
.IR stat ,
the macro
@@ -146,14 +146,13 @@ T{
.BR des_setparity ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH STANDARDS
None.
.SH HISTORY
4.3BSD.
glibc 2.1.
Removed in glibc 2.28.
-.PP
+.P
Because they employ the DES block cipher,
which is no longer considered secure,
these functions were removed.