On Fri, 2006-01-20 at 13:24 +0800, Zhu Yi wrote:

> This patch is based on your patch (mentioned above). It changes the
> build_iv() interface to add two more parameters. Because for TKIP, the
> encryption key is changed everytime an IV is built. Since the IV is
> built by software, we have to return the new key to hardware. So the
> hardware can encryption the packet correctly.

Yeah, makes sense.

> For WEP or even CCMP, the encryption key is not changed together with
> build_iv. So we can simply pass the key and key_len parameters to NULL
> and 0. And your WEP implementation can safetly ignore the two
> parameters. I think it is what I do with the patch. Let me know if it
> doesn't work for you.

Should be fine, but I'll have to try. I somehow got confused about what
this was based on and what it applied against, sorry about that.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to