Lines Matching +full:common +full:- +full:password
3 * Copyright (c) 2004-2008, Jouni Malinen <j@w1.fi>
11 #include "common.h"
21 * challenge-response calculation, so remove domain prefix in mschapv2_remove_domain()
27 *len -= i + 1; in mschapv2_remove_domain()
37 const u8 *password, size_t password_len, in mschapv2_derive_response() argument
64 wpa_hexdump_key(MSG_DEBUG, "MSCHAPV2: password hash", in mschapv2_derive_response()
65 password, password_len); in mschapv2_derive_response()
68 password, nt_response) || in mschapv2_derive_response()
70 password, peer_challenge, auth_challenge, in mschapv2_derive_response()
73 return -1; in mschapv2_derive_response()
75 wpa_hexdump_ascii_key(MSG_DEBUG, "MSCHAPV2: password", in mschapv2_derive_response()
76 password, password_len); in mschapv2_derive_response()
79 password, password_len, in mschapv2_derive_response()
81 generate_authenticator_response(password, password_len, in mschapv2_derive_response()
87 return -1; in mschapv2_derive_response()
96 if (hash_nt_password_hash(password, password_hash_hash)) in mschapv2_derive_response()
97 return -1; in mschapv2_derive_response()
99 if (nt_password_hash(password, password_len, password_hash) || in mschapv2_derive_response()
101 return -1; in mschapv2_derive_response()
104 return -1; in mschapv2_derive_response()
122 return -1; in mschapv2_verify_auth_response()