• Home
  • Raw
  • Download

Lines Matching defs:dpp_authentication

246 struct dpp_authentication {  struct
247 struct dpp_global *global;
248 void *msg_ctx;
249 u8 peer_version;
250 const struct dpp_curve_params *curve;
251 struct dpp_bootstrap_info *peer_bi;
252 struct dpp_bootstrap_info *own_bi;
253 struct dpp_bootstrap_info *tmp_own_bi;
254 struct dpp_bootstrap_info *tmp_peer_bi;
255 u8 waiting_pubkey_hash[SHA256_MAC_LEN];
256 int response_pending;
257 int reconfig;
258 enum dpp_connector_key reconfig_connector_key;
259 enum dpp_status_error auth_resp_status;
260 enum dpp_status_error conf_resp_status;
261 enum dpp_status_error force_conf_resp_status;
262 u8 peer_mac_addr[ETH_ALEN];
263 u8 i_nonce[DPP_MAX_NONCE_LEN];
264 u8 r_nonce[DPP_MAX_NONCE_LEN];
265 u8 e_nonce[DPP_MAX_NONCE_LEN];
266 u8 c_nonce[DPP_MAX_NONCE_LEN];
267 u8 i_capab;
268 u8 r_capab;
269 enum dpp_netrole e_netrole;
270 EVP_PKEY *own_protocol_key;
271 EVP_PKEY *peer_protocol_key;
272 EVP_PKEY *reconfig_old_protocol_key;
273 struct wpabuf *req_msg;
274 struct wpabuf *resp_msg;
275 struct wpabuf *reconfig_req_msg;
276 struct wpabuf *reconfig_resp_msg;
279 unsigned int freq[DPP_BOOTSTRAP_MAX_FREQ];
280 unsigned int num_freq, freq_idx;
281 unsigned int curr_freq;
282 unsigned int neg_freq;
283 unsigned int num_freq_iters;
284 size_t secret_len;
285 u8 Mx[DPP_MAX_SHARED_SECRET_LEN];
286 size_t Mx_len;
287 u8 Nx[DPP_MAX_SHARED_SECRET_LEN];
288 size_t Nx_len;
289 u8 Lx[DPP_MAX_SHARED_SECRET_LEN];
290 size_t Lx_len;
291 u8 k1[DPP_MAX_HASH_LEN];
292 u8 k2[DPP_MAX_HASH_LEN];
293 u8 ke[DPP_MAX_HASH_LEN];
294 u8 bk[DPP_MAX_HASH_LEN];
295 int initiator;
296 int waiting_auth_resp;
297 int waiting_auth_conf;
298 int auth_req_ack;
299 unsigned int auth_resp_tries;
300 u8 allowed_roles;
301 int configurator;
302 int remove_on_tx_status;
303 int connect_on_tx_status;
304 int waiting_conf_result;
305 int waiting_conn_status_result;
306 int auth_success;
307 bool reconfig_success;
308 struct wpabuf *conf_req;
309 const struct wpabuf *conf_resp; /* owned by GAS server */
310 struct wpabuf *conf_resp_tcp;
311 struct dpp_configuration *conf_ap;
312 struct dpp_configuration *conf2_ap;
313 struct dpp_configuration *conf_sta;
314 struct dpp_configuration *conf2_sta;
315 int provision_configurator;
316 struct dpp_configurator *conf;
317 struct dpp_config_obj {
332 } conf_obj[DPP_MAX_CONF_OBJ];
333 unsigned int num_conf_obj;
334 struct dpp_asymmetric_key *conf_key_pkg;
335 struct wpabuf *net_access_key;
336 os_time_t net_access_key_expiry;
337 int send_conn_status;
338 int conn_status_requested;
339 int akm_use_selector;
340 int configurator_set;
341 u8 transaction_id;
342 u8 *csrattrs;
343 size_t csrattrs_len;
344 bool waiting_csr;
345 struct wpabuf *csr;
346 struct wpabuf *priv_key; /* DER-encoded private key used for csr */
347 bool waiting_cert;
348 char *trusted_eap_server_name;
349 struct wpabuf *cacert;
350 struct wpabuf *certbag;
351 void *cert_resp_ctx;
352 void *gas_server_ctx;
354 char *config_obj_override;
355 char *discovery_override;
356 char *groups_override;
357 unsigned int ignore_netaccesskey_mismatch:1;
359 unsigned short band_list[DPP_MAX_CHANNELS];
360 int band_list_size;