• Home
  • Raw
  • Download

Lines Matching defs:dpp_authentication

282 struct dpp_authentication {  struct
283 struct dpp_global *global;
284 void *msg_ctx;
285 u8 peer_version;
286 const struct dpp_curve_params *curve;
287 const struct dpp_curve_params *new_curve;
288 struct dpp_bootstrap_info *peer_bi;
289 struct dpp_bootstrap_info *own_bi;
290 struct dpp_bootstrap_info *tmp_own_bi;
291 struct dpp_bootstrap_info *tmp_peer_bi;
292 u8 waiting_pubkey_hash[SHA256_MAC_LEN];
293 int response_pending;
294 int reconfig;
295 enum dpp_connector_key reconfig_connector_key;
296 enum dpp_status_error auth_resp_status;
297 enum dpp_status_error conf_resp_status;
298 enum dpp_status_error force_conf_resp_status;
299 enum dpp_status_error conn_result_status;
300 u8 peer_mac_addr[ETH_ALEN];
301 u8 i_nonce[DPP_MAX_NONCE_LEN];
302 u8 r_nonce[DPP_MAX_NONCE_LEN];
303 u8 e_nonce[DPP_MAX_NONCE_LEN];
304 u8 c_nonce[DPP_MAX_NONCE_LEN];
305 u8 i_capab;
306 u8 r_capab;
307 enum dpp_netrole e_netrole;
308 struct crypto_ec_key *own_protocol_key;
309 struct crypto_ec_key *peer_protocol_key;
310 struct crypto_ec_key *reconfig_old_protocol_key;
311 struct wpabuf *req_msg;
312 struct wpabuf *resp_msg;
313 struct wpabuf *reconfig_req_msg;
314 struct wpabuf *reconfig_resp_msg;
317 unsigned int freq[DPP_BOOTSTRAP_MAX_FREQ];
318 unsigned int num_freq, freq_idx;
319 unsigned int curr_freq;
320 unsigned int neg_freq;
321 unsigned int num_freq_iters;
322 size_t secret_len;
323 u8 Mx[DPP_MAX_SHARED_SECRET_LEN];
324 size_t Mx_len;
325 u8 Nx[DPP_MAX_SHARED_SECRET_LEN];
326 size_t Nx_len;
327 u8 Lx[DPP_MAX_SHARED_SECRET_LEN];
328 size_t Lx_len;
329 u8 k1[DPP_MAX_HASH_LEN];
330 u8 k2[DPP_MAX_HASH_LEN];
331 u8 ke[DPP_MAX_HASH_LEN];
332 u8 bk[DPP_MAX_HASH_LEN];
333 int initiator;
334 int waiting_auth_resp;
335 int waiting_auth_conf;
336 int auth_req_ack;
337 unsigned int auth_resp_tries;
338 u8 allowed_roles;
339 int configurator;
340 int remove_on_tx_status;
341 int connect_on_tx_status;
342 int waiting_conf_result;
343 int waiting_conn_status_result;
344 int tx_conn_status_result_started;
345 int auth_success;
346 bool reconfig_success;
347 struct wpabuf *conf_req;
348 const struct wpabuf *conf_resp; /* owned by GAS server */
349 struct wpabuf *conf_resp_tcp;
350 struct dpp_configuration *conf_ap;
351 struct dpp_configuration *conf2_ap;
352 struct dpp_configuration *conf_sta;
353 struct dpp_configuration *conf2_sta;
354 int provision_configurator;
355 struct dpp_configurator *conf;
356 struct dpp_config_obj {
371 } conf_obj[DPP_MAX_CONF_OBJ];
372 unsigned int num_conf_obj;
373 struct dpp_asymmetric_key *conf_key_pkg;
374 struct wpabuf *net_access_key;
375 os_time_t net_access_key_expiry;
376 int send_conn_status;
377 int conn_status_requested;
378 int akm_use_selector;
379 int configurator_set;
380 u8 transaction_id;
381 u8 *csrattrs;
382 size_t csrattrs_len;
383 bool waiting_csr;
384 struct wpabuf *csr;
385 struct wpabuf *priv_key; /* DER-encoded private key used for csr */
386 bool waiting_cert;
387 char *trusted_eap_server_name;
388 struct wpabuf *cacert;
389 struct wpabuf *certbag;
390 bool waiting_new_key;
391 bool new_key_received;
392 void *config_resp_ctx;
393 void *gas_server_ctx;
394 bool use_config_query;
395 bool waiting_config;
396 char *e_name;
397 char *e_mud_url;
398 int *e_band_support;
400 char *config_obj_override;
401 char *discovery_override;
402 char *groups_override;
403 unsigned int ignore_netaccesskey_mismatch:1;
405 unsigned short band_list[DPP_MAX_CHANNELS];
406 int band_list_size;