Lines Matching defs:methods
759 * EAP-TLS, EAP-PEAP, EAP-TTLS, and EAP-FAST methods are expected to use this
949 * @types: Buffer for returning allocated list of allowed EAP methods
950 * @num_types: Buffer for returning number of allocated EAP methods
953 * This function is used to parse EAP method list and select allowed methods
962 struct eap_method_type *methods = NULL, *_methods;
995 _methods = os_realloc_array(methods, num_methods,
996 sizeof(*methods));
998 os_free(methods);
1002 methods = _methods;
1003 methods[num_methods - 1].vendor = vendor;
1004 methods[num_methods - 1].method = method;
1013 if (methods == NULL)
1014 methods = eap_get_phase2_types(config, &num_methods);
1016 if (methods == NULL) {
1017 wpa_printf(MSG_ERROR, "TLS: No Phase2 EAP methods available");
1021 (u8 *) methods,
1024 *types = methods;
1033 * @types: Buffer for returning allocated list of allowed EAP methods
1034 * @num_types: Buffer for returning number of allocated EAP methods