wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
sae.c File Reference

Simultaneous authentication of equals. More...

#include "includes.h"
#include "common.h"
#include "crypto/crypto.h"
#include "crypto/sha256.h"
#include "crypto/random.h"
#include "crypto/dh_groups.h"
#include "ieee802_11_defs.h"
#include "sae.h"

Functions

int sae_set_group (struct sae_data *sae, int group)
 
void sae_clear_temp_data (struct sae_data *sae)
 
void sae_clear_data (struct sae_data *sae)
 
int sae_prepare_commit (const u8 *addr1, const u8 *addr2, const u8 *password, size_t password_len, struct sae_data *sae)
 
int sae_process_commit (struct sae_data *sae)
 
void sae_write_commit (struct sae_data *sae, struct wpabuf *buf, const struct wpabuf *token)
 
u16 sae_group_allowed (struct sae_data *sae, int *allowed_groups, u16 group)
 
u16 sae_parse_commit (struct sae_data *sae, const u8 *data, size_t len, const u8 **token, size_t *token_len, int *allowed_groups)
 
void sae_write_confirm (struct sae_data *sae, struct wpabuf *buf)
 
int sae_check_confirm (struct sae_data *sae, const u8 *data, size_t len)
 

Detailed Description

Simultaneous authentication of equals.