You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
383 B
20 lines
383 B
15 years ago
|
#ifndef KNTLM_DES_H
|
||
|
#define KNTLM_DES_H
|
||
|
|
||
15 years ago
|
#include <tqglobal.h>
|
||
15 years ago
|
|
||
|
typedef struct des_key
|
||
|
{
|
||
|
char kn[16][8];
|
||
14 years ago
|
TQ_UINT32 sp[8][64];
|
||
15 years ago
|
char iperm[16][16][8];
|
||
|
char fperm[16][16][8];
|
||
|
} DES_KEY;
|
||
|
|
||
|
int
|
||
|
ntlm_des_ecb_encrypt (const void *plaintext, int len, DES_KEY * akey, unsigned char output[8]);
|
||
|
int
|
||
|
ntlm_des_set_key (DES_KEY * dkey, char *user_key, int len);
|
||
|
|
||
|
#endif /* KNTLM_DES_H */
|