kio
des.h
Go to the documentation of this file.00001 #ifndef KNTLM_DES_H 00002 #define KNTLM_DES_H 00003 00004 #include <qglobal.h> 00005 00006 typedef struct des_key 00007 { 00008 char kn[16][8]; 00009 Q_UINT32 sp[8][64]; 00010 char iperm[16][16][8]; 00011 char fperm[16][16][8]; 00012 } DES_KEY; 00013 00014 int 00015 ntlm_des_ecb_encrypt (const void *plaintext, int len, DES_KEY * akey, unsigned char output[8]); 00016 int 00017 ntlm_des_set_key (DES_KEY * dkey, char *user_key, int len); 00018 00019 #endif /* KNTLM_DES_H */