aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_peer/eap.h
diff options
context:
space:
mode:
authorVidyullatha Kanchanapally <vkanchan@qti.qualcomm.com>2017-03-22 10:40:05 (GMT)
committerJouni Malinen <j@w1.fi>2017-04-07 15:46:13 (GMT)
commit15def72fabd1116930f5ffdb09983cae1e8021a3 (patch)
treeaace82cd60f4461e286f5b65c950f6813880e8bf /src/eap_peer/eap.h
parent42e69bda2aa0752a3a18714728d0d06bb20ad152 (diff)
downloadhostap-15def72fabd1116930f5ffdb09983cae1e8021a3.zip
hostap-15def72fabd1116930f5ffdb09983cae1e8021a3.tar.gz
hostap-15def72fabd1116930f5ffdb09983cae1e8021a3.tar.bz2
ERP: External control of ERP key information
This allows ERP keys to be managed by external entities, e.g., when offloading FILS shared key authentication to a driver. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/eap_peer/eap.h')
-rw-r--r--src/eap_peer/eap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/eap_peer/eap.h b/src/eap_peer/eap.h
index 932584f..883ba24 100644
--- a/src/eap_peer/eap.h
+++ b/src/eap_peer/eap.h
@@ -358,6 +358,11 @@ int eap_peer_was_failure_expected(struct eap_sm *sm);
void eap_peer_erp_free_keys(struct eap_sm *sm);
struct wpabuf * eap_peer_build_erp_reauth_start(struct eap_sm *sm, u8 eap_id);
void eap_peer_finish(struct eap_sm *sm, const struct eap_hdr *hdr, size_t len);
+int eap_peer_get_erp_info(struct eap_sm *sm, struct eap_peer_config *config,
+ const u8 **username, size_t *username_len,
+ const u8 **realm, size_t *realm_len, u16 *erp_seq_num,
+ const u8 **rrk, size_t *rrk_len);
+int eap_peer_update_erp_next_seq_num(struct eap_sm *sm, u16 seq_num);
#endif /* IEEE8021X_EAPOL */