/freebsd-11.0-release/contrib/wpa/hostapd/ |
H A D | nt_password_hash.c | 17 unsigned char password_hash[16]; local 40 if (nt_password_hash((u8 *) password, strlen(password), password_hash)) 42 for (i = 0; i < sizeof(password_hash); i++) 43 printf("%02x", password_hash[i]);
|
H A D | config_file.c | 467 user->password_hash = 1;
|
/freebsd-11.0-release/contrib/wpa/src/crypto/ |
H A D | ms_funcs.h | 19 const u8 *password_hash, 27 const u8 *password_hash, 34 void challenge_response(const u8 *challenge, const u8 *password_hash, 39 u8 *password_hash); 40 int hash_nt_password_hash(const u8 *password_hash, u8 *password_hash_hash); 48 const u8 *password_hash, u8 *pw_block); 53 void nt_password_hash_encrypted_with_block(const u8 *password_hash,
|
H A D | ms_funcs.c | 106 * @password_hash: 16-octet PasswordHash (OUT) 110 u8 *password_hash) 121 return md4_vector(1, (const u8 **) &pos, &len, password_hash); 127 * @password_hash: 16-octet PasswordHash (IN) 131 int hash_nt_password_hash(const u8 *password_hash, u8 *password_hash_hash) argument 134 return md4_vector(1, &password_hash, &len, password_hash_hash); 141 * @password_hash: 16-octet PasswordHash (IN) 144 void challenge_response(const u8 *challenge, const u8 *password_hash, argument 148 des_encrypt(challenge, password_hash, response); 149 des_encrypt(challenge, password_hash 109 nt_password_hash(const u8 *password, size_t password_len, u8 *password_hash) argument 174 u8 password_hash[16]; local 195 generate_nt_response_pwhash(const u8 *auth_challenge, const u8 *peer_challenge, const u8 *username, size_t username_len, const u8 *password_hash, u8 *response) argument 224 generate_authenticator_response_pwhash( const u8 *password_hash, const u8 *peer_challenge, const u8 *auth_challenge, const u8 *username, size_t username_len, const u8 *nt_response, u8 *response) argument 286 u8 password_hash[16]; local 306 u8 password_hash[16]; local 427 encrypt_pw_block_with_password_hash( const u8 *password, size_t password_len, const u8 *password_hash, u8 *pw_block) argument 471 u8 password_hash[16]; local 491 nt_password_hash_encrypted_with_block(const u8 *password_hash, const u8 *block, u8 *cypher) argument [all...] |
H A D | crypto_module_tests.c | 1596 u8 password_hash[] = { local 1626 os_memcmp(password_hash, buf, sizeof(password_hash)) != 0) { 1639 if (hash_nt_password_hash(password_hash, buf) ||
|
/freebsd-11.0-release/contrib/wpa/src/eap_peer/ |
H A D | mschapv2.c | 46 u8 password_hash[16], password_hash_hash[16]; local 99 if (nt_password_hash(password, password_len, password_hash) || 100 hash_nt_password_hash(password_hash, password_hash_hash))
|
H A D | eap_pwd.c | 29 int password_hash; member in struct:eap_pwd_data 135 data->password_hash = pwhash; 261 if (id->prep == EAP_PWD_PREP_NONE && data->password_hash) { 297 if (data->password_hash) {
|
H A D | eap_mschapv2.c | 525 u8 password_hash[16], password_hash_hash[16]; 616 if (nt_password_hash(new_password, new_password_len, password_hash) || 617 hash_nt_password_hash(password_hash, password_hash_hash) ||
|
/freebsd-11.0-release/contrib/wpa/src/eap_server/ |
H A D | eap.h | 32 int password_hash; /* whether password is hashed with member in struct:eap_user
|
H A D | eap_server_md5.c | 107 sm->user->password_hash) {
|
H A D | eap_server_gtc.c | 170 sm->user->password_hash) {
|
H A D | eap_server_pwd.c | 28 int password_hash; member in struct:eap_pwd_data 117 data->password_hash = sm->user->password_hash; 187 wpabuf_put_u8(data->outbuf, data->password_hash ? EAP_PWD_PREP_MS : 622 if (data->password_hash) {
|
H A D | eap_server_ttls.c | 533 if (!sm->user || !sm->user->password || sm->user->password_hash || 575 if (!sm->user || !sm->user->password || sm->user->password_hash || 669 if (sm->user->password_hash) 768 if (sm->user->password_hash) { 799 if (sm->user->password_hash) {
|
H A D | eap_server_mschapv2.c | 390 if (sm->user->password_hash) { 419 if (sm->user->password_hash) {
|
/freebsd-11.0-release/contrib/wpa/src/ap/ |
H A D | authsrv.c | 80 user->password_hash = eap_user->password_hash;
|
H A D | ap_config.h | 153 unsigned int password_hash:1; /* whether password is hashed with member in struct:hostapd_eap_user
|
H A D | ieee802_1x.c | 1960 user->password_hash = eap_user->password_hash;
|
/freebsd-11.0-release/lib/libpam/modules/pam_unix/ |
H A D | pam_unix.c | 79 static char password_hash[] = PASSWORD_HASH; variable 382 if (login_setcryptfmt(lc, password_hash, NULL) == NULL)
|