2 * Copyright (C) 2008-2009 Martin Willi
4 * Copyright (C) secunet Security Networks AG
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18 * @defgroup eap_aka_server eap_aka_server
22 #ifndef EAP_AKA_SERVER_H_
23 #define EAP_AKA_SERVER_H_
25 typedef struct eap_aka_server_t eap_aka_server_t
;
27 #include <sa/eap/eap_method.h>
30 * EAP-AKA server implementation.
32 struct eap_aka_server_t
{
35 * Implemented eap_method_t interface.
37 eap_method_t interface
;
41 * Creates the server implementation of the EAP method EAP-AKA.
43 * @param server ID of the EAP server
44 * @param peer ID of the EAP client
45 * @return eap_aka_server_t object
47 eap_aka_server_t
*eap_aka_server_create(identification_t
*server
,
48 identification_t
*peer
);
50 #endif /** EAP_AKA_SERVER_H_ @}*/