Home | History | Annotate | Download | only in eap_peer

Lines Matching refs:conf

1018 				struct eap_peer_config *conf)
1023 struct eap_method_type *m = conf->eap_methods;
1060 os_free(conf->identity);
1061 conf->identity = os_malloc(1 + imsi_len);
1062 if (conf->identity == NULL) {
1070 conf->identity[0] = '1';
1073 conf->identity[0] = '0';
1076 conf->identity[0] = '6';
1079 os_memcpy(conf->identity + 1, imsi, imsi_len);
1080 conf->identity_len = 1 + imsi_len;
1089 struct eap_peer_config *conf)
1092 if (scard_set_pin(sm->scard_ctx, conf->pin)) {
1097 os_free(conf->pin);
1098 conf->pin = NULL;
1111 struct eap_peer_config *conf)
1114 if (eap_sm_set_scard_pin(sm, conf))
1117 return eap_sm_imsi_identity(sm, conf);
1392 * @conf: EAP configuration
1403 void *msg_ctx, struct eap_config *conf)
1415 sm->wps = conf->wps;
1418 tlsconf.opensc_engine_path = conf->opensc_engine_path;
1419 tlsconf.pkcs11_engine_path = conf->pkcs11_engine_path;
1420 tlsconf.pkcs11_module_path = conf->pkcs11_module_path;
1426 tlsconf.cert_in_cb = conf->cert_in_cb;
2385 int eap_is_wps_pbc_enrollee(struct eap_peer_config *conf)
2387 if (conf->identity_len != WSC_ID_ENROLLEE_LEN ||
2388 os_memcmp(conf->identity, WSC_ID_ENROLLEE, WSC_ID_ENROLLEE_LEN))
2391 if (conf->phase1 == NULL || os_strstr(conf->phase1, "pbc=1") == NULL)
2398 int eap_is_wps_pin_enrollee(struct eap_peer_config *conf)
2400 if (conf->identity_len != WSC_ID_ENROLLEE_LEN ||
2401 os_memcmp(conf->identity, WSC_ID_ENROLLEE, WSC_ID_ENROLLEE_LEN))
2404 if (conf->phase1 == NULL || os_strstr(conf->phase1, "pin=") == NULL)