]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/wpa_supplicant/ms_funcs.h
These files are not needed and were imported by accident in the
[FreeBSD/FreeBSD.git] / contrib / wpa_supplicant / ms_funcs.h
1 #ifndef MS_FUNCS_H
2 #define MS_FUNCS_H
3
4 void generate_nt_response(u8 *auth_challenge, u8 *peer_challenge,
5                           u8 *username, size_t username_len,
6                           u8 *password, size_t password_len,
7                           u8 *response);
8 void generate_authenticator_response(u8 *password, size_t password_len,
9                                      u8 *peer_challenge,
10                                      u8 *auth_challenge,
11                                      u8 *username, size_t username_len,
12                                      u8 *nt_response, u8 *response);
13 void nt_challenge_response(u8 *challenge, u8 *password, size_t password_len,
14                            u8 *response);
15
16 void challenge_response(u8 *challenge, u8 *password_hash, u8 *response);
17 void nt_password_hash(u8 *password, size_t password_len, u8 *password_hash);
18 void hash_nt_password_hash(u8 *password_hash, u8 *password_hash_hash);
19 void get_master_key(const u8 *password_hash_hash, const u8 *nt_response,
20                     u8 *master_key);
21 void get_asymetric_start_key(const u8 *master_key, u8 *session_key,
22                              size_t session_key_len, int is_send,
23                              int is_server);
24
25 #endif /* MS_FUNCS_H */