/*
 * Copyright (C) 2008-2009 Martin Willi
 * HSR Hochschule fuer Technik Rapperswil
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation; either version 2 of the License, or (at your
 * option) any later version.  See <http://www.fsf.org/copyleft/gpl.txt>.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 * for more details.
 */

/**
 * @defgroup eap_aka eap_aka
 * @ingroup cplugins
 *
 * @defgroup eap_aka_plugin eap_aka_plugin
 * @{ @ingroup eap_aka
 */

#ifndef EAP_AKA_PLUGIN_H_
#define EAP_AKA_PLUGIN_H_

#include <plugins/plugin.h>

typedef struct eap_aka_plugin_t eap_aka_plugin_t;

/**
 * EAP-AKA plugin.
 *
 * EAP-AKA uses 3rd generation mobile phone standard authentication
 * mechanism for authentication, as defined RFC4187.
 *
 * This plugin implements the protocol level of EAP-AKA and uses simaka_card_t
 * and simaka_provider_t backends to provide triplets. It registers a
 * simaka_manager_t on the library as "aka-manager", other plugins can use it
 * to provide the required backends.
 */
struct eap_aka_plugin_t {

	/**
	 * implements plugin interface
	 */
	plugin_t plugin;
};

#endif /** EAP_AKA_PLUGIN_H_ @}*/
