Updated through tag hostap_2_5 from git://w1.fi/hostap.git
[mech_eap.git] / libeap / src / eap_common / eap_peap_common.h
1 /*
2  * EAP-PEAP common routines
3  * Copyright (c) 2008-2011, Jouni Malinen <j@w1.fi>
4  *
5  * This software may be distributed under the terms of the BSD license.
6  * See README for more details.
7  */
8
9 #ifndef EAP_PEAP_COMMON_H
10 #define EAP_PEAP_COMMON_H
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 int peap_prfplus(int version, const u8 *key, size_t key_len,
17                  const char *label, const u8 *seed, size_t seed_len,
18                  u8 *buf, size_t buf_len);
19
20 #ifdef __cplusplus
21 }
22 #endif
23
24 #endif /* EAP_PEAP_COMMON_H */