Searched refs:c_sign_key (Results 1 – 8 of 8) sorted by relevance
858 if (auth->c_sign_key) { in wpas_dpp_add_network()859 ssid->dpp_csign = os_malloc(wpabuf_len(auth->c_sign_key)); in wpas_dpp_add_network()862 os_memcpy(ssid->dpp_csign, wpabuf_head(auth->c_sign_key), in wpas_dpp_add_network()863 wpabuf_len(auth->c_sign_key)); in wpas_dpp_add_network()864 ssid->dpp_csign_len = wpabuf_len(auth->c_sign_key); in wpas_dpp_add_network()965 if (auth->c_sign_key) { in wpas_dpp_handle_config_obj()969 hexlen = 2 * wpabuf_len(auth->c_sign_key) + 1; in wpas_dpp_handle_config_obj()973 wpabuf_head(auth->c_sign_key), in wpas_dpp_handle_config_obj()974 wpabuf_len(auth->c_sign_key)); in wpas_dpp_handle_config_obj()
1222 if (conf->c_sign_key) { in wpas_dpp_add_network()1223 ssid->dpp_csign = os_malloc(wpabuf_len(conf->c_sign_key)); in wpas_dpp_add_network()1226 os_memcpy(ssid->dpp_csign, wpabuf_head(conf->c_sign_key), in wpas_dpp_add_network()1227 wpabuf_len(conf->c_sign_key)); in wpas_dpp_add_network()1228 ssid->dpp_csign_len = wpabuf_len(conf->c_sign_key); in wpas_dpp_add_network()1482 if (conf->c_sign_key) { in wpas_dpp_handle_config_obj()1486 hexlen = 2 * wpabuf_len(conf->c_sign_key) + 1; in wpas_dpp_handle_config_obj()1490 wpabuf_head(conf->c_sign_key), in wpas_dpp_handle_config_obj()1491 wpabuf_len(conf->c_sign_key)); in wpas_dpp_handle_config_obj()
1270 wpabuf_free(conf->c_sign_key); in dpp_auth_deinit()2408 struct wpabuf *c_sign_key; in dpp_copy_csign() local2410 c_sign_key = crypto_ec_key_get_subject_public_key(csign); in dpp_copy_csign()2411 if (!c_sign_key) in dpp_copy_csign()2414 wpabuf_free(conf->c_sign_key); in dpp_copy_csign()2415 conf->c_sign_key = c_sign_key; in dpp_copy_csign()3505 wpabuf_free(auth->conf_obj[0].c_sign_key); in dpp_configurator_own_config()3506 auth->conf_obj[0].c_sign_key = NULL; in dpp_configurator_own_config()
328 struct wpabuf *c_sign_key; member
641 if (auth->c_sign_key) { in hostapd_dpp_handle_config_obj()645 hexlen = 2 * wpabuf_len(auth->c_sign_key) + 1; in hostapd_dpp_handle_config_obj()649 wpabuf_head(auth->c_sign_key), in hostapd_dpp_handle_config_obj()650 wpabuf_len(auth->c_sign_key)); in hostapd_dpp_handle_config_obj()
840 if (conf->c_sign_key) { in hostapd_dpp_handle_config_obj()844 hexlen = 2 * wpabuf_len(conf->c_sign_key) + 1; in hostapd_dpp_handle_config_obj()848 wpabuf_head(conf->c_sign_key), in hostapd_dpp_handle_config_obj()849 wpabuf_len(conf->c_sign_key)); in hostapd_dpp_handle_config_obj()
240 struct wpabuf *c_sign_key; member
4471 wpabuf_free(auth->c_sign_key); in dpp_auth_deinit()5521 wpabuf_free(auth->c_sign_key); in dpp_copy_csign()5522 auth->c_sign_key = wpabuf_alloc_copy(der, der_len); in dpp_copy_csign()