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