Go to the documentation of this file.
61 #ifndef __WAVELAN2_ENCRYPTION_H__
62 #define __WAVELAN2_ENCRYPTION_H__
70 #define CRYPT_CODE "57617665A5D6"
71 #define ENCRYPTION_LEN 102
72 #define ENCRYPTION_MAGIC 0x48576877L // HWhw
73 #define DEF_CRYPT_STR "G?TIUEA]d5MAdZV'eUb&&6.)'&:,'VF/(FR2)6^5*'*8*W6;+GB>,7NA-'ZD-X&G.H2J/8>M0(JP0XVS1HbV29.Y3):\\3YF_4IRb56"
75 #define DEFAULT_CRYPT_MAC "W\x01\x6B\x66\xA5\x5A"
77 #define MACADDRESS_STR_LEN 12
82 #define KEY_LENGTH_NONE_ASCII 0
83 #define KEY_LENGTH_64_BIT_ASCII 5
84 #define KEY_LENGTH_128_BIT_ASCII 13
86 #define KEY_LENGTH_NONE_HEX ( KEY_LENGTH_NONE_ASCII * sizeof( unsigned short ))
87 #define KEY_LENGTH_64_BIT_HEX ( KEY_LENGTH_64_BIT_ASCII * sizeof( unsigned short ))
88 #define KEY_LENGTH_128_BIT_HEX ( KEY_LENGTH_128_BIT_ASCII * sizeof( unsigned short ))
113 int wl_wep_decode(
char *szCrypt,
void *Dest,
char *szData );
118 #endif // __WAVELAN2_ENCRYPTION_H__