Home
last modified time | relevance | path

Searched refs:wk_keylen (Results 1 – 14 of 14) sorted by relevance

/titanic_44/usr/src/uts/common/io/net80211/
H A Dnet80211_crypto_wep.c119 return (k->wk_keylen == 40/NBBY || k->wk_keylen == 104/NBBY); in wep_setkey()
240 key->wk_keylen); in wep_encrypt()
244 IEEE80211_WEP_IVLEN + key->wk_keylen); in wep_encrypt()
287 key->wk_keylen); in wep_decrypt()
291 IEEE80211_WEP_IVLEN + key->wk_keylen); in wep_decrypt()
H A Dnet80211_crypto_ccmp.c109 if (k->wk_keylen != (128/NBBY)) in ccmp_setkey()
447 key->wk_key, key->wk_keylen, in ccmp_encrypt()
478 key->wk_key, key->wk_keylen, pos, data_len, pos, data_len); in ccmp_decrypt()
H A Dnet80211_crypto.c323 ieee80211_macaddr_sprintf(macaddr), key->wk_keylen); in ieee80211_crypto_setkey()
332 cip->ic_name, key->wk_keyix, key->wk_keylen, in ieee80211_crypto_setkey()
H A Dnet80211_ioctl.c918 ic->ic_nw_keys[i].wk_keylen = 0; in wifi_loaddefdata()
2055 key->wk_keylen = (uint8_t)klen; in wl_set_wepkey()
2256 wk->wk_keylen = ik.ik_keylen; in wl_set_wpakey()
2258 if (wk->wk_keylen > IEEE80211_KEYBUF_SIZE) in wl_set_wpakey()
2259 wk->wk_keylen = IEEE80211_KEYBUF_SIZE; in wl_set_wpakey()
H A Dnet80211_crypto_tkip.c126 if (k->wk_keylen != (128/NBBY)) in tkip_setkey()
/titanic_44/usr/src/uts/common/sys/
H A Dnet80211_crypto.h171 uint8_t wk_keylen; /* key length in bytes */ member
/titanic_44/usr/src/uts/common/io/atu/
H A Datu.c334 switch (k->wk_keylen) { in atu_config()
343 sc->sc_name, k->wk_keylen); in atu_config()
351 if (k->wk_keylen == 0) in atu_config()
353 bcopy(k->wk_key, cmd.WEP_DefaultKey + i, k->wk_keylen); in atu_config()
/titanic_44/usr/src/uts/common/io/ath/
H A Dath_aux.c945 hk.kv_len = k->wk_keylen; in ath_key_set()
946 bcopy(k->wk_key, hk.kv_val, k->wk_keylen); in ath_key_set()
/titanic_44/usr/src/uts/common/io/ipw/
H A Dipw2100.c943 if (ic->ic_nw_keys[i].wk_keylen == 0) in ipw2100_config()
946 wkey.len = ic->ic_nw_keys[i].wk_keylen; in ipw2100_config()
948 if (ic->ic_nw_keys[i].wk_keylen) in ipw2100_config()
951 ic->ic_nw_keys[i].wk_keylen); in ipw2100_config()
/titanic_44/usr/src/uts/common/io/iwi/
H A Dipw2200.c950 wkey.len = ic->ic_nw_keys[i].wk_keylen; in ipw2200_config()
952 if (ic->ic_nw_keys[i].wk_keylen) in ipw2200_config()
955 ic->ic_nw_keys[i].wk_keylen); in ipw2200_config()
/titanic_44/usr/src/uts/common/io/mwl/
H A Dmwl.c2344 hk.keyLen = k->wk_keylen; in mwl_key_set()
2357 hk.keyLen = k->wk_keylen + IEEE80211_MICBUF_SIZE; in mwl_key_set()
2363 hk.keyLen = k->wk_keylen; in mwl_key_set()
/titanic_44/usr/src/uts/common/io/arn/
H A Darn_main.c2048 hk.kv_len = k->wk_keylen; in arn_key_set()
2049 bcopy(k->wk_key, hk.kv_val, k->wk_keylen); in arn_key_set()
/titanic_44/usr/src/uts/common/io/wpi/
H A Dwpi.c1442 (void) memcpy(node.key, k->wk_key, k->wk_keylen); in wpi_key_set()
2174 (void) memcpy(&tx->key, k->wk_key, k->wk_keylen);
/titanic_44/usr/src/uts/common/io/iwk/
H A Diwk2.c1887 k->wk_key, k->wk_keylen); in iwk_key_set()
1923 (void) memcpy(node.key, k->wk_key, k->wk_keylen); in iwk_key_set()
2782 (void) memcpy(&tx->key, k->wk_key, k->wk_keylen); in iwk_send()