* field **ONLY** in First packet of a fragment series. We do not use it anywhere
* else.
*
- * @param eap_session that's continuing.
+ * @param request the request
+ * @param eap_session that's continuing.
* @return
* - 0 on success.
* - -1 on failure.
* @note In the received packet, No data will be present incase of ACK or NAK
* in this case the packet->data pointer will be NULL.
*
- * @parma[in] request the current subrequest.
+ * @param[in] request the current subrequest.
* @param[in] eap_session the current EAP session state.
* @return
* - EAP_TLS_INVALID if the TLS record or progression is invalid.
/** Continue with the handshake
*
- * @parma[in] request the current subrequest.
+ * @param[in] request the current subrequest.
* @param[in] eap_session to continue.
* @return
* - EAP_TLS_FAIL if the message is invalid.
* session object SHOULD be maintained even after the session is completed, for session
* resumption.
*
- * @param eap_session to continue.
+ * @param request the request
+ * @param eap_session to continue.
* @return
* - EAP_TLS_ESTABLISHED
* - EAP_TLS_HANDLED
*/
/**
- * @file src/lib/aka-sim/attrs.h
+ * @file src/lib/eap_aka_sim/attrs.h
* @brief Attributes to EAP-SIM/AKA/AKA' clients and servers.
*
* @copyright 2003-2016 The FreeRADIUS server project
*/
#include <freeradius-devel/server/rad_assert.h>
#include <freeradius-devel/util/dict.h>
-#include <freeradius-devel/protocol/eap/aka-sim/dictionary.h>
-#include <freeradius-devel/protocol/eap/aka-sim/rfc4187.h>
-#include <freeradius-devel/protocol/eap/aka-sim/dictionary.h>
-#include <freeradius-devel/protocol/eap/aka-sim/rfc4187.h>
-#include <freeradius-devel/protocol/eap/aka-sim/freeradius.h>
+#include <freeradius-devel/protocol/eap/eap_aka_sim/dictionary.h>
+#include <freeradius-devel/protocol/eap/eap_aka_sim/rfc4187.h>
+#include <freeradius-devel/protocol/eap/eap_aka_sim/dictionary.h>
+#include <freeradius-devel/protocol/eap/eap_aka_sim/rfc4187.h>
+#include <freeradius-devel/protocol/eap/eap_aka_sim/freeradius.h>
extern fr_dict_t *dict_freeradius;
extern fr_dict_t *dict_radius;
*/
/**
- * @file src/lib/aka-sim/base.c
+ * @file src/lib/eap_aka_sim/base.c
* @brief Code common to EAP-SIM/AKA/AKA' clients and servers.
*
* The development of the EAP-SIM support was funded by Internet Foundation
/**
* $Id$
- * @file src/lib/aka-sim/base.h
+ * @file src/lib/eap_aka_sim/base.h
* @brief Functions common to SIM protocols (EAP-SIM/EAP-AKA/EAP-AKA')
*
* The development of the EAP/SIM support was funded by Internet Foundation
*/
/**
- * @file src/lib/aka-sim/crypto.c
+ * @file src/lib/eap_aka_sim/crypto.c
* @brief Calculate keys from GSM vectors.
*
* The development of the original EAP/SIM support was funded by Internet Foundation
#include <stdio.h>
#include <stdlib.h>
-#include <freeradius-devel/protocol/eap/aka-sim/dictionary.h>
+#include <freeradius-devel/protocol/eap/eap_aka_sim/dictionary.h>
#include <freeradius-devel/eap/types.h>
#include <freeradius-devel/sim/common.h>
*
* Derives new MSK, EMSK, k_aut, k_encr
*
- * Use #fr_aka_sim_crypto_keys_init_reauth to populate the #fr_aka_sim_keys_t structure.
+ * Use #fr_aka_sim_crypto_keys_init_kdf_0_reauth to populate the #fr_aka_sim_keys_t structure.
*
* @note expects keys to contain a populated mk, none_s and counter values.
*
*/
/**
- * @file src/lib/aka-sim/decode.c
+ * @file src/lib/eap_aka_sim/decode.c
* @brief Code common to EAP-SIM/AKA/AKA' clients and servers.
*
* The development of the EAP-SIM support was funded by Internet Foundation
*/
/**
- * @file src/lib/aka-sim/encode.c
+ * @file src/lib/eap_aka_sim/encode.c
* @brief Code common to EAP-SIM/AKA/AKA' clients and servers.
*
* @copyright 2017 FreeRADIUS server project
/**
* $Id$
- * @file src/lib/aka-sim/fips186prf.c
+ * @file src/lib/eap_aka_sim/fips186prf.c
* @brief EAP sim protocol encoders and decoders.
*
* The development of the EAP/SIM support was funded by Internet Foundation
*/
/**
- * @file src/lib/aka-sim/id.c
+ * @file src/lib/eap_aka_sim/id.c
* @brief EAP-SIM/EAP-AKA identity detection, creation, and decyption.
*
* @copyright 2017 The FreeRADIUS server project
*/
/**
- * @file src/lib/aka-sim/id.h
+ * @file src/lib/eap_aka_sim/id.h
* @brief EAP-SIM/EAP-AKA identity detection, creation, and decyption.
*
* @copyright 2017 The FreeRADIUS server project
*
* @param[in] inst of rlm_eap_aka.
* @param[in] request the current request.
+ * @param[in] eap_session the EAP session
* @param[in] state_enter state entry function for the
* state to transition to *after* the current
* state.
*
* @param[in] inst of rlm_eap_aka.
* @param[in] request the current request.
+ * @param[in] eap_session the current EAP session
* @param[in] state_enter state entry function for the
* state to transition to *after* the current
* state.
* or can't perform fast resumption, we need to request the full identity from
* the supplicant.
*
+ * @param[in] inst of rlm_eap_aka.
* @param[in] request The current subrequest.
* @param[in] eap_session to continue.
* @return
* or can't perform fast resumption, we need to request the full identity from
* the supplicant.
*
+ * @param[in] inst of rlm_eap_aka.
* @param[in] request The current subrequest.
* @param[in] eap_session to continue.
* @return
/**
* $Id$
- * @file src/lib/aka-sim/vector.c
+ * @file src/lib/eap_aka_sim/vector.c
* @brief Retrieve or derive vectors for EAP-SIM.
*
* @author Arran Cudbard-Bell (a.cudbardb@freeradius.org)
*/
/**
- * @file src/lib/aka-sim/xlat.c
+ * @file src/lib/eap_aka_sim/xlat.c
* @brief EAP-SIM/EAP-AKA identity detection, creation, and decyption.
*
* @copyright 2017 The FreeRADIUS server project
/**
* $Id$
*
- * @file src/lib/base.h
+ * @file src/lib/sim/base.h
* @brief Master include file for all lib/sim functions.
*
* @copyright 2019 The FreeRADIUS server project
/**
- * @file src/lib/aka-sim/milenage.c
+ * @file src/lib/sim/milenage.c
* @brief 3GPP AKA - Milenage algorithm (3GPP TS 35.205, .206, .207, .208)
*
* This file implements an example authentication algorithm defined for 3GPP
#pragma once
/**
- * @file src/lib/aka-sim/milenage.h
+ * @file src/lib/sim/milenage.h
* @brief 3GPP AKA - Milenage algorithm (3GPP TS 35.205, .206, .207, .208)
*
* This file implements an example authentication algorithm defined for 3GPP