Lines Matching refs:start

255 	char buf[512], *pos, *start, *pos2;  in hostapd_config_read_eap_user()  local
335 start = pos; in hostapd_config_read_eap_user()
345 user->identity = os_memdup(start, pos - start); in hostapd_config_read_eap_user()
351 user->identity_len = pos - start; in hostapd_config_read_eap_user()
368 start = pos; in hostapd_config_read_eap_user()
378 while (*start) { in hostapd_config_read_eap_user()
379 char *pos3 = os_strchr(start, ','); in hostapd_config_read_eap_user()
385 start, in hostapd_config_read_eap_user()
391 if (os_strcmp(start, "TTLS-PAP") == 0) { in hostapd_config_read_eap_user()
395 if (os_strcmp(start, "TTLS-CHAP") == 0) { in hostapd_config_read_eap_user()
399 if (os_strcmp(start, "TTLS-MSCHAP") == 0) { in hostapd_config_read_eap_user()
404 if (os_strcmp(start, "TTLS-MSCHAPV2") == 0) { in hostapd_config_read_eap_user()
409 if (os_strcmp(start, "MACACL") == 0) { in hostapd_config_read_eap_user()
415 start, line, fname); in hostapd_config_read_eap_user()
425 start = pos3; in hostapd_config_read_eap_user()
458 start = pos; in hostapd_config_read_eap_user()
468 user->password = os_memdup(start, pos - start); in hostapd_config_read_eap_user()
474 user->password_len = pos - start; in hostapd_config_read_eap_user()
639 char *start, *end, *buf; in hostapd_config_parse_key_mgmt() local
644 start = buf; in hostapd_config_parse_key_mgmt()
646 while (*start != '\0') { in hostapd_config_parse_key_mgmt()
647 while (*start == ' ' || *start == '\t') in hostapd_config_parse_key_mgmt()
648 start++; in hostapd_config_parse_key_mgmt()
649 if (*start == '\0') in hostapd_config_parse_key_mgmt()
651 end = start; in hostapd_config_parse_key_mgmt()
656 if (os_strcmp(start, "WPA-PSK") == 0) in hostapd_config_parse_key_mgmt()
658 else if (os_strcmp(start, "WPA-EAP") == 0) in hostapd_config_parse_key_mgmt()
661 else if (os_strcmp(start, "FT-PSK") == 0) in hostapd_config_parse_key_mgmt()
663 else if (os_strcmp(start, "FT-EAP") == 0) in hostapd_config_parse_key_mgmt()
666 else if (os_strcmp(start, "FT-EAP-SHA384") == 0) in hostapd_config_parse_key_mgmt()
671 else if (os_strcmp(start, "WPA-EAP-SHA384") == 0) in hostapd_config_parse_key_mgmt()
674 else if (os_strcmp(start, "WPA-PSK-SHA256") == 0) in hostapd_config_parse_key_mgmt()
676 else if (os_strcmp(start, "WPA-EAP-SHA256") == 0) in hostapd_config_parse_key_mgmt()
679 else if (os_strcmp(start, "SAE") == 0) in hostapd_config_parse_key_mgmt()
681 else if (os_strcmp(start, "SAE-EXT-KEY") == 0) in hostapd_config_parse_key_mgmt()
683 else if (os_strcmp(start, "FT-SAE") == 0) in hostapd_config_parse_key_mgmt()
685 else if (os_strcmp(start, "FT-SAE-EXT-KEY") == 0) in hostapd_config_parse_key_mgmt()
689 else if (os_strcmp(start, "WPA-EAP-SUITE-B") == 0) in hostapd_config_parse_key_mgmt()
693 else if (os_strcmp(start, "WPA-EAP-SUITE-B-192") == 0) in hostapd_config_parse_key_mgmt()
697 else if (os_strcmp(start, "FILS-SHA256") == 0) in hostapd_config_parse_key_mgmt()
699 else if (os_strcmp(start, "FILS-SHA384") == 0) in hostapd_config_parse_key_mgmt()
702 else if (os_strcmp(start, "FT-FILS-SHA256") == 0) in hostapd_config_parse_key_mgmt()
704 else if (os_strcmp(start, "FT-FILS-SHA384") == 0) in hostapd_config_parse_key_mgmt()
709 else if (os_strcmp(start, "OWE") == 0) in hostapd_config_parse_key_mgmt()
713 else if (os_strcmp(start, "DPP") == 0) in hostapd_config_parse_key_mgmt()
717 else if (os_strcmp(start, "OSEN") == 0) in hostapd_config_parse_key_mgmt()
721 else if (os_strcmp(start, "PASN") == 0) in hostapd_config_parse_key_mgmt()
726 line, start); in hostapd_config_parse_key_mgmt()
733 start = end + 1; in hostapd_config_parse_key_mgmt()