diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2009-03-25 12:06:19 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2009-03-25 12:06:19 +0200 |
commit | 1e5839e06fbc20945044239984b652da9c3fc772 (patch) | |
tree | 4574b2edd584e691073f4d2e2d6e19df21282703 /src/eap_common/eap_sim_common.h | |
parent | 1581b38b6732e19a2f8fcfc049fdbdcc5183b10e (diff) | |
download | external_wpa_supplicant_8_ti-1e5839e06fbc20945044239984b652da9c3fc772.zip external_wpa_supplicant_8_ti-1e5839e06fbc20945044239984b652da9c3fc772.tar.gz external_wpa_supplicant_8_ti-1e5839e06fbc20945044239984b652da9c3fc772.tar.bz2 |
Rename EAP server defines from EAP_* to EAP_SERVER_*
This allows separate set of EAP server and peer methods to be built into
a single binary.
Diffstat (limited to 'src/eap_common/eap_sim_common.h')
-rw-r--r-- | src/eap_common/eap_sim_common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/eap_common/eap_sim_common.h b/src/eap_common/eap_sim_common.h index a8080e2..48c8eaa 100644 --- a/src/eap_common/eap_sim_common.h +++ b/src/eap_common/eap_sim_common.h @@ -94,7 +94,7 @@ int eap_sim_verify_mac(const u8 *k_aut, const struct wpabuf *req, void eap_sim_add_mac(const u8 *k_aut, const u8 *msg, size_t msg_len, u8 *mac, const u8 *extra, size_t extra_len); -#ifdef EAP_AKA_PRIME +#if defined(EAP_AKA_PRIME) || defined(EAP_SERVER_AKA_PRIME) void eap_aka_prime_derive_keys(const u8 *identity, size_t identity_len, const u8 *ik, const u8 *ck, u8 *k_encr, u8 *k_aut, u8 *k_re, u8 *msk, u8 *emsk); @@ -110,7 +110,7 @@ void eap_sim_add_mac_sha256(const u8 *k_aut, const u8 *msg, size_t msg_len, void eap_aka_prime_derive_ck_ik_prime(u8 *ck, u8 *ik, const u8 *sqn_ak, const u8 *network_name, size_t network_name_len); -#else /* EAP_AKA_PRIME */ +#else /* EAP_AKA_PRIME || EAP_SERVER_AKA_PRIME */ static inline void eap_aka_prime_derive_keys(const u8 *identity, size_t identity_len, const u8 *ik, const u8 *ck, @@ -135,7 +135,7 @@ static inline int eap_sim_verify_mac_sha256(const u8 *k_aut, { return -1; } -#endif /* EAP_AKA_PRIME */ +#endif /* EAP_AKA_PRIME || EAP_SERVER_AKA_PRIME */ /* EAP-SIM/AKA Attributes (0..127 non-skippable) */ |