wpa_supplicant / hostapd
2.5
|
EAP server/peer: EAP-EKE shared routines. More...
#include "includes.h"
#include "common.h"
#include "crypto/aes.h"
#include "crypto/aes_wrap.h"
#include "crypto/crypto.h"
#include "crypto/dh_groups.h"
#include "crypto/random.h"
#include "crypto/sha1.h"
#include "crypto/sha256.h"
#include "eap_common/eap_defs.h"
#include "eap_eke_common.h"
Functions | |
int | eap_eke_dh_init (u8 group, u8 *ret_priv, u8 *ret_pub) |
int | eap_eke_derive_key (struct eap_eke_session *sess, const u8 *password, size_t password_len, const u8 *id_s, size_t id_s_len, const u8 *id_p, size_t id_p_len, u8 *key) |
int | eap_eke_dhcomp (struct eap_eke_session *sess, const u8 *key, const u8 *dhpub, u8 *ret_dhcomp) |
int | eap_eke_shared_secret (struct eap_eke_session *sess, const u8 *key, const u8 *dhpriv, const u8 *peer_dhcomp) |
int | eap_eke_derive_ke_ki (struct eap_eke_session *sess, const u8 *id_s, size_t id_s_len, const u8 *id_p, size_t id_p_len) |
int | eap_eke_derive_ka (struct eap_eke_session *sess, const u8 *id_s, size_t id_s_len, const u8 *id_p, size_t id_p_len, const u8 *nonce_p, const u8 *nonce_s) |
int | eap_eke_derive_msk (struct eap_eke_session *sess, const u8 *id_s, size_t id_s_len, const u8 *id_p, size_t id_p_len, const u8 *nonce_p, const u8 *nonce_s, u8 *msk, u8 *emsk) |
int | eap_eke_prot (struct eap_eke_session *sess, const u8 *data, size_t data_len, u8 *prot, size_t *prot_len) |
int | eap_eke_decrypt_prot (struct eap_eke_session *sess, const u8 *prot, size_t prot_len, u8 *data, size_t *data_len) |
int | eap_eke_auth (struct eap_eke_session *sess, const char *label, const struct wpabuf *msgs, u8 *auth) |
int | eap_eke_session_init (struct eap_eke_session *sess, u8 dhgroup, u8 encr, u8 prf, u8 mac) |
void | eap_eke_session_clean (struct eap_eke_session *sess) |
EAP server/peer: EAP-EKE shared routines.