#include "includes.h"
#include "common.h"
#include "sha1.h"
#include "eap_defs.h"
#include "eap_sake_common.h"
Include dependency graph for eap_sake_common.c:
Go to the source code of this file.
Functions | |
int | eap_sake_parse_attributes (const u8 *buf, size_t len, struct eap_sake_parse_attr *attr) |
Parse EAP-SAKE attributes. | |
void | eap_sake_derive_keys (const u8 *root_secret_a, const u8 *root_secret_b, const u8 *rand_s, const u8 *rand_p, u8 *tek, u8 *msk, u8 *emsk) |
Derive EAP-SAKE keys. | |
int | eap_sake_compute_mic (const u8 *tek_auth, const u8 *rand_s, const u8 *rand_p, const u8 *serverid, size_t serverid_len, const u8 *peerid, size_t peerid_len, int peer, const u8 *eap, size_t eap_len, const u8 *mic_pos, u8 *mic) |
Compute EAP-SAKE MIC for an EAP packet. |
Alternatively, this software may be distributed under the terms of BSD license.
See README and COPYING for more details.
Definition in file eap_sake_common.c.
|
Compute EAP-SAKE MIC for an EAP packet.
Definition at line 326 of file eap_sake_common.c. |
|
Derive EAP-SAKE keys.
Definition at line 268 of file eap_sake_common.c. Here is the call graph for this function: |
|
Parse EAP-SAKE attributes.
Definition at line 167 of file eap_sake_common.c. Here is the call graph for this function: |