1/*
2 * EAP proxy - dummy implementation for build testing
3 * Copyright (c) 2013 Qualcomm Atheros, Inc.
4 *
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
7 */
8
9#include "includes.h"
10
11#include "common.h"
12#include "eap_proxy.h"
13
14struct eap_proxy_sm *
15eap_proxy_init(void *eapol_ctx, struct eapol_callbacks *eapol_cb,
16	       void *msg_ctx)
17{
18	return NULL;
19}
20
21
22void eap_proxy_deinit(struct eap_proxy_sm *eap_proxy)
23{
24}
25
26
27int eap_proxy_key_available(struct eap_proxy_sm *sm)
28{
29	return 0;
30}
31
32
33const u8 * eap_proxy_get_eapKeyData(struct eap_proxy_sm *sm, size_t *len)
34{
35	return NULL;
36}
37
38
39struct wpabuf * eap_proxy_get_eapRespData(struct eap_proxy_sm *sm)
40{
41	return NULL;
42}
43
44
45int eap_proxy_sm_step(struct eap_proxy_sm *sm, struct eap_sm *eap_sm)
46{
47	return 0;
48}
49
50
51enum eap_proxy_status
52eap_proxy_packet_update(struct eap_proxy_sm *eap_proxy, u8 *eapReqData,
53			int eapReqDataLen)
54{
55	return EAP_PROXY_FAILURE;
56}
57
58
59int eap_proxy_sm_get_status(struct eap_proxy_sm *sm, char *buf, size_t buflen,
60			    int verbose)
61{
62	return 0;
63}
64
65
66int eap_proxy_get_imsi(char *imsi_buf, size_t *imsi_len)
67{
68	return -1;
69}
70
71
72int eap_proxy_notify_config(struct eap_proxy_sm *sm,
73			    struct eap_peer_config *config)
74{
75	return -1;
76}
77