Found 2 other functions taking a
eap_method_type
argument:
eap_peer_select_phase2_methods - Select phase 2 EAP method @config: Pointer to the network configuration @prefix: 'phase2' configuration prefix, e.g., "auth=" @types: Buffer for returning allocated list of allowed EAP methods @num_types: Buffer for returning number of allocated EAP methods Returns: 0 on success, -1 on failure This function is used to parse EAP method list and select allowed methods for Phase2 authentication.
eap_peer_tls_phase2_nak - Generate EAP-Nak for Phase 2 @types: Buffer for returning allocated list of allowed EAP methods @num_types: Buffer for returning number of allocated EAP methods @hdr: EAP-Request header (and the following EAP type octet) @resp: Buffer for returning the EAP-Nak message Returns: 0 on success, -1 on failure