Home
last modified time | relevance | path

Searched refs:u8 (Results 1 – 25 of 861) sorted by relevance

12345678910>>...35

/external/wpa_supplicant_8/src/common/
Dieee802_11_common.h14 const u8 *ssid;
15 const u8 *supp_rates;
16 const u8 *ds_params;
17 const u8 *challenge;
18 const u8 *erp_info;
19 const u8 *ext_supp_rates;
20 const u8 *wpa_ie;
21 const u8 *rsn_ie;
22 const u8 *wmm; /* WMM Information or Parameter Element */
23 const u8 *wmm_tspec;
[all …]
Dwpa_common.h107 #define RSN_SELECTOR_PUT(a, val) WPA_PUT_BE32((u8 *) (a), (val))
108 #define RSN_SELECTOR_GET(a) WPA_GET_BE32((const u8 *) (a))
171 u8 type;
173 u8 key_info[2]; /* big endian */
174 u8 key_length[2]; /* big endian */
175 u8 replay_counter[WPA_REPLAY_COUNTER_LEN];
176 u8 key_nonce[WPA_NONCE_LEN];
177 u8 key_iv[16];
178 u8 key_rsc[WPA_KEY_RSC_LEN];
179 u8 key_id[8]; /* Reserved in IEEE 802.11i/RSN */
[all …]
Dcommon_module_tests.c19 u8 *data;
26 { (u8 *) "", 0, ParseOK, 0 },
27 { (u8 *) " ", 1, ParseFailed, 0 },
28 { (u8 *) "\xff\x00", 2, ParseUnknown, 1 },
29 { (u8 *) "\xff\x01", 2, ParseFailed, 0 },
30 { (u8 *) "\xdd\x03\x01\x02\x03", 5, ParseUnknown, 1 },
31 { (u8 *) "\xdd\x04\x01\x02\x03\x04", 6, ParseUnknown, 1 },
32 { (u8 *) "\xdd\x04\x00\x50\xf2\x02", 6, ParseUnknown, 1 },
33 { (u8 *) "\xdd\x05\x00\x50\xf2\x02\x02", 7, ParseOK, 1 },
34 { (u8 *) "\xdd\x05\x00\x50\xf2\x02\xff", 7, ParseUnknown, 1 },
[all …]
Dieee802_11_defs.h446 u8 addr1[6];
447 u8 addr2[6];
448 u8 addr3[6];
465 u8 da[6];
466 u8 sa[6];
467 u8 bssid[6];
475 u8 variable[];
479 u8 variable[];
485 u8 variable[];
492 u8 variable[];
[all …]
/external/wpa_supplicant_8/src/wps/
Dwps_attr_parse.h16 const u8 *version; /* 1 octet */
17 const u8 *version2; /* 1 octet */
18 const u8 *msg_type; /* 1 octet */
19 const u8 *enrollee_nonce; /* WPS_NONCE_LEN (16) octets */
20 const u8 *registrar_nonce; /* WPS_NONCE_LEN (16) octets */
21 const u8 *uuid_r; /* WPS_UUID_LEN (16) octets */
22 const u8 *uuid_e; /* WPS_UUID_LEN (16) octets */
23 const u8 *auth_type_flags; /* 2 octets */
24 const u8 *encr_type_flags; /* 2 octets */
25 const u8 *conn_type_flags; /* 1 octet */
[all …]
Dwps.h48 u8 ssid[SSID_MAX_LEN];
52 u8 key_idx;
53 u8 key[64];
55 u8 mac_addr[ETH_ALEN];
56 const u8 *cred_attr;
86 u8 mac_addr[ETH_ALEN];
92 u8 pri_dev_type[WPS_DEV_TYPE_LEN];
94 u8 sec_dev_type[WPS_SEC_DEVICE_TYPES][WPS_DEV_TYPE_LEN];
95 u8 num_sec_dev_types;
97 u8 rf_bands;
[all …]
/external/wpa_supplicant_8/src/p2p/
Dp2p_i.h57 u8 interface_addr[ETH_ALEN];
63 u8 member_in_go_dev[ETH_ALEN];
69 u8 member_in_go_iface[ETH_ALEN];
73 u8 dialog_token;
74 u8 tie_breaker;
75 u8 intended_addr[ETH_ALEN];
80 u8 oper_ssid[SSID_MAX_LEN];
129 u8 go_timeout;
130 u8 client_timeout;
135 u8 go_neg_conf_sent;
[all …]
Dp2p.h46 u8 reg_class;
51 u8 channel[P2P_MAX_REG_CLASS_CHANNELS];
99 u8 ssid[SSID_MAX_LEN];
109 u8 psk[32];
124 u8 peer_device_addr[ETH_ALEN];
129 u8 peer_interface_addr[ETH_ALEN];
181 u8 conncap;
186 u8 role;
191 u8 session_mac[ETH_ALEN];
196 u8 adv_mac[ETH_ALEN];
[all …]
/external/wpa_supplicant_8/src/eap_common/
Deap_sim_common.h74 void eap_sim_derive_mk(const u8 *identity, size_t identity_len,
75 const u8 *nonce_mt, u16 selected_version,
76 const u8 *ver_list, size_t ver_list_len,
77 int num_chal, const u8 *kc, u8 *mk);
78 void eap_aka_derive_mk(const u8 *identity, size_t identity_len,
79 const u8 *ik, const u8 *ck, u8 *mk);
80 int eap_sim_derive_keys(const u8 *mk, u8 *k_encr, u8 *k_aut, u8 *msk,
81 u8 *emsk);
83 const u8 *identity, size_t identity_len,
84 const u8 *nonce_s, const u8 *mk, u8 *msk,
[all …]
Dikev2_common.h27 u8 i_spi[IKEV2_SPI_LEN]; /* IKE_SA Initiator's SPI */
28 u8 r_spi[IKEV2_SPI_LEN]; /* IKE_SA Responder's SPI */
29 u8 next_payload;
30 u8 version; /* MjVer | MnVer */
31 u8 exchange_type;
32 u8 flags;
33 u8 message_id[4];
34 u8 length[4]; /* total length of HDR + payloads */
38 u8 next_payload;
39 u8 flags;
[all …]
Deap_eke_common.h63 u8 dhgroup;
64 u8 encr;
65 u8 prf;
66 u8 mac;
68 u8 shared_secret[EAP_EKE_MAX_HASH_LEN];
69 u8 ke[EAP_EKE_MAX_KE_LEN];
70 u8 ki[EAP_EKE_MAX_KI_LEN];
71 u8 ka[EAP_EKE_MAX_KA_LEN];
81 int eap_eke_session_init(struct eap_eke_session *sess, u8 dhgroup, u8 encr,
82 u8 prf, u8 mac);
[all …]
Deap_sake_common.h48 u8 version; /* EAP_SAKE_VERSION */
49 u8 session_id;
50 u8 subtype;
59 const u8 *rand_s;
60 const u8 *rand_p;
61 const u8 *mic_s;
62 const u8 *mic_p;
63 const u8 *serverid;
65 const u8 *peerid;
67 const u8 *spi_s;
[all …]
/external/wpa_supplicant_8/src/crypto/
Daes_wrap.h21 int __must_check aes_wrap(const u8 *kek, size_t kek_len, int n, const u8 *plain,
22 u8 *cipher);
23 int __must_check aes_unwrap(const u8 *kek, size_t kek_len, int n,
24 const u8 *cipher, u8 *plain);
25 int __must_check omac1_aes_vector(const u8 *key, size_t key_len,
26 size_t num_elem, const u8 *addr[],
27 const size_t *len, u8 *mac);
28 int __must_check omac1_aes_128_vector(const u8 *key, size_t num_elem,
29 const u8 *addr[], const size_t *len,
30 u8 *mac);
[all …]
Dms_funcs.h12 int generate_nt_response(const u8 *auth_challenge, const u8 *peer_challenge,
13 const u8 *username, size_t username_len,
14 const u8 *password, size_t password_len,
15 u8 *response);
16 int generate_nt_response_pwhash(const u8 *auth_challenge,
17 const u8 *peer_challenge,
18 const u8 *username, size_t username_len,
19 const u8 *password_hash,
20 u8 *response);
21 int generate_authenticator_response(const u8 *password, size_t password_len,
[all …]
Dmilenage.h12 void milenage_generate(const u8 *opc, const u8 *amf, const u8 *k,
13 const u8 *sqn, const u8 *_rand, u8 *autn, u8 *ik,
14 u8 *ck, u8 *res, size_t *res_len);
15 int milenage_auts(const u8 *opc, const u8 *k, const u8 *_rand, const u8 *auts,
16 u8 *sqn);
17 int gsm_milenage(const u8 *opc, const u8 *k, const u8 *_rand, u8 *sres,
18 u8 *kc);
19 int milenage_check(const u8 *opc, const u8 *k, const u8 *sqn, const u8 *_rand,
20 const u8 *autn, u8 *ik, u8 *ck, u8 *res, size_t *res_len,
21 u8 *auts);
[all …]
Dms_funcs.c25 static int utf8_to_ucs2(const u8 *utf8_string, size_t utf8_string_len, in utf8_to_ucs2()
26 u8 *ucs2_buffer, size_t ucs2_buffer_size, in utf8_to_ucs2()
32 u8 c = utf8_string[i]; in utf8_to_ucs2()
45 u8 c2 = utf8_string[++i]; in utf8_to_ucs2()
57 u8 c3 = utf8_string[++i]; in utf8_to_ucs2()
81 int challenge_hash(const u8 *peer_challenge, const u8 *auth_challenge, in challenge_hash()
82 const u8 *username, size_t username_len, u8 *challenge) in challenge_hash()
84 u8 hash[SHA1_MAC_LEN]; in challenge_hash()
109 int nt_password_hash(const u8 *password, size_t password_len, in nt_password_hash()
110 u8 *password_hash) in nt_password_hash()
[all …]
/external/wpa_supplicant_8/src/ap/
Dwpa_auth.h24 u8 frame_type; /* RSN_REMOTE_FRAME_TYPE_FT_RRB */
25 u8 packet_type; /* FT_PACKET_REQUEST/FT_PACKET_RESPONSE */
27 u8 ap_address[ETH_ALEN];
49 u8 frame_type; /* RSN_REMOTE_FRAME_TYPE_FT_RRB */
50 u8 packet_type; /* FT_PACKET_R0KH_R1KH_PULL */
52 u8 ap_address[ETH_ALEN];
54 u8 nonce[FT_R0KH_R1KH_PULL_NONCE_LEN];
55 u8 pmk_r0_name[WPA_PMK_NAME_LEN];
56 u8 r1kh_id[FT_R1KH_ID_LEN];
57 u8 s1kh_id[ETH_ALEN];
[all …]
Dieee802_11.h20 int ieee802_11_mgmt(struct hostapd_data *hapd, const u8 *buf, size_t len,
22 void ieee802_11_mgmt_cb(struct hostapd_data *hapd, const u8 *buf, size_t len,
46 u8 * hostapd_eid_ext_capab(struct hostapd_data *hapd, u8 *eid);
47 u8 * hostapd_eid_qos_map_set(struct hostapd_data *hapd, u8 *eid);
48 u8 * hostapd_eid_supp_rates(struct hostapd_data *hapd, u8 *eid);
49 u8 * hostapd_eid_ext_supp_rates(struct hostapd_data *hapd, u8 *eid);
50 u8 * hostapd_eid_ht_capabilities(struct hostapd_data *hapd, u8 *eid);
51 u8 * hostapd_eid_ht_operation(struct hostapd_data *hapd, u8 *eid);
52 u8 * hostapd_eid_vht_capabilities(struct hostapd_data *hapd, u8 *eid);
53 u8 * hostapd_eid_vht_operation(struct hostapd_data *hapd, u8 *eid);
[all …]
Dap_config.h23 u8 meshid[32];
24 u8 meshid_len;
26 u8 mesh_pp_id;
28 u8 mesh_pm_id;
30 u8 mesh_cc_id;
32 u8 mesh_sp_id;
34 u8 mesh_auth_id;
35 u8 *ies;
50 typedef u8 macaddr[ETH_ALEN];
63 u8 idx;
[all …]
Dwpa_auth_i.h19 u8 initiator[ETH_ALEN];
20 u8 peer[ETH_ALEN];
28 u8 addr[ETH_ALEN];
29 u8 p2p_dev_addr[ETH_ALEN];
59 u8 ANonce[WPA_NONCE_LEN];
60 u8 SNonce[WPA_NONCE_LEN];
61 u8 alt_SNonce[WPA_NONCE_LEN];
62 u8 alt_replay_counter[WPA_REPLAY_COUNTER_LEN];
63 u8 PMK[PMK_LEN];
70 u8 counter[WPA_REPLAY_COUNTER_LEN];
[all …]
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa.h30 const u8 *addr, int key_idx, int set_tx,
31 const u8 *seq, size_t seq_len,
32 const u8 *key, size_t key_len);
34 int (*get_bssid)(void *ctx, u8 *bssid);
35 int (*ether_send)(void *ctx, const u8 *dest, u16 proto, const u8 *buf,
39 u8 * (*alloc_eapol)(void *ctx, u8 type, const void *data, u16 data_len,
41 int (*add_pmkid)(void *ctx, const u8 *bssid, const u8 *pmkid);
42 int (*remove_pmkid)(void *ctx, const u8 *bssid, const u8 *pmkid);
46 int (*mlme_setprotection)(void *ctx, const u8 *addr,
48 int (*update_ft_ies)(void *ctx, const u8 *md, const u8 *ies,
[all …]
Dwpa_ie.h15 const u8 *wpa_ie;
17 const u8 *rsn_ie;
19 const u8 *pmkid;
20 const u8 *gtk;
22 const u8 *mac_addr;
25 const u8 *smk;
27 const u8 *nonce;
29 const u8 *lifetime;
31 const u8 *error;
35 const u8 *igtk;
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver.h92 u8 max_tx_power;
160 u8 mcs_set[16];
165 u8 a_mpdu_params;
175 u8 vht_mcs_set[8];
239 u8 bssid[ETH_ALEN];
300 const u8 *ssid;
316 const u8 *extra_ies;
345 u8 ssid[SSID_MAX_LEN];
398 const u8 *mac_addr;
408 const u8 *mac_addr_mask;
[all …]
/external/libhevc/common/arm/
Dihevc_inter_pred_filters_luma_vert.s123 vld1.u8 {d0},[r12] @coeff = vld1_s8(pi1_coeff)
130 vdup.u8 d22,d0[0] @coeffabs_0 = vdup_lane_u8(coeffabs, 0)@
132 vdup.u8 d23,d0[1] @coeffabs_1 = vdup_lane_u8(coeffabs, 1)@
133 vdup.u8 d24,d0[2] @coeffabs_2 = vdup_lane_u8(coeffabs, 2)@
134 vdup.u8 d25,d0[3] @coeffabs_3 = vdup_lane_u8(coeffabs, 3)@
135 vdup.u8 d26,d0[4] @coeffabs_4 = vdup_lane_u8(coeffabs, 4)@
136 vdup.u8 d27,d0[5] @coeffabs_5 = vdup_lane_u8(coeffabs, 5)@
137 vdup.u8 d28,d0[6] @coeffabs_6 = vdup_lane_u8(coeffabs, 6)@
138 vdup.u8 d29,d0[7] @coeffabs_7 = vdup_lane_u8(coeffabs, 7)@
154 vld1.u8 {d1},[r3],r2 @src_tmp2 = vld1_u8(pu1_src_tmp)@
[all …]
/external/wpa_supplicant_8/src/radius/
Dradius.h19 u8 code;
20 u8 identifier;
22 u8 authenticator[16];
44 u8 type;
45 u8 length; /* including this header */
166 u8 vendor_type;
167 u8 vendor_length;
197 u8 *send;
199 u8 *recv;
221 struct radius_msg * radius_msg_new(u8 code, u8 identifier);
[all …]

12345678910>>...35