]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Unused
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 16 Feb 2022 16:48:56 +0000 (11:48 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 17 Feb 2022 01:46:16 +0000 (20:46 -0500)
src/lib/sim/eap_aka_common.h [deleted file]
src/lib/sim/eap_sim_common.h [deleted file]

diff --git a/src/lib/sim/eap_aka_common.h b/src/lib/sim/eap_aka_common.h
deleted file mode 100644 (file)
index 55b4152..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-#pragma once
-/*
- *   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.
- *
- *   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.
- *
- *   You should have received a copy of the GNU General Public License
- *   along with this program; if not, write to the Free Software
- *   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
- */
-
-/**
- * $Id$
- * @file src/lib/sim/eap_aka_common.h
- * @brief Declarations for EAP-AKA
- *
- * @note These are needed for the quintuplet -> triplet conversion in EAP-SIM.
- *
- * @author Arran Cudbard-Bell (a.cudbardb@freeradius.org)
- *
- * @copyright 2016 The FreeRADIUS server project
- */
-#include <freeradius-devel/protocol/eap/aka/dictionary.h>
-
-#define EAP_AKA_AUTS_SIZE              14      //!< Server sequence number.  SIM checks this
-                                               //!< is within the correct range.
-
-typedef enum eap_aka_subtype {
-       EAP_AKA_CHALLENGE               = 1,    //!< Challenge packet for distributing NONCE and RAND values.
-       EAP_AKA_AUTHENTICATION_REJECT   = 2,
-       EAP_AKA_SYNCHRONIZATION_FAILURE = 4,
-       EAP_AKA_IDENTITY                = 5,    //!< Fast Re-Authentication and pseudonyms.
-       EAP_AKA_NOTIFICATION            = 12,   //!< Notification packet.
-       EAP_AKA_REAUTHENTICATION        = 13,
-       EAP_AKA_CLIENT_ERROR            = 14,
-       EAP_AKA_MAX_SUBTYPE             = 15
-} eap_aka_subtype_t;
diff --git a/src/lib/sim/eap_sim_common.h b/src/lib/sim/eap_sim_common.h
deleted file mode 100644 (file)
index cc9146c..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-#pragma once
-/*
- *   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.
- *
- *   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.
- *
- *   You should have received a copy of the GNU General Public License
- *   along with this program; if not, write to the Free Software
- *   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
- */
-
-/**
- * $Id$
- * @file src/lib/sim/eap_sim_common.h
- * @brief Declarations for EAP-SIM
- *
- * @note These are required by rlm_eap_sim
- *
- * @author Arran Cudbard-Bell (a.cudbardb@freeradius.org)
- *
- * @copyright 2016 The FreeRADIUS server project
- */
-#include <freeradius-devel/protocol/eap/sim/dictionary.h>
-
-#define EAP_SIM_VERSION                        1
-#define EAP_SIM_NONCE_MT_SIZE          16      //!< Length of challenge from SIM client.
-
-#define EAP_SIM_AUTH_SIZE              16
-#define EAP_AKA_AUTH_SIZE              16
-#define EAP_AKA_PRIME_AUTH_SIZE                32
-
-typedef enum {
-       EAP_SIM_START                   = 10,   //!< Start packet used for version negotiation.
-       EAP_SIM_CHALLENGE               = 11,   //!< Challenge packet for distributing NONCE and RAND values.
-       EAP_SIM_NOTIFICATION            = 12,   //!< Notification packet.
-       EAP_SIM_REAUTH                  = 13,   //!< Fast Re-Authentication.
-       EAP_SIM_CLIENT_ERROR            = 14,   //!< Client error.
-       EAP_SIM_MAX_SUBTYPE             = 15
-} eap_sim_subtype_t;
-
-/** Client states
- *
- * The states an EAP-SIM client may be in.
- */
-typedef enum {
-       EAP_SIM_CLIENT_INIT             = 0,    //!< Client is in initialization phase.
-       EAP_SIM_CLIENT_START            = 1,    //!< Client is in version negotiation phase.
-       EAP_SIM_CLIENT_MAX_STATES
-} eap_sim_client_states_t;