1/* 2 * hostapd / EAP-SIM database/authenticator gateway 3 * Copyright (c) 2005-2007, Jouni Malinen <j@w1.fi> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License version 2 as 7 * published by the Free Software Foundation. 8 * 9 * Alternatively, this software may be distributed under the terms of BSD 10 * license. 11 * 12 * See README and COPYING for more details. 13 */ 14 15#ifndef EAP_SIM_DB_H 16#define EAP_SIM_DB_H 17 |
18#include "eap_common/eap_sim_common.h" 19 20/* Identity prefixes */ 21#define EAP_SIM_PERMANENT_PREFIX '1' 22#define EAP_SIM_PSEUDONYM_PREFIX '3' 23#define EAP_SIM_REAUTH_ID_PREFIX '5' 24#define EAP_AKA_PERMANENT_PREFIX '0' 25#define EAP_AKA_PSEUDONYM_PREFIX '2' --- 57 unchanged lines hidden (view full) --- 83 size_t identity_len, u8 *_rand, u8 *autn, u8 *ik, 84 u8 *ck, u8 *res, size_t *res_len, 85 void *cb_session_ctx); 86 87int eap_sim_db_resynchronize(void *priv, const u8 *identity, 88 size_t identity_len, const u8 *auts, 89 const u8 *_rand); 90 |
91#endif /* EAP_SIM_DB_H */ |