Searched refs:cipher (Results 1 - 21 of 21) sorted by relevance

/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/
H A Dif_rtwn_tx.c88 uint8_t cipher; local
92 cipher = RTWN_TXDW1_CIPHER_NONE;
96 cipher = RTWN_TXDW1_CIPHER_RC4;
99 cipher = RTWN_TXDW1_CIPHER_AES;
102 KASSERT(0, ("%s: unknown cipher %d\n", __func__,
107 return (cipher);
122 u_int cipher; local
157 cipher = IEEE80211_CIPHER_NONE;
166 cipher = k->wk_cipher->ic_cipher;
175 txd->txdw1 = htole32(SM(RTWN_TXDW1_CIPHER, rtwn_get_cipher(cipher)));
201 u_int cipher; local
[all...]
H A Dif_rtwn_rx.c247 int cipher, infosz, is_cck, pktlen, shift; local
252 cipher = MS(rxdw0, RTWN_RXDW0_CIPHER);
259 cipher != R92C_CAM_ALGO_NONE)
/haiku/headers/os/net/
H A DNetworkDevice.h22 // cipher algorithms
64 uint32 cipher; member in struct:wireless_network
75 && cipher == other.cipher
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_crypto.c56 * Table of registered cipher modules.
173 * This is useful especially for the cipher test modules.
192 * Register a crypto cipher module.
198 printf("%s: cipher %s has an invalid cipher index %u\n",
203 printf("%s: cipher %s registered with a different template\n",
211 * Unregister a crypto cipher module.
217 printf("%s: cipher %s has an invalid cipher index %u\n",
222 printf("%s: cipher
232 ieee80211_crypto_available(u_int cipher) argument
264 ieee80211_crypto_newkey(struct ieee80211vap *vap, int cipher, int flags, struct ieee80211_key *key) argument
[all...]
H A Dieee80211_crypto.h48 uint8_t rsn_mcastcipher; /* mcast/group cipher */
50 uint8_t rsn_ucastcipher; /* selected unicast cipher */
61 * separately through loadable cipher modules that register with
63 * of the cipher; any per-key state is hung off wk_private by the
64 * cipher when it is attached. Ciphers are automatically called
67 * The generic crypto support handles encap/decap of cipher-related
70 * the cipher is expected to honor this and do the necessary work.
90 #define IEEE80211_KEY_CIPHER0 0x00001000 /* cipher-specific action 0 */
91 #define IEEE80211_KEY_CIPHER1 0x00002000 /* cipher-specific action 1 */
106 void *wk_private; /* private cipher stat
[all...]
H A Dieee80211_hostap.c683 * crypto cipher modules used to do delayed update
1167 * Convert a WPA cipher selector OUI to an internal
1168 * cipher algorithm. Where appropriate we also
1172 wpa_cipher(const uint8_t *sel, uint8_t *keylen, uint8_t *cipher) argument
1179 *cipher = IEEE80211_CIPHER_NONE;
1184 *cipher = IEEE80211_CIPHER_WEP;
1189 *cipher = IEEE80211_CIPHER_WEP;
1192 *cipher = IEEE80211_CIPHER_TKIP;
1195 *cipher = IEEE80211_CIPHER_AES_CCM;
1243 * version, mcast cipher, an
1294 uint8_t cipher; local
1347 rsn_cipher(const uint8_t *sel, uint8_t *keylen, uint8_t *cipher) argument
1479 uint8_t cipher; local
[all...]
/haiku/src/kits/network/libnetapi/
H A DNetworkSettings.cpp100 {B_STRING_TYPE, "cipher", NULL},
750 uint32 cipher = 0; local
751 result = message.FindUInt32("cipher", &cipher);
753 message.RemoveName("cipher");
755 if ((cipher & B_NETWORK_CIPHER_NONE) != 0)
756 message.AddString("cipher", "none");
757 if ((cipher & B_NETWORK_CIPHER_TKIP) != 0)
758 message.AddString("cipher", "tkip");
759 if ((cipher
817 uint32 cipher = 0; local
[all...]
H A DNetworkRoster.cpp216 if (networkMessage.FindUInt32("cipher", &network.cipher) != B_OK)
217 network.cipher = B_NETWORK_CIPHER_NONE;
250 status = message.AddUInt32("cipher", network.cipher);
H A DNetworkDevice.cpp151 from_rsn_cipher(uint32 cipher) argument
153 if ((cipher & 0xffffff) != RSN_OUI)
156 switch (cipher >> 24) {
204 // parse group cipher
210 // parse unicast cipher
212 network.cipher = 0;
217 network.cipher |= from_rsn_cipher(read_le32(data, length));
244 network.cipher = B_NETWORK_CIPHER_CCMP;
282 network.cipher = B_NETWORK_CIPHER_TKIP;
332 if ((network.cipher
[all...]
/haiku/src/tests/kits/net/
H A Dwlan_test.cpp48 network.authentication_mode), network.cipher, network.key_mode,
/haiku/src/bin/network/ifconfig/
H A Difconfig.cpp226 get_cipher(uint32 cipher) argument
228 if ((cipher & B_NETWORK_CIPHER_AES_128_CMAC) != 0)
230 if ((cipher & B_NETWORK_CIPHER_CCMP) != 0)
232 if ((cipher & B_NETWORK_CIPHER_TKIP) != 0)
234 if ((cipher & B_NETWORK_CIPHER_WEP_104) != 0)
236 if ((cipher & B_NETWORK_CIPHER_WEP_40) != 0)
562 printf(", %s/%s", keyMode, get_cipher(network.cipher));
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300_freebsd.h58 u_int keyIx, HAL_CIPHER cipher, uint8_t numDelims,
H A Dar9300_freebsd.c815 HAL_CIPHER cipher, uint8_t numDelims,
812 ar9300_freebsd_chain_tx_desc(struct ath_hal *ah, struct ath_desc *ds, HAL_DMA_ADDR *bufLenList, uint32_t *segLenList, u_int pktLen, u_int hdrLen, HAL_PKT_TYPE type, u_int keyIx, HAL_CIPHER cipher, uint8_t numDelims, HAL_BOOL firstSeg, HAL_BOOL lastSeg, HAL_BOOL lastAggr) argument
/haiku/src/servers/net/
H A DNetServer.cpp1048 network.cipher = 0;
1063 network.cipher = network.group_cipher = B_NETWORK_CIPHER_CCMP;
1067 network.cipher = network.group_cipher = B_NETWORK_CIPHER_TKIP;
1071 network.cipher = network.group_cipher = B_NETWORK_CIPHER_WEP_40;
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_crypto.c115 * Return the length in bytes of a cipher suite key (see Table 60).
118 ieee80211_cipher_keylen(enum ieee80211_cipher cipher) argument
120 switch (cipher) {
131 default: /* unknown cipher */
261 panic("%s: key unset for sw crypto: id=%d cipher=%d flags=0x%x",
280 panic("invalid key cipher 0x%x", k->k_cipher);
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/usb/wlan/
H A Dif_rum.c1339 * Map net80211 cipher to RT2573 security mode.
1342 rum_crypto_mode(struct rum_softc *sc, u_int cipher, int keylen) argument
1344 switch (cipher) {
1352 device_printf(sc->sc_dev, "unknown cipher %d\n", cipher);
1461 u_int cipher; local
1466 cipher = k->wk_cipher->ic_cipher;
1468 mode = rum_crypto_mode(sc, cipher, k->wk_keylen);
1483 if (cipher == IEEE80211_CIPHER_TKIP)
2910 /* Set cipher mod
[all...]
H A Dif_run.c2364 u_int cipher = k->wk_cipher->ic_cipher; local
2377 /* map net80211 cipher to RT2860 security mode */
2378 switch (cipher) {
2412 if (cipher == IEEE80211_CIPHER_TKIP) {
2428 if (cipher == IEEE80211_CIPHER_WEP) {
2432 if (cipher == IEEE80211_CIPHER_TKIP) {
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/
H A Dar5416.h399 HAL_CIPHER cipher, uint8_t delims,
H A Dar5416_xmit.c522 * NB: cipher is no longer used, it's calculated.
532 HAL_CIPHER cipher,
525 ar5416ChainTxDesc(struct ath_hal *ah, struct ath_desc *ds, HAL_DMA_ADDR *bufAddrList, uint32_t *segLenList, u_int pktLen, u_int hdrLen, HAL_PKT_TYPE type, u_int keyIx, HAL_CIPHER cipher, uint8_t delims, HAL_BOOL firstSeg, HAL_BOOL lastSeg, HAL_BOOL lastAggr) argument
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/
H A Dif_iwmreg.h990 * struct iwm_fw_cipher_scheme - a cipher scheme supported by FW.
991 * @cipher: a cipher suite selector
992 * @flags: cipher scheme flags (currently reserved for a future use)
1000 * @hw_cipher: a HW cipher index used in host commands
1003 uint32_t cipher; member in struct:iwm_fw_cipher_scheme
1016 * struct iwm_fw_cscheme_list - a cipher scheme list
1018 * @cs: cipher scheme entries
6119 * @IWM_STA_KEY_FLG_EXT: extended cipher algorithm (depends on the FW support)
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/
H A Dif_iwxreg.h1458 * struct iwx_fw_cipher_scheme - a cipher scheme supported by FW.
1459 * @cipher: a cipher suite selector
1460 * @flags: cipher scheme flags (currently reserved for a future use)
1468 * @hw_cipher: a HW cipher index used in host commands
1471 uint32_t cipher; member in struct:iwx_fw_cipher_scheme
1484 * struct iwx_fw_cscheme_list - a cipher scheme list
1486 * @cs: cipher scheme entries
7280 * @IWX_STA_KEY_FLG_EXT: extended cipher algorithm (depends on the FW support)

Completed in 179 milliseconds