Lines Matching defs:key
136 * IV must not duplicate during the lifetime of the key.
139 * because the session key itself is shared. So we use a
178 * Add privacy headers appropriate for the specified key.
237 * the specified key.
345 wep_encrypt(struct ieee80211_key *key, struct mbuf *m0, int hdrlen)
348 struct wep_ctx *ctx = key->wk_private;
363 memcpy(rc4key + IEEE80211_WEP_IVLEN, key->wk_key, key->wk_keylen);
369 keylen = key->wk_keylen + IEEE80211_WEP_IVLEN;
428 wep_decrypt(struct ieee80211_key *key, struct mbuf *m0, int hdrlen)
431 struct wep_ctx *ctx = key->wk_private;
446 memcpy(rc4key + IEEE80211_WEP_IVLEN, key->wk_key, key->wk_keylen);
452 keylen = key->wk_keylen + IEEE80211_WEP_IVLEN;