Lines Matching defs:dpp_authentication

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