aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_peer/eap_proxy_dummy.c
blob: 2cc05c92cdfc603f9a7ac2bea384ef10048cebd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/*
 * EAP proxy - dummy implementation for build testing
 * Copyright (c) 2013 Qualcomm Atheros, Inc.
 *
 * This software may be distributed under the terms of the BSD license.
 * See README for more details.
 */

#include "includes.h"

#include "common.h"
#include "eap_proxy.h"

struct eap_proxy_sm *
eap_proxy_init(void *eapol_ctx, const struct eapol_callbacks *eapol_cb,
	       void *msg_ctx)
{
	return NULL;
}


void eap_proxy_deinit(struct eap_proxy_sm *eap_proxy)
{
}


int eap_proxy_key_available(struct eap_proxy_sm *sm)
{
	return 0;
}


const u8 * eap_proxy_get_eapKeyData(struct eap_proxy_sm *sm, size_t *len)
{
	return NULL;
}


struct wpabuf * eap_proxy_get_eapRespData(struct eap_proxy_sm *sm)
{
	return NULL;
}


int eap_proxy_sm_step(struct eap_proxy_sm *sm, struct eap_sm *eap_sm)
{
	return 0;
}


enum eap_proxy_status
eap_proxy_packet_update(struct eap_proxy_sm *eap_proxy, u8 *eapReqData,
			int eapReqDataLen)
{
	return EAP_PROXY_FAILURE;
}


int eap_proxy_sm_get_status(struct eap_proxy_sm *sm, char *buf, size_t buflen,
			    int verbose)
{
	return 0;
}


int eap_proxy_get_imsi(struct eap_proxy_sm *eap_proxy, int sim_num,
		       char *imsi_buf, size_t *imsi_len)
{
	return -1;
}


int eap_proxy_notify_config(struct eap_proxy_sm *sm,
			    struct eap_peer_config *config)
{
	return -1;
}


u8 * eap_proxy_get_eap_session_id(struct eap_proxy_sm *sm, size_t *len)
{
	return NULL;
}


u8 * eap_proxy_get_emsk(struct eap_proxy_sm *sm, size_t *len)
{
	return NULL;
}


void eap_proxy_sm_abort(struct eap_proxy_sm *sm)
{
}