Home
last modified time | relevance | path

Searched refs:szDest (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/staging/wlags49_h2/
Dwl_enc.c108 int wl_wep_code( char *szCrypt, char *szDest, void *Data, int nLen ) in wl_wep_code() argument
123 for( i = t = *szDest = 0; i < nLen; i++, t++ ) { in wl_wep_code()
131 szDest[t] = ((k & 0xFC) >> 2) + CH_START ; in wl_wep_code()
132 szDest[t+1] = ((k & 0x03) << 4) + CH_START ; in wl_wep_code()
133 szDest[t+2] = '\0'; in wl_wep_code()
140 szDest[t] += (( k & 0xF0 ) >> 4 ); in wl_wep_code()
141 szDest[t+1] = (( k & 0x0F ) << 2 ) + CH_START ; in wl_wep_code()
142 szDest[t+2] = '\0'; in wl_wep_code()
149 szDest[t] += (( k & 0xC0 ) >> 6 ); in wl_wep_code()
150 szDest[t+1] = ( k & 0x3F ) + CH_START ; in wl_wep_code()
[all …]
Dwl_enc.h111 int wl_wep_code( char *szCrypt, char *szDest, void *Data, int nLen );