This commit is contained in:
Michael Kerrisk 2007-05-16 03:59:19 +00:00
parent c1d51bcd85
commit 42ca79eb46
1 changed files with 11 additions and 10 deletions

View File

@ -83,15 +83,16 @@ structure to hold the key data:
.RS
.nf
struct crypt_data {
char keysched[16 * 8];
char sb0[32768];
char sb1[32768];
char sb2[32768];
char sb3[32768];
char crypt_3_buf[14];
char current_salt[2];
long int current_saltbits;
int direction, initialized;
char keysched[16 * 8];
char sb0[32768];
char sb1[32768];
char sb2[32768];
char sb3[32768];
char crypt_3_buf[14];
char current_salt[2];
long int current_saltbits;
int direction;
int initialized;
};
.fi
.RE
@ -112,7 +113,7 @@ On success, it is unchanged.
The function is not provided.
(For example because of former USA export restrictions.)
.SH EXAMPLE
You need to link with libcrypt to compile this example with glibc2.2.
You need to link with libcrypt to compile this example with glibc 2.2.
To do useful work the key[] and txt[] arrays must be filled with a
useful bit pattern.
Note that the <crypt.h> header unconditionally