Re: wep 256 bits encryption
Paolo <[email protected]>
| Newsgroups | gmane.linux.drivers.ipw2100.devel |
|---|---|
| Message-ID | <20070504125145.GB28751@localhost> |
On Fri, May 04, 2007 at 09:39:20AM +0100, Jago Pearce wrote:
> I have been using a 256 WEP key for a while now, nd using
...
> Unfortunately iwconfig truncates my key to 32 characters.
...
> - Yet I know it is possible because when kwirelessmanager works it is
> fine.
> How would you guys enter a 256bit key?
> If it's relevant I use a 2200bg (my USB wifi adapter freezes
it's well possible that kwm just throws away the extra bits - here's what's
in the code:
#define DCT_WEP_KEY_FIELD_LENGTH 16
...
struct tfd_data {
...
/* Tx Parameters */
...
u8 wepkey[DCT_WEP_KEY_FIELD_LENGTH];
which, if I read it correctly, means that wepkey's size is 8 x 16 = 128bits.
So 256bits keys simply won't fit.
That's from
#define IPW2200_VERSION "1.1.2"
Of course, I may be wrong, or there are ways to combine&use 2keys at once...
--
paolo
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/