/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/ |
H A D | eap.c | 129 struct eap_peer_config *config = eap_get_config(sm); local 133 if (config == NULL || config->eap_methods == NULL) 136 m = config->eap_methods; 319 struct eap_peer_config *config = eap_get_config(sm); local 327 if (sm->reqMethod == EAP_TYPE_TLS && config && 328 (config->pending_req_pin || 329 config->pending_req_passphrase)) { 1137 struct eap_peer_config *config = eap_get_config(sm); local 1142 if (config 1664 struct eap_peer_config *config; local 1842 struct eap_peer_config *config = eap_get_config(sm); local 1907 eap_get_phase2_types(struct eap_peer_config *config, size_t *count) argument 1988 struct eap_peer_config *config = eap_get_config(sm); local 1996 eap_get_ext_password(struct eap_sm *sm, struct eap_peer_config *config) argument 2025 struct eap_peer_config *config = eap_get_config(sm); local 2052 struct eap_peer_config *config = eap_get_config(sm); local 2080 struct eap_peer_config *config = eap_get_config(sm); local 2096 struct eap_peer_config *config = eap_get_config(sm); local 2114 struct eap_peer_config *config = eap_get_config(sm); local 2131 struct eap_peer_config *config = eap_get_config(sm); local 2145 struct eap_peer_config *config = eap_get_config(sm); local 2154 struct eap_peer_config *config = eap_get_config(sm); local [all...] |
H A D | eap_aka.c | 91 struct eap_peer_config *config = eap_get_config(sm); local 104 if (config && config->anonymous_identity) { 105 data->pseudonym = os_malloc(config->anonymous_identity_len); 107 os_memcpy(data->pseudonym, config->anonymous_identity, 108 config->anonymous_identity_len); 109 data->pseudonym_len = config->anonymous_identity_len;
|
H A D | eap_fast.c | 150 struct eap_peer_config *config = eap_get_config(sm); local 152 if (config == NULL) 161 if (config->phase1 && eap_fast_parse_phase1(data, config->phase1) < 0) { 166 if (eap_peer_select_phase2_methods(config, "auth=", 176 if (eap_peer_tls_ssl_init(sm, &data->ssl, config, EAP_TYPE_FAST)) { 201 if (!config->pac_file) { 208 eap_fast_load_pac_bin(sm, &data->pac, config->pac_file) < 0) { 215 eap_fast_load_pac(sm, &data->pac, config->pac_file) < 0) { 420 struct eap_peer_config *config local 1029 struct eap_peer_config *config = eap_get_config(sm); local [all...] |
H A D | eap_mschapv2.c | 300 struct eap_peer_config *config = eap_get_config(sm); local 301 if (config && config->new_password) { 306 bin_clear_free(config->password, config->password_len); 307 if (config->flags & EAP_CONFIG_FLAGS_EXT_PASSWORD) { 309 } else if (config->flags & EAP_CONFIG_FLAGS_PASSWORD_NTHASH) { 310 config->password = os_malloc(16); 311 config->password_len = 16; 312 if (config 405 struct eap_peer_config *config = eap_get_config(sm); local 671 struct eap_peer_config *config = eap_get_config(sm); local 767 struct eap_peer_config *config = eap_get_config(sm); local [all...] |
H A D | eap_peap.c | 136 struct eap_peer_config *config = eap_get_config(sm); local 147 if (config && config->phase1 && 148 eap_peap_parse_phase1(data, config->phase1) < 0) { 153 if (eap_peer_select_phase2_methods(config, "auth=", 163 if (eap_peer_tls_ssl_init(sm, &data->ssl, config, EAP_TYPE_PEAP)) { 599 struct eap_peer_config *config = eap_get_config(sm); local 724 (config->pending_req_identity || config->pending_req_password || 725 config [all...] |
H A D | eap_proxy_dummy.c | 74 struct eap_peer_config *config) 73 eap_proxy_notify_config(struct eap_proxy_sm *sm, struct eap_peer_config *config) argument
|
H A D | eap_sim.c | 83 struct eap_peer_config *config = eap_get_config(sm); local 97 if (config && config->phase1) { 98 char *pos = os_strstr(config->phase1, "sim_min_num_chal="); 114 data->result_ind = os_strstr(config->phase1, "result_ind=1") != 118 if (config && config->anonymous_identity) { 119 data->pseudonym = os_malloc(config->anonymous_identity_len); 121 os_memcpy(data->pseudonym, config->anonymous_identity, 122 config [all...] |
H A D | eap_tls.c | 34 struct eap_peer_config *config = eap_get_config(sm); local 35 if (config == NULL || 36 ((sm->init_phase2 ? config->private_key2 : config->private_key) 38 (sm->init_phase2 ? config->engine2 : config->engine) == 0)) { 50 if (eap_peer_tls_ssl_init(sm, &data->ssl, config, EAP_TYPE_TLS)) { 53 if (config->engine) { 58 } else if (config->private_key && !config 78 struct eap_peer_config *config = eap_get_config(sm); local 105 struct eap_peer_config *config = eap_get_config(sm); local 160 struct eap_peer_config *config = eap_get_config(sm); local [all...] |
H A D | eap_tls_common.c | 83 struct eap_peer_config *config) 85 params->ca_cert = (char *) config->ca_cert; 86 params->ca_path = (char *) config->ca_path; 87 params->client_cert = (char *) config->client_cert; 88 params->private_key = (char *) config->private_key; 89 params->private_key_passwd = (char *) config->private_key_passwd; 90 params->dh_file = (char *) config->dh_file; 91 params->subject_match = (char *) config->subject_match; 92 params->altsubject_match = (char *) config->altsubject_match; 93 params->suffix_match = config 82 eap_tls_params_from_conf1(struct tls_connection_params *params, struct eap_peer_config *config) argument 104 eap_tls_params_from_conf2(struct tls_connection_params *params, struct eap_peer_config *config) argument 126 eap_tls_params_from_conf(struct eap_sm *sm, struct eap_ssl_data *data, struct tls_connection_params *params, struct eap_peer_config *config, int phase2) argument 174 eap_tls_init_connection(struct eap_sm *sm, struct eap_ssl_data *data, struct eap_peer_config *config, struct tls_connection_params *params) argument 237 eap_peer_tls_ssl_init(struct eap_sm *sm, struct eap_ssl_data *data, struct eap_peer_config *config, u8 eap_type) argument 1024 eap_peer_select_phase2_methods(struct eap_peer_config *config, const char *prefix, struct eap_method_type **types, size_t *num_types) argument [all...] |
H A D | eap_ttls.c | 72 struct eap_peer_config *config = eap_get_config(sm); local 82 if (config && config->phase2) { 83 if (os_strstr(config->phase2, "autheap=")) { 86 } else if (os_strstr(config->phase2, "auth=MSCHAPV2")) { 89 } else if (os_strstr(config->phase2, "auth=MSCHAP")) { 92 } else if (os_strstr(config->phase2, "auth=PAP")) { 95 } else if (os_strstr(config->phase2, "auth=CHAP")) { 103 if (eap_peer_select_phase2_methods(config, "autheap=", 115 if (eap_peer_tls_ssl_init(sm, &data->ssl, config, EAP_TYPE_TTL 387 struct eap_peer_config *config = eap_get_config(sm); local 1160 struct eap_peer_config *config = eap_get_config(sm); local 1247 struct eap_peer_config *config = eap_get_config(sm); local [all...] |
H A D | tncc.c | 1070 char *config, *end, *pos, *line_end; local 1076 config = os_readfile(TNC_CONFIG_FILE, &config_len); 1077 if (config == NULL) { 1083 end = config + config_len; 1084 for (pos = config; pos < end; pos = line_end + 1) { 1096 os_free(config); 1109 os_free(config);
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/ |
H A D | eap_sim_db.c | 694 * @config: Configuration data (e.g., file name) 700 eap_sim_db_init(const char *config, argument 714 data->fname = os_strdup(config);
|
H A D | tncs.c | 1021 char *config, *end, *pos, *line_end; local 1028 config = os_readfile(TNC_CONFIG_FILE, &config_len); 1029 if (config == NULL) { 1035 end = config + config_len; 1036 for (pos = config; pos < end; pos = line_end + 1) { 1059 os_free(config);
|
/external/wpa_supplicant_8/wpa_supplicant/src/eapol_supp/ |
H A D | eapol_supp_sm.c | 124 struct eap_peer_config *config; member in struct:eapol_sm 1468 * @config: Pointer to current network EAP configuration 1471 * Notify EAPOL state machine that configuration has changed. config will be 1478 struct eap_peer_config *config, 1484 sm->config = config; 1486 sm->use_eap_proxy = eap_proxy_notify_config(sm->eap_proxy, config) > 0; 1787 return sm ? sm->config : NULL; 1477 eapol_sm_notify_config(struct eapol_sm *sm, struct eap_peer_config *config, const struct eapol_config *conf) argument
|
H A D | eapol_supp_sm.h | 290 struct eap_peer_config *config, 360 struct eap_peer_config *config, 359 eapol_sm_notify_config(struct eapol_sm *sm, struct eap_peer_config *config, struct eapol_config *conf) argument
|
/external/wpa_supplicant_8/wpa_supplicant/src/p2p/ |
H A D | p2p_group.c | 47 struct p2p_group_config *config) 65 group->cfg = config; 46 p2p_group_init(struct p2p_data *p2p, struct p2p_group_config *config) argument
|
/external/wpa_supplicant_8/wpa_supplicant/src/rsn_supp/ |
H A D | wpa.c | 2258 * @config: Pointer to current network configuration 2260 * Notify WPA state machine that configuration has changed. config will be 2264 void wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config) argument 2269 if (config) { 2270 sm->network_ctx = config->network_ctx; 2271 sm->peerkey_enabled = config->peerkey_enabled; 2272 sm->allowed_pairwise_cipher = config->allowed_pairwise_cipher; 2273 sm->proactive_key_caching = config->proactive_key_caching; 2274 sm->eap_workaround = config->eap_workaround; 2275 sm->eap_conf_ctx = config [all...] |
H A D | wpa.h | 112 void wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config); 187 struct rsn_supp_config *config) 186 wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config) argument
|
/external/webp/examples/ |
H A D | dwebp.c | 20 #include "config.h" 377 WebPDecoderConfig config; local 378 WebPDecBuffer* const output_buffer = &config.output; 379 WebPBitstreamFeatures* const bitstream = &config.input; 383 if (!WebPInitDecoderConfig(&config)) { 397 config.options.no_fancy_upsampling = 1; 399 config.options.bypass_filtering = 1; 414 config.options.use_threads = 1; 416 config.options.use_cropping = 1; 417 config [all...] |
/external/webp/include/webp/ |
H A D | decode.h | 374 WebPDecoderConfig config; 375 CHECK(WebPInitDecoderConfig(&config)); 378 CHECK(WebPGetFeatures(data, data_size, &config.input) == VP8_STATUS_OK); 380 // C) Adjust 'config', if needed 381 config.no_fancy_upsampling = 1; 382 config.output.colorspace = MODE_BGRA; 385 // Note that you can also make config.output point to an externally 387 // picture. Otherwise, config.output will just be used to allocate memory 391 CHECK(WebPDecode(data, data_size, &config) == VP8_STATUS_OK); 393 // E) Decoded image is now in config 473 WebPInitDecoderConfig(WebPDecoderConfig* config) argument [all...] |
H A D | encode.h | 153 // must have succeeded before using the 'config' object. 155 static WEBP_INLINE int WebPConfigInit(WebPConfig* config) { argument 156 return WebPConfigInitInternal(config, WEBP_PRESET_DEFAULT, 75.f, 164 static WEBP_INLINE int WebPConfigPreset(WebPConfig* config, argument 166 return WebPConfigInitInternal(config, preset, quality, 175 // This function will overwrite several fields from config: 'method', 'quality' 177 WEBP_EXTERN(int) WebPConfigLosslessPreset(WebPConfig* config, int level); 180 // Returns true if 'config' is non-NULL and all configuration parameters are 182 WEBP_EXTERN(int) WebPValidateConfig(const WebPConfig* config); variable 490 // Main encoding call, after config an [all...] |
/external/webp/src/dec/ |
H A D | idec.c | 594 WebPDecoderConfig* config) { 598 if (data != NULL && data_size > 0 && config != NULL) { 599 if (WebPGetFeatures(data, data_size, &config->input) != VP8_STATUS_OK) { 604 idec = WebPINewDecoder(config ? &config->output : NULL); 609 if (config != NULL) { 610 idec->params_.options = &config->options; 593 WebPIDecode(const uint8_t* data, size_t data_size, WebPDecoderConfig* config) argument
|
H A D | webp.c | 726 int WebPInitDecoderConfigInternal(WebPDecoderConfig* config, argument 731 if (config == NULL) { 734 memset(config, 0, sizeof(*config)); 735 DefaultFeatures(&config->input); 736 WebPInitDecBuffer(&config->output); 753 WebPDecoderConfig* config) { 757 if (config == NULL) { 761 status = GetFeatures(data, data_size, &config->input); 770 params.output = &config 752 WebPDecode(const uint8_t* data, size_t data_size, WebPDecoderConfig* config) argument [all...] |
/external/webp/src/enc/ |
H A D | alpha.c | 53 WebPConfig config; local 78 WebPConfigInit(&config); 79 config.lossless = 1; 80 config.method = effort_level; // impact is very small 84 config.quality = 8.f * effort_level; 85 assert(config.quality >= 0 && config.quality <= 100.f); 88 ok = ok && (VP8LEncodeStream(&config, &picture, &tmp_bw) == VP8_ENC_OK); 337 const WebPConfig* config = enc->config_; local 340 const int effort_level = config [all...] |
H A D | config.c | 20 int WebPConfigInitInternal(WebPConfig* config, argument 25 if (config == NULL) return 0; 27 config->quality = quality; 28 config->target_size = 0; 29 config->target_PSNR = 0.; 30 config->method = 4; 31 config->sns_strength = 50; 32 config->filter_strength = 60; // mid-filtering 33 config->filter_sharpness = 0; 34 config 88 WebPValidateConfig(const WebPConfig* config) argument 153 WebPConfigLosslessPreset(WebPConfig* config, int level) argument [all...] |