/hostap-latest/src/crypto/ |
D | aes_i.h | 17 extern const u32 Te0[256]; 18 extern const u32 Te1[256]; 19 extern const u32 Te2[256]; 20 extern const u32 Te3[256]; 21 extern const u32 Te4[256]; 22 extern const u32 Td0[256]; 23 extern const u32 Td1[256]; 24 extern const u32 Td2[256]; 25 extern const u32 Td3[256]; 26 extern const u32 Td4[256]; [all …]
|
D | des-internal.c | 49 static const u32 bytebit[8] = 54 static const u32 bigbyte[24] = 88 static const u32 SP1[64] = 108 static const u32 SP2[64] = 128 static const u32 SP3[64] = 148 static const u32 SP4[64] = 168 static const u32 SP5[64] = 188 static const u32 SP6[64] = 208 static const u32 SP7[64] = 228 static const u32 SP8[64] = [all …]
|
D | aes-internal.c | 64 const u32 Te0[256] = { 131 const u32 Te1[256] = { 197 const u32 Te2[256] = { 263 const u32 Te3[256] = { 330 const u32 Te4[256] = { 397 const u32 Td0[256] = { 464 const u32 Td1[256] = { 530 const u32 Td2[256] = { 597 const u32 Td3[256] = { 663 const u32 Td4[256] = { [all …]
|
D | md5-internal.c | 17 static void MD5Transform(u32 buf[4], u32 const in[16]); 73 u32 t; in byteReverse() 75 t = (u32) ((unsigned) buf[3] << 8 | buf[2]) << 16 | in byteReverse() 77 *(u32 *) buf = t; in byteReverse() 104 u32 t; in MD5Update() 109 if ((ctx->bits[0] = t + ((u32) len << 3)) < t) in MD5Update() 127 MD5Transform(ctx->buf, (u32 *) ctx->in); in MD5Update() 136 MD5Transform(ctx->buf, (u32 *) ctx->in); in MD5Update() 171 MD5Transform(ctx->buf, (u32 *) ctx->in); in MD5Final() 182 ((u32 *) aliasing_hide_typecast(ctx->in, u32))[14] = ctx->bits[0]; in MD5Final() [all …]
|
D | des_i.h | 13 u32 ek[3][32]; 14 u32 dk[3][32]; 17 void des_key_setup(const u8 *key, u32 *ek, u32 *dk); 18 void des_block_encrypt(const u8 *plain, const u32 *ek, u8 *crypt); 19 void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain);
|
D | crypto_linux.c | 451 char buf[CMSG_SPACE(sizeof(u32))]; in linux_af_alg_skcipher_oper() 456 u32 *op; in linux_af_alg_skcipher_oper() 463 msg.msg_controllen = CMSG_SPACE(sizeof(u32)); in linux_af_alg_skcipher_oper() 469 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in linux_af_alg_skcipher_oper() 470 op = (u32 *) CMSG_DATA(hdr); in linux_af_alg_skcipher_oper() 542 char buf[CMSG_SPACE(sizeof(u32))]; in rc4_skip() 547 u32 *op; in rc4_skip() 565 msg.msg_controllen = CMSG_SPACE(sizeof(u32)); in rc4_skip() 571 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in rc4_skip() 572 op = (u32 *) CMSG_DATA(hdr); in rc4_skip() [all …]
|
D | sha1_i.h | 13 u32 state[5]; 14 u32 count[2]; 19 void SHA1Update(struct SHA1Context *context, const void *data, u32 len); 21 void SHA1Transform(u32 state[5], const unsigned char buffer[64]);
|
D | random.c | 49 static u32 pool[POOL_WORDS]; 69 static u32 __ROL32(u32 x, u32 y) in __ROL32() 80 static const u32 twist[8] = { in random_mix_pool() 85 u32 w; in random_mix_pool() 108 u32 *hash_ptr; in random_extract() 109 u32 buf[POOL_WORDS / 2]; in random_extract() 125 hash_ptr = (u32 *) hash; in random_extract()
|
D | md4-internal.c | 18 u32 state[4]; /* state */ 70 MD4Transform(u32 state[4], const u8 block[MD4_BLOCK_LENGTH]); 198 MD4Transform(u32 state[4], const u8 block[MD4_BLOCK_LENGTH]) in MD4Transform() 200 u32 a, b, c, d, in[MD4_BLOCK_LENGTH / 4]; in MD4Transform() 206 in[a] = (u32)( in MD4Transform() 207 (u32)(block[a * 4 + 0]) | in MD4Transform() 208 (u32)(block[a * 4 + 1]) << 8 | in MD4Transform() 209 (u32)(block[a * 4 + 2]) << 16 | in MD4Transform() 210 (u32)(block[a * 4 + 3]) << 24); in MD4Transform()
|
/hostap-latest/src/pae/ |
D | ieee802_1x_kay.h | 36 u32 kn; 68 u32 next_pn; 97 u32 next_pn; /* PN nextPN (read only) */ 126 u32 next_pn; /* PN nextPN (read only) */ 127 u32 lowest_pn; /* PN lowestPN (read only) */ 147 int (*set_replay_protect)(void *ctx, bool enabled, u32 window); 190 u32 macsec_replay_window; 193 u32 mka_hello_time; 195 u32 ltx_kn; 197 u32 lrx_kn; [all …]
|
/hostap-latest/src/radius/ |
D | radius_client.h | 89 u32 requests; 94 u32 retransmissions; 99 u32 access_accepts; 104 u32 access_rejects; 109 u32 access_challenges; 114 u32 responses; 119 u32 malformed_responses; 124 u32 bad_authenticators; 129 u32 timeouts; 134 u32 unknown_types; [all …]
|
/hostap-latest/src/drivers/ |
D | driver_hostap.h | 107 u32 dl_cmd; 108 u32 start_addr; 109 u32 num_areas; 111 u32 addr; /* wlan card address */ 112 u32 len; 152 u32 cmd; 161 u32 inactive_sec; 165 u32 flags; 166 u32 err; 173 u32 flags_and; [all …]
|
D | driver_macsec_qca.c | 70 u32 secy_id; 78 u32 replay_window; 260 static int macsec_qca_secy_id_get(const char *ifname, u32 *secy_id) in macsec_qca_secy_id_get() 369 const u8 *own_addr, u32 flags, int link_id) in macsec_qca_send_eapol() 520 u32 *channel) in macsec_qca_lookup_channel() 522 u32 i; in macsec_qca_lookup_channel() 538 u32 channel) in macsec_qca_register_channel() 546 u32 *channel) in macsec_qca_lookup_receive_channel() 555 u32 channel) in macsec_qca_register_receive_channel() 564 u32 *channel) in macsec_qca_lookup_transmit_channel() [all …]
|
D | priv_netlink.h | 80 u32 nl_pid; 81 u32 nl_groups; 86 u32 nlmsg_len; 89 u32 nlmsg_seq; 90 u32 nlmsg_pid;
|
/hostap-latest/wlantest/ |
D | writepcap.c | 115 u32 block_type; /* 0x0a0d0d0a */ 116 u32 block_total_len; 117 u32 byte_order_magic; 121 u32 block_total_len2; 125 u32 block_type; /* 0x00000001 */ 126 u32 block_total_len; 129 u32 snap_len; 130 u32 block_total_len2; 134 u32 block_type; /* 0x00000006 */ 135 u32 block_total_len; [all …]
|
D | wired.c | 19 static struct wlantest_radius * radius_get(struct wlantest *wt, u32 srv, in radius_get() 20 u32 cli) in radius_get() 68 static void process_radius_access_request(struct wlantest *wt, u32 dst, in process_radius_access_request() 69 u32 src, const u8 *data, size_t len) in process_radius_access_request() 104 static void process_radius_access_accept(struct wlantest *wt, u32 dst, u32 src, in process_radius_access_accept() 167 static void process_radius(struct wlantest *wt, u32 dst, u16 dport, u32 src, in process_radius() 203 static void process_udp(struct wlantest *wt, u32 dst, u32 src, in process_udp()
|
D | tkip.c | 38 static inline u16 Lo16(u32 val) in Lo16() 44 static inline u16 Hi16(u32 val) in Hi16() 108 static void tkip_mixing_phase1(u16 *TTAK, const u8 *TK, const u8 *TA, u32 IV32) in tkip_mixing_phase1() 173 static inline u32 rotl(u32 val, int bits) in rotl() 179 static inline u32 rotr(u32 val, int bits) in rotr() 185 static inline u32 xswap(u32 val) in xswap() 207 u32 l, r; in michael_mic() 297 u32 iv32; in tkip_decrypt() 302 u32 icv, rx_icv; in tkip_decrypt() 448 u32 iv32; in tkip_encrypt()
|
/hostap-latest/src/ap/ |
D | wpa_auth_i.h | 48 u32 TimeoutCtr; 49 u32 GTimeoutCtr; 126 u32 dot11RSNAStatsTKIPLocalMICFailures; 127 u32 dot11RSNAStatsTKIPRemoteMICFailures; 240 u32 dot11RSNAAuthenticationSuiteSelected; 241 u32 dot11RSNAPairwiseCipherSelected; 242 u32 dot11RSNAGroupCipherSelected; 244 u32 dot11RSNAAuthenticationSuiteRequested; /* FIX: update */ 245 u32 dot11RSNAPairwiseCipherRequested; /* FIX: update */ 246 u32 dot11RSNAGroupCipherRequested; /* FIX: update */ [all …]
|
/hostap-latest/src/common/ |
D | ptksa_cache.h | 24 u32 cipher; 29 u32 akmp; 38 const u8 *addr, u32 cipher); 42 const u8 *addr, u32 cipher, 43 u32 life_time, 47 void *ctx, u32 akmp); 48 void ptksa_cache_flush(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher);
|
D | ieee802_11_defs.h | 1281 #define TX_BF_CAP_IMPLICIT_TXBF_RX_CAP ((u32) BIT(0)) 1282 #define TX_BF_CAP_RX_STAGGERED_SOUNDING_CAP ((u32) BIT(1)) 1283 #define TX_BF_CAP_TX_STAGGERED_SOUNDING_CAP ((u32) BIT(2)) 1284 #define TX_BF_CAP_RX_NDP_CAP ((u32) BIT(3)) 1285 #define TX_BF_CAP_TX_NDP_CAP ((u32) BIT(4)) 1286 #define TX_BF_CAP_IMPLICIT_TX_BF_CAP ((u32) BIT(5)) 1287 #define TX_BF_CAP_CALIBRATION_MASK ((u32) (BIT(6) | BIT(7)) 1289 #define TX_BF_CAP_EXPLICIT_CSI_TXBF_CAP ((u32) BIT(8)) 1290 #define TX_BF_CAP_EXPLICIT_NONCOMPR_STEERING_CAP ((u32) BIT(9)) 1291 #define TX_BF_CAP_EXPLICIT_COMPR_STEERING_CAP ((u32) BIT(10)) [all …]
|
D | ptksa_cache.c | 138 const u8 *addr, u32 cipher) in ptksa_cache_get() 233 void ptksa_cache_flush(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher) in ptksa_cache_flush() 278 const u8 *addr, u32 cipher, in ptksa_cache_add() 279 u32 life_time, in ptksa_cache_add() 283 void *ctx, u32 akmp) in ptksa_cache_add() 362 ptksa_cache_get(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher) in ptksa_cache_get() 376 u32 cipher, u32 life_time, const struct wpa_ptk *ptk, in ptksa_cache_add() 377 void (*cb)(struct ptksa_cache_entry *e), void *ctx, u32 akmp) in ptksa_cache_add() 383 void ptksa_cache_flush(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher) in ptksa_cache_flush()
|
D | hw_features_common.h | 48 int center_segment1, u32 vht_caps, 54 int ieee80211ac_cap_check(u32 hw, u32 conf); 56 u32 num_chan_to_bw(int num_chans); 57 int chan_bw_allowed(const struct hostapd_channel_data *chan, u32 bw,
|
D | hw_features_common.c | 461 int center_segment1, u32 vht_caps, in hostapd_set_freq_params() 829 static int _ieee80211ac_cap_check(u32 hw, u32 conf, u32 cap, in _ieee80211ac_cap_check() 832 u32 req_cap = conf & cap; in _ieee80211ac_cap_check() 849 static int ieee80211ac_cap_check_max(u32 hw, u32 conf, u32 mask, in ieee80211ac_cap_check_max() 853 u32 hw_max = hw & mask; in ieee80211ac_cap_check_max() 854 u32 conf_val = conf & mask; in ieee80211ac_cap_check_max() 866 int ieee80211ac_cap_check(u32 hw, u32 conf) in ieee80211ac_cap_check() 911 u32 num_chan_to_bw(int num_chans) in num_chan_to_bw() 926 int chan_bw_allowed(const struct hostapd_channel_data *chan, u32 bw, in chan_bw_allowed() 929 u32 bw_mask; in chan_bw_allowed()
|
/hostap-latest/src/utils/ |
D | common.h | 90 typedef UINT32 u32; typedef 102 typedef UINT32 u32; typedef 119 typedef uint32_t u32; typedef 197 #define le_to_host32(n) ((__force u32) (le32) (n)) 198 #define host_to_le32(n) ((__force le32) (u32) (n)) 199 #define be_to_host32(n) bswap_32((__force u32) (be32) (n)) 253 static inline u32 WPA_GET_BE24(const u8 *a) in WPA_GET_BE24() 258 static inline void WPA_PUT_BE24(u8 *a, u32 val) in WPA_PUT_BE24() 265 static inline u32 WPA_GET_LE24(const u8 *a) in WPA_GET_LE24() 270 static inline void WPA_PUT_LE24(u8 *a, u32 val) in WPA_PUT_LE24() [all …]
|
/hostap-latest/src/fst/ |
D | fst_session.h | 28 void fst_session_set_llt(struct fst_session *s, u32 llt); 44 u32 fst_session_get_id(struct fst_session *s); 45 u32 fst_session_get_llt(struct fst_session *s); 48 struct fst_session *fst_session_get_by_id(u32 id); 67 #define FST_FSTS_ID_NOT_FOUND ((u32) -1) 74 u32 fst_test_req_get_fsts_id(const char *params);
|