Home
last modified time | relevance | path

Searched refs:ciphermap (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_crypto.c359 static const uint8_t ciphermap[] = { in ieee80211_crypto_getciphertype() local
376 ASSERT(cipher < IEEE80211_N(ciphermap)); in ieee80211_crypto_getciphertype()
377 return (ciphermap[cipher]); in ieee80211_crypto_getciphertype()
/illumos-gate/usr/src/uts/common/io/ath/
H A Dath_aux.c923 static const uint8_t ciphermap[] = { in ath_key_set() local
943 ASSERT(cip->ic_cipher < ATH_N(ciphermap)); in ath_key_set()
944 hk.kv_type = ciphermap[cip->ic_cipher]; in ath_key_set()
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_xmit.c1773 static const uint8_t ciphermap[] = { in arn_tx_get_keytype() local
1782 ASSERT(cip->ic_cipher < ARRAY_SIZE(ciphermap)); in arn_tx_get_keytype()
1785 if (ciphermap[index] == ATH9K_CIPHER_WEP) in arn_tx_get_keytype()
1787 else if (ciphermap[index] == ATH9K_CIPHER_TKIP) in arn_tx_get_keytype()
1789 else if (ciphermap[index] == ATH9K_CIPHER_AES_CCM) in arn_tx_get_keytype()
H A Darn_main.c1982 static const uint8_t ciphermap[] = { in arn_key_set() local
2000 hk.kv_type = ciphermap[cip->ic_cipher]; in arn_key_set()