Home | History | Annotate | Download | only in eap_peer

Lines Matching refs:conf

1338 				struct eap_peer_config *conf)
1343 struct eap_method_type *m = conf->eap_methods;
1380 os_free(conf->identity);
1381 conf->identity = os_malloc(1 + imsi_len);
1382 if (conf->identity == NULL) {
1390 conf->identity[0] = '1';
1393 conf->identity[0] = '0';
1396 conf->identity[0] = '6';
1399 os_memcpy(conf->identity + 1, imsi, imsi_len);
1400 conf->identity_len = 1 + imsi_len;
1407 struct eap_peer_config *conf)
1409 if (scard_set_pin(sm->scard_ctx, conf->pin)) {
1414 os_free(conf->pin);
1415 conf->pin = NULL;
1426 struct eap_peer_config *conf)
1428 if (eap_sm_set_scard_pin(sm, conf))
1431 return eap_sm_imsi_identity(sm, conf);
1928 * @conf: EAP configuration
1939 void *msg_ctx, struct eap_config *conf)
1951 sm->wps = conf->wps;
1955 tlsconf.opensc_engine_path = conf->opensc_engine_path;
1956 tlsconf.pkcs11_engine_path = conf->pkcs11_engine_path;
1957 tlsconf.pkcs11_module_path = conf->pkcs11_module_path;
1958 tlsconf.openssl_ciphers = conf->openssl_ciphers;
1964 tlsconf.cert_in_cb = conf->cert_in_cb;
2926 int eap_is_wps_pbc_enrollee(struct eap_peer_config *conf)
2928 if (conf->identity_len != WSC_ID_ENROLLEE_LEN ||
2929 os_memcmp(conf->identity, WSC_ID_ENROLLEE, WSC_ID_ENROLLEE_LEN))
2932 if (conf->phase1 == NULL || os_strstr(conf->phase1, "pbc=1") == NULL)
2939 int eap_is_wps_pin_enrollee(struct eap_peer_config *conf)
2941 if (conf->identity_len != WSC_ID_ENROLLEE_LEN ||
2942 os_memcmp(conf->identity, WSC_ID_ENROLLEE, WSC_ID_ENROLLEE_LEN))
2945 if (conf->phase1 == NULL || os_strstr(conf->phase1, "pin=") == NULL)