hash 44 lib/tdb/common/dump.c hash, offset, rec.next, rec.rec_len, rec.key_len, rec.data_len, hash 84 lib/tdb/common/tdb.c if (tdb_ofs_read(tdb, TDB_HASH_TOP(hash), &rec_ptr) == -1) hash 92 lib/tdb/common/tdb.c if (!TDB_DEAD(r) && hash==r->full_hash hash 115 lib/tdb/common/tdb.c if (tdb_lock(tdb, BUCKET(hash), locktype) == -1) hash 117 lib/tdb/common/tdb.c if (!(rec_ptr = tdb_find(tdb, key, hash, rec))) hash 118 lib/tdb/common/tdb.c tdb_unlock(tdb, BUCKET(hash), locktype); hash 133 lib/tdb/common/tdb.c if (!(rec_ptr = tdb_find(tdb, key, hash, &rec))) hash 166 lib/tdb/common/tdb.c uint32_t hash; hash 169 lib/tdb/common/tdb.c hash = tdb->hash_fn(&key); hash 170 lib/tdb/common/tdb.c if (!(rec_ptr = tdb_find_lock_hash(tdb,key,hash,F_RDLCK,&rec))) hash 204 lib/tdb/common/tdb.c uint32_t hash; hash 207 lib/tdb/common/tdb.c hash = tdb->hash_fn(&key); hash 209 lib/tdb/common/tdb.c if (!(rec_ptr = tdb_find_lock_hash(tdb,key,hash,F_RDLCK,&rec))) { hash 231 lib/tdb/common/tdb.c if (tdb_find_lock_hash(tdb, key, hash, F_RDLCK, &rec) == 0) hash 239 lib/tdb/common/tdb.c uint32_t hash = tdb->hash_fn(&key); hash 240 lib/tdb/common/tdb.c return tdb_exists_hash(tdb, key, hash); hash 286 lib/tdb/common/tdb.c if (tdb_ofs_read(tdb, TDB_HASH_TOP(hash), &rec_ptr) == -1) hash 315 lib/tdb/common/tdb.c if (tdb_ofs_read(tdb, TDB_HASH_TOP(hash), &rec_ptr) == -1) hash 353 lib/tdb/common/tdb.c if (tdb_lock(tdb, BUCKET(hash), F_WRLCK) == -1) hash 356 lib/tdb/common/tdb.c if (tdb_count_dead(tdb, hash) >= tdb->max_dead_records) { hash 361 lib/tdb/common/tdb.c tdb_purge_dead(tdb, hash); hash 364 lib/tdb/common/tdb.c if (!(rec_ptr = tdb_find(tdb, key, hash, &rec))) { hash 365 lib/tdb/common/tdb.c tdb_unlock(tdb, BUCKET(hash), F_WRLCK); hash 376 lib/tdb/common/tdb.c if (!(rec_ptr = tdb_find_lock_hash(tdb, key, hash, F_WRLCK, hash 394 lib/tdb/common/tdb.c uint32_t hash = tdb->hash_fn(&key); hash 395 lib/tdb/common/tdb.c return tdb_delete_hash(tdb, key, hash); hash 407 lib/tdb/common/tdb.c if (tdb_ofs_read(tdb, TDB_HASH_TOP(hash), &rec_ptr) == -1) hash 435 lib/tdb/common/tdb.c uint32_t hash; hash 446 lib/tdb/common/tdb.c hash = tdb->hash_fn(&key); hash 447 lib/tdb/common/tdb.c if (tdb_lock(tdb, BUCKET(hash), F_WRLCK) == -1) hash 452 lib/tdb/common/tdb.c if (tdb_exists_hash(tdb, key, hash)) { hash 458 lib/tdb/common/tdb.c if (tdb_update_hash(tdb, key, hash, dbuf) == 0) { hash 475 lib/tdb/common/tdb.c tdb_delete_hash(tdb, key, hash); hash 497 lib/tdb/common/tdb.c tdb, hash, &rec, hash 503 lib/tdb/common/tdb.c rec.full_hash = hash; hash 526 lib/tdb/common/tdb.c && (tdb_purge_dead(tdb, hash) == -1)) { hash 541 lib/tdb/common/tdb.c if (tdb_ofs_read(tdb, TDB_HASH_TOP(hash), &rec.next) == -1) hash 546 lib/tdb/common/tdb.c rec.full_hash = hash; hash 552 lib/tdb/common/tdb.c || tdb_ofs_write(tdb, TDB_HASH_TOP(hash), &rec_ptr) == -1) { hash 565 lib/tdb/common/tdb.c tdb_unlock(tdb, BUCKET(hash), F_WRLCK); hash 573 lib/tdb/common/tdb.c uint32_t hash; hash 578 lib/tdb/common/tdb.c hash = tdb->hash_fn(&key); hash 579 lib/tdb/common/tdb.c if (tdb_lock(tdb, BUCKET(hash), F_WRLCK) == -1) hash 606 lib/tdb/common/tdb.c tdb_unlock(tdb, BUCKET(hash), F_WRLCK); hash 58 lib/tdb/common/tdb_private.h #define TDB_HASH_TOP(hash) (FREELIST_TOP + (BUCKET(hash)+1)*sizeof(tdb_off_t)) hash 81 lib/tdb/common/tdb_private.h #define BUCKET(hash) ((hash) % tdb->header.hash_size) hash 129 lib/tdb/common/tdb_private.h uint32_t hash; hash 37 lib/tdb/common/traverse.c for (; tlock->hash < tdb->header.hash_size; tlock->hash++) { hash 38 lib/tdb/common/traverse.c if (!tlock->off && tlock->hash != 0) { hash 67 lib/tdb/common/traverse.c tdb->methods->next_hash_chain(tdb, &tlock->hash); hash 68 lib/tdb/common/traverse.c if (tlock->hash == tdb->header.hash_size) { hash 73 lib/tdb/common/traverse.c if (tdb_lock(tdb, tlock->hash, tlock->lock_rw) == -1) hash 78 lib/tdb/common/traverse.c if (tdb_ofs_read(tdb, TDB_HASH_TOP(tlock->hash), hash 120 lib/tdb/common/traverse.c tdb_unlock(tdb, tlock->hash, tlock->lock_rw); hash 128 lib/tdb/common/traverse.c if (tdb_unlock(tdb, tlock->hash, tlock->lock_rw) != 0) hash 162 lib/tdb/common/traverse.c if (tdb_unlock(tdb, tl->hash, tl->lock_rw) != 0) hash 173 lib/tdb/common/traverse.c if (tdb_unlock(tdb, tl->hash, tl->lock_rw) != 0) { hash 273 lib/tdb/common/traverse.c tdb->travlocks.off = tdb->travlocks.hash = 0; hash 284 lib/tdb/common/traverse.c if (tdb_unlock(tdb, tdb->travlocks.hash, tdb->travlocks.lock_rw) != 0) hash 299 lib/tdb/common/traverse.c if (tdb_lock(tdb,tdb->travlocks.hash,tdb->travlocks.lock_rw)) hash 310 lib/tdb/common/traverse.c if (tdb_unlock(tdb, tdb->travlocks.hash, tdb->travlocks.lock_rw) != 0) { hash 325 lib/tdb/common/traverse.c tdb->travlocks.hash = BUCKET(rec.full_hash); hash 331 lib/tdb/common/traverse.c oldhash = tdb->travlocks.hash; hash 340 lib/tdb/common/traverse.c if (tdb_unlock(tdb, tdb->travlocks.hash, tdb->travlocks.lock_rw) != 0) hash 32 lib/util/genrand.c static unsigned char hash[258]; hash 82 lib/util/genrand.c hash[ind] = (unsigned char)ind; hash 87 lib/util/genrand.c j += (hash[ind] + seedval[ind%seedlen]); hash 89 lib/util/genrand.c tc = hash[ind]; hash 90 lib/util/genrand.c hash[ind] = hash[j]; hash 91 lib/util/genrand.c hash[j] = tc; hash 94 lib/util/genrand.c hash[256] = 0; hash 95 lib/util/genrand.c hash[257] = 0; hash 104 lib/util/genrand.c unsigned char index_i = hash[256]; hash 105 lib/util/genrand.c unsigned char index_j = hash[257]; hash 113 lib/util/genrand.c index_j += hash[index_i]; hash 115 lib/util/genrand.c tc = hash[index_i]; hash 116 lib/util/genrand.c hash[index_i] = hash[index_j]; hash 117 lib/util/genrand.c hash[index_j] = tc; hash 119 lib/util/genrand.c t = hash[index_i] + hash[index_j]; hash 120 lib/util/genrand.c data[ind] = hash[t]; hash 123 lib/util/genrand.c hash[256] = index_i; hash 124 lib/util/genrand.c hash[257] = index_j; hash 2355 librpc/gen_ndr/cli_samr.c r.in.hash = hash; hash 2891 librpc/gen_ndr/cli_samr.c r.in.hash = hash; hash 256 librpc/gen_ndr/drsblobs.h uint8_t hash[16]; hash 2205 librpc/gen_ndr/ndr_drsblobs.c NDR_CHECK(ndr_push_array_uint8(ndr, NDR_SCALARS, r->hash, 16)); hash 2221 librpc/gen_ndr/ndr_drsblobs.c NDR_CHECK(ndr_pull_array_uint8(ndr, NDR_SCALARS, r->hash, 16)); hash 2237 librpc/gen_ndr/ndr_drsblobs.c ndr_print_array_uint8(ndr, "hash", r->hash, 16); hash 2610 librpc/gen_ndr/ndr_samr.c NDR_CHECK(ndr_push_array_uint8(ndr, NDR_SCALARS, r->hash, 16)); hash 2626 librpc/gen_ndr/ndr_samr.c NDR_CHECK(ndr_pull_array_uint8(ndr, NDR_SCALARS, r->hash, 16)); hash 2642 librpc/gen_ndr/ndr_samr.c ndr_print_array_uint8(ndr, "hash", r->hash, 16); hash 5080 librpc/gen_ndr/ndr_samr.c NDR_CHECK(ndr_push_samr_ValidationBlob(ndr, NDR_SCALARS, &r->hash)); hash 5088 librpc/gen_ndr/ndr_samr.c NDR_CHECK(ndr_push_samr_ValidationBlob(ndr, NDR_BUFFERS, &r->hash)); hash 5100 librpc/gen_ndr/ndr_samr.c NDR_CHECK(ndr_pull_samr_ValidationBlob(ndr, NDR_SCALARS, &r->hash)); hash 5108 librpc/gen_ndr/ndr_samr.c NDR_CHECK(ndr_pull_samr_ValidationBlob(ndr, NDR_BUFFERS, &r->hash)); hash 5120 librpc/gen_ndr/ndr_samr.c ndr_print_samr_ValidationBlob(ndr, "hash", &r->hash); hash 5133 librpc/gen_ndr/ndr_samr.c NDR_CHECK(ndr_push_samr_ValidationBlob(ndr, NDR_SCALARS, &r->hash)); hash 5140 librpc/gen_ndr/ndr_samr.c NDR_CHECK(ndr_push_samr_ValidationBlob(ndr, NDR_BUFFERS, &r->hash)); hash 5152 librpc/gen_ndr/ndr_samr.c NDR_CHECK(ndr_pull_samr_ValidationBlob(ndr, NDR_SCALARS, &r->hash)); hash 5159 librpc/gen_ndr/ndr_samr.c NDR_CHECK(ndr_pull_samr_ValidationBlob(ndr, NDR_BUFFERS, &r->hash)); hash 5171 librpc/gen_ndr/ndr_samr.c ndr_print_samr_ValidationBlob(ndr, "hash", &r->hash); hash 10635 librpc/gen_ndr/ndr_samr.c NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.hash)); hash 10636 librpc/gen_ndr/ndr_samr.c if (r->in.hash) { hash 10637 librpc/gen_ndr/ndr_samr.c NDR_CHECK(ndr_push_samr_Password(ndr, NDR_SCALARS, r->in.hash)); hash 10689 librpc/gen_ndr/ndr_samr.c NDR_PULL_ALLOC(ndr, r->in.hash); hash 10691 librpc/gen_ndr/ndr_samr.c r->in.hash = NULL; hash 10693 librpc/gen_ndr/ndr_samr.c if (r->in.hash) { hash 10695 librpc/gen_ndr/ndr_samr.c NDR_PULL_SET_MEM_CTX(ndr, r->in.hash, 0); hash 10696 librpc/gen_ndr/ndr_samr.c NDR_CHECK(ndr_pull_samr_Password(ndr, NDR_SCALARS, r->in.hash)); hash 10732 librpc/gen_ndr/ndr_samr.c ndr_print_ptr(ndr, "hash", r->in.hash); hash 10734 librpc/gen_ndr/ndr_samr.c if (r->in.hash) { hash 10735 librpc/gen_ndr/ndr_samr.c ndr_print_samr_Password(ndr, "hash", r->in.hash); hash 12084 librpc/gen_ndr/ndr_samr.c NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.hash)); hash 12085 librpc/gen_ndr/ndr_samr.c if (r->in.hash) { hash 12086 librpc/gen_ndr/ndr_samr.c NDR_CHECK(ndr_push_samr_Password(ndr, NDR_SCALARS, r->in.hash)); hash 12117 librpc/gen_ndr/ndr_samr.c NDR_PULL_ALLOC(ndr, r->in.hash); hash 12119 librpc/gen_ndr/ndr_samr.c r->in.hash = NULL; hash 12121 librpc/gen_ndr/ndr_samr.c if (r->in.hash) { hash 12123 librpc/gen_ndr/ndr_samr.c NDR_PULL_SET_MEM_CTX(ndr, r->in.hash, 0); hash 12124 librpc/gen_ndr/ndr_samr.c NDR_CHECK(ndr_pull_samr_Password(ndr, NDR_SCALARS, r->in.hash)); hash 12151 librpc/gen_ndr/ndr_samr.c ndr_print_ptr(ndr, "hash", r->in.hash); hash 12153 librpc/gen_ndr/ndr_samr.c if (r->in.hash) { hash 12154 librpc/gen_ndr/ndr_samr.c ndr_print_samr_Password(ndr, "hash", r->in.hash); hash 554 librpc/gen_ndr/ndr_xattr.c NDR_CHECK(ndr_push_array_uint8(ndr, NDR_SCALARS, r->hash, 16)); hash 576 librpc/gen_ndr/ndr_xattr.c NDR_CHECK(ndr_pull_array_uint8(ndr, NDR_SCALARS, r->hash, 16)); hash 599 librpc/gen_ndr/ndr_xattr.c ndr_print_array_uint8(ndr, "hash", r->hash, 16); hash 477 librpc/gen_ndr/samr.h uint8_t hash[16]; hash 798 librpc/gen_ndr/samr.h struct samr_ValidationBlob hash; hash 807 librpc/gen_ndr/samr.h struct samr_ValidationBlob hash; hash 1620 librpc/gen_ndr/samr.h struct samr_Password *hash;/* [unique] */ hash 1804 librpc/gen_ndr/samr.h struct samr_Password *hash;/* [unique] */ hash 80 librpc/gen_ndr/xattr.h uint8_t hash[16]; hash 215 nsswitch/libwbclient/wbclient.h } hash; hash 59 source3/include/secrets.h uint8 hash[16]; hash 82 source3/iniparser/src/dictionary.c unsigned hash ; hash 86 source3/iniparser/src/dictionary.c for (hash=0, i=0 ; i<len ; i++) { hash 87 source3/iniparser/src/dictionary.c hash += (unsigned)key[i] ; hash 88 source3/iniparser/src/dictionary.c hash += (hash<<10); hash 89 source3/iniparser/src/dictionary.c hash ^= (hash>>6) ; hash 91 source3/iniparser/src/dictionary.c hash += (hash <<3); hash 92 source3/iniparser/src/dictionary.c hash ^= (hash >>11); hash 93 source3/iniparser/src/dictionary.c hash += (hash <<15); hash 94 source3/iniparser/src/dictionary.c return hash ; hash 123 source3/iniparser/src/dictionary.c d->hash = (unsigned int *)calloc(size, sizeof(unsigned)); hash 151 source3/iniparser/src/dictionary.c free(d->hash); hash 174 source3/iniparser/src/dictionary.c unsigned hash ; hash 177 source3/iniparser/src/dictionary.c hash = dictionary_hash(key); hash 182 source3/iniparser/src/dictionary.c if (hash==d->hash[i]) { hash 293 source3/iniparser/src/dictionary.c unsigned hash ; hash 298 source3/iniparser/src/dictionary.c hash = dictionary_hash(key) ; hash 304 source3/iniparser/src/dictionary.c if (hash==d->hash[i]) { /* Same hash value */ hash 323 source3/iniparser/src/dictionary.c d->hash = (unsigned int *)mem_double(d->hash, d->size * sizeof(unsigned)) ; hash 339 source3/iniparser/src/dictionary.c d->hash[i] = hash; hash 357 source3/iniparser/src/dictionary.c unsigned hash ; hash 364 source3/iniparser/src/dictionary.c hash = dictionary_hash(key); hash 369 source3/iniparser/src/dictionary.c if (hash==d->hash[i]) { hash 387 source3/iniparser/src/dictionary.c d->hash[i] = 0 ; hash 55 source3/iniparser/src/dictionary.h unsigned * hash ; /** List of hash values for keys */ hash 32 source3/lib/dbwrap_file.c uint8 hash; hash 107 source3/lib/dbwrap_file.c file->hash = fsh(key.dptr, key.dsize); hash 116 source3/lib/dbwrap_file.c file->hash, file->name); hash 52 source3/libnet/libnet_samsync.c if (memcmp(user->lmpassword.hash, zero_buf, 16) != 0) { hash 53 source3/libnet/libnet_samsync.c sam_pwd_hash(rid, user->lmpassword.hash, lm_hash.hash, 0); hash 55 source3/libnet/libnet_samsync.c memset(lm_hash.hash, '\0', sizeof(lm_hash.hash)); hash 61 source3/libnet/libnet_samsync.c if (memcmp(user->ntpassword.hash, zero_buf, 16) != 0) { hash 62 source3/libnet/libnet_samsync.c sam_pwd_hash(rid, user->ntpassword.hash, nt_hash.hash, 0); hash 64 source3/libnet/libnet_samsync.c memset(nt_hash.hash, '\0', sizeof(nt_hash.hash)); hash 90 source3/libnet/libnet_samsync.c if (memcmp(keys.keys.keys2.lmpassword.pwd.hash, hash 93 source3/libnet/libnet_samsync.c keys.keys.keys2.lmpassword.pwd.hash, hash 94 source3/libnet/libnet_samsync.c lm_hash.hash, 0); hash 96 source3/libnet/libnet_samsync.c memset(lm_hash.hash, '\0', sizeof(lm_hash.hash)); hash 102 source3/libnet/libnet_samsync.c if (memcmp(keys.keys.keys2.ntpassword.pwd.hash, hash 105 source3/libnet/libnet_samsync.c keys.keys.keys2.ntpassword.pwd.hash, hash 106 source3/libnet/libnet_samsync.c nt_hash.hash, 0); hash 108 source3/libnet/libnet_samsync.c memset(nt_hash.hash, '\0', sizeof(nt_hash.hash)); hash 68 source3/libnet/libnet_samsync_display.c if (memcmp(r->lmpassword.hash, zero_buf, 16) != 0) { hash 69 source3/libnet/libnet_samsync_display.c pdb_sethexpwd(hex_lm_passwd, r->lmpassword.hash, r->acct_flags); hash 74 source3/libnet/libnet_samsync_display.c if (memcmp(r->ntpassword.hash, zero_buf, 16) != 0) { hash 75 source3/libnet/libnet_samsync_display.c pdb_sethexpwd(hex_nt_passwd, r->ntpassword.hash, r->acct_flags); hash 84 source3/libnet/libnet_samsync_keytab.c if (memcmp(r->ntpassword.hash, ctx->zero_buf, 16) == 0) { hash 89 source3/libnet/libnet_samsync_keytab.c blob = data_blob_const(r->ntpassword.hash, 16); hash 668 source3/libnet/libnet_samsync_ldif.c if (memcmp(r->lmpassword.hash, zero_buf, 16) != 0) { hash 669 source3/libnet/libnet_samsync_ldif.c pdb_sethexpwd(hex_lm_passwd, r->lmpassword.hash, r->acct_flags); hash 673 source3/libnet/libnet_samsync_ldif.c if (memcmp(r->ntpassword.hash, zero_buf, 16) != 0) { hash 674 source3/libnet/libnet_samsync_ldif.c pdb_sethexpwd(hex_nt_passwd, r->ntpassword.hash, r->acct_flags); hash 212 source3/libnet/libnet_samsync_passdb.c if (memcmp(r->lmpassword.hash, zero_buf, 16) != 0) { hash 213 source3/libnet/libnet_samsync_passdb.c pdb_set_lanman_passwd(account, r->lmpassword.hash, PDB_CHANGED); hash 216 source3/libnet/libnet_samsync_passdb.c if (memcmp(r->ntpassword.hash, zero_buf, 16) != 0) { hash 217 source3/libnet/libnet_samsync_passdb.c pdb_set_nt_passwd(account, r->ntpassword.hash, PDB_CHANGED); hash 250 source3/modules/vfs_acl_tdb.c memset(&xacl.info.sd_hs->hash[0], '\0', 16); hash 147 source3/modules/vfs_acl_xattr.c memset(&xacl.info.sd_hs->hash[0], '\0', 16); hash 121 source3/modules/vfs_streams_depot.c uint32_t hash; hash 160 source3/modules/vfs_streams_depot.c hash = hash_fn(data_blob_const(id_buf, sizeof(id_buf))); hash 162 source3/modules/vfs_streams_depot.c first = hash & 0xff; hash 163 source3/modules/vfs_streams_depot.c second = (hash >> 8) & 0xff; hash 40 source3/modules/vfs_streams_xattr.c unsigned char hash[16]; hash 58 source3/modules/vfs_streams_xattr.c MD5Final(hash, &ctx); hash 63 source3/modules/vfs_streams_xattr.c memcpy(&result, hash, sizeof(result)); hash 618 source3/nmbd/nmbd_winsserver.c unsigned int hash; hash 633 source3/nmbd/nmbd_winsserver.c if (sscanf(line,"VERSION %d %u", &version, &hash) != 2 || hash 434 source3/passdb/secrets.c memcpy(ret_pwd, pass->hash, 16); hash 605 source3/registry/regfio.c if ( !prs_uint32( "nk_off", ps, depth, &hash->nk_off )) hash 607 source3/registry/regfio.c if ( !prs_uint8s( True, "keycheck", ps, depth, hash->keycheck, sizeof( hash->keycheck )) ) hash 1761 source3/registry/regfio.c REGF_HASH_REC *hash = &parent->subkeys.hashes[parent->subkey_index]; hash 1763 source3/registry/regfio.c hash->nk_off = prs_offset( &nk->hbin->ps ) + nk->hbin->first_hbin_off - HBIN_HDR_SIZE; hash 1764 source3/registry/regfio.c memcpy( hash->keycheck, name, sizeof(uint32) ); hash 1765 source3/registry/regfio.c hash->fullname = talloc_strdup( file->mem_ctx, name ); hash 217 source3/rpc_client/cli_netlogon.c memcpy(lmpassword.hash, lm_owf, 16); hash 218 source3/rpc_client/cli_netlogon.c memcpy(ntpassword.hash, nt_owf, 16); hash 604 source3/rpc_client/cli_netlogon.c des_crypt112_16(new_password.hash, hash 55 source3/rpc_client/cli_samr.c E_old_pw_hash(new_lm_hash, old_lm_hash, hash1.hash); hash 56 source3/rpc_client/cli_samr.c E_old_pw_hash(old_lm_hash, new_lm_hash, hash2.hash); hash 57 source3/rpc_client/cli_samr.c E_old_pw_hash(new_nt_hash, old_nt_hash, hash3.hash); hash 58 source3/rpc_client/cli_samr.c E_old_pw_hash(old_nt_hash, new_nt_hash, hash4.hash); hash 59 source3/rpc_client/cli_samr.c E_old_pw_hash(old_lm_hash, new_nt_hash, hash5.hash); hash 60 source3/rpc_client/cli_samr.c E_old_pw_hash(old_nt_hash, new_lm_hash, hash6.hash); hash 119 source3/rpc_client/cli_samr.c E_old_pw_hash(new_nt_hash, old_lanman_hash, old_lanman_hash_enc.hash); hash 128 source3/rpc_client/cli_samr.c E_old_pw_hash(new_nt_hash, old_nt_hash, old_nt_hash_enc.hash); hash 166 source3/rpc_client/cli_samr.c memcpy(&old_nt_hash_enc.hash, old_nt_hash_enc_blob.data, 16); hash 167 source3/rpc_client/cli_samr.c memcpy(&old_lm_hash_enc.hash, old_lm_hash_enc_blob.data, 16); hash 225 source3/rpc_client/cli_samr.c E_old_pw_hash(new_nt_hash, old_lanman_hash, old_lanman_hash_enc.hash); hash 234 source3/rpc_client/cli_samr.c E_old_pw_hash(new_nt_hash, old_nt_hash, old_nt_hash_enc.hash); hash 744 source3/rpc_server/srv_netlog_nt.c des_crypt112_16(pwd, r->in.new_password->hash, p->dc->sess_key, 0); hash 1020 source3/rpc_server/srv_netlog_nt.c logon->password->lmpassword.hash, hash 1021 source3/rpc_server/srv_netlog_nt.c logon->password->ntpassword.hash, hash 1943 source3/rpc_server/srv_samr_nt.c memcpy(&lm_pwd.hash, lm_pass, sizeof(lm_pwd.hash)); hash 1944 source3/rpc_server/srv_samr_nt.c memcpy(&nt_pwd.hash, nt_pass, sizeof(nt_pwd.hash)); hash 1958 source3/rpc_server/srv_samr_nt.c D_P16(lm_pwd.hash, r->in.new_lm_crypted->hash, new_lmPwdHash.hash); hash 1959 source3/rpc_server/srv_samr_nt.c D_P16(new_lmPwdHash.hash, r->in.old_lm_crypted->hash, checkHash.hash); hash 1960 source3/rpc_server/srv_samr_nt.c if (memcmp(checkHash.hash, lm_pwd.hash, 16) != 0) { hash 1966 source3/rpc_server/srv_samr_nt.c D_P16(nt_pwd.hash, r->in.new_nt_crypted->hash, new_ntPwdHash.hash); hash 1967 source3/rpc_server/srv_samr_nt.c D_P16(new_ntPwdHash.hash, r->in.old_nt_crypted->hash, checkHash.hash); hash 1968 source3/rpc_server/srv_samr_nt.c if (memcmp(checkHash.hash, nt_pwd.hash, 16) != 0) { hash 1976 source3/rpc_server/srv_samr_nt.c D_P16(lm_pwd.hash, r->in.nt_cross->hash, checkHash.hash); hash 1977 source3/rpc_server/srv_samr_nt.c if (memcmp(checkHash.hash, new_ntPwdHash.hash, 16) != 0) { hash 1986 source3/rpc_server/srv_samr_nt.c D_P16(nt_pwd.hash, r->in.lm_cross->hash, checkHash.hash); hash 1987 source3/rpc_server/srv_samr_nt.c if (memcmp(checkHash.hash, new_lmPwdHash.hash, 16) != 0) { hash 1993 source3/rpc_server/srv_samr_nt.c if (!pdb_set_nt_passwd(pwd, new_ntPwdHash.hash, PDB_CHANGED) || hash 1994 source3/rpc_server/srv_samr_nt.c !pdb_set_lanman_passwd(pwd, new_lmPwdHash.hash, PDB_CHANGED)) { hash 2038 source3/rpc_server/srv_samr_nt.c r->in.lm_verifier->hash, hash 2040 source3/rpc_server/srv_samr_nt.c r->in.nt_verifier->hash, hash 2084 source3/rpc_server/srv_samr_nt.c if (!r->in.hash || !r->in.password) { hash 2090 source3/rpc_server/srv_samr_nt.c r->in.hash->hash, hash 2142 source3/rpc_server/srv_samr_nt.c r->in.lm_verifier->hash, hash 2144 source3/rpc_server/srv_samr_nt.c r->in.nt_verifier->hash, hash 2870 source3/rpc_server/srv_samr_nt.c memcpy(r->lm_pwd.hash, pdb_get_lanman_passwd(smbpass), 16); hash 2871 source3/rpc_server/srv_samr_nt.c memcpy(r->nt_pwd.hash, pdb_get_nt_passwd(smbpass), 16); hash 4527 source3/rpc_server/srv_samr_nt.c in = data_blob_const(id18->nt_pwd.hash, 16); hash 4543 source3/rpc_server/srv_samr_nt.c in = data_blob_const(id18->lm_pwd.hash, 16); hash 2659 source3/rpcclient/cmd_samr.c memcpy(info.info18.nt_pwd.hash, nt_hash, 16); hash 2660 source3/rpcclient/cmd_samr.c memcpy(info.info18.lm_pwd.hash, lm_hash, 16); hash 143 source3/smbd/mangle_hash2.c data_blob_const(&hash, sizeof(hash)), hash 156 source3/smbd/mangle_hash2.c data_blob_const(&hash, sizeof(hash)), &value)) { hash 355 source3/smbd/mangle_hash2.c unsigned int hash, multiplier; hash 369 source3/smbd/mangle_hash2.c hash = base_reverse[(unsigned char)name[7]]; hash 372 source3/smbd/mangle_hash2.c hash += multiplier * v; hash 377 source3/smbd/mangle_hash2.c prefix = cache_lookup(ctx, hash); hash 380 source3/smbd/mangle_hash2.c name, hash)); hash 519 source3/smbd/mangle_hash2.c unsigned int hash, v; hash 585 source3/smbd/mangle_hash2.c v = hash = mangle_hash(name, prefix_len); hash 609 source3/smbd/mangle_hash2.c cache_insert(name, prefix_len, hash); hash 613 source3/smbd/mangle_hash2.c name, hash, new_name, cache83)); hash 40 source3/winbindd/idmap_hash/idmap_hash.c uint32_t hash; hash 47 source3/winbindd/idmap_hash/idmap_hash.c hash = ((sid->sub_auths[1] ^ sid->sub_auths[2]) ^ sid->sub_auths[3]); hash 51 source3/winbindd/idmap_hash/idmap_hash.c hash = (((hash & 0xFFF00000) >> 20) hash 52 source3/winbindd/idmap_hash/idmap_hash.c + ((hash & 0x000FFF00) >> 8) hash 53 source3/winbindd/idmap_hash/idmap_hash.c + (hash & 0x000000FF)) & 0x0000FFF; hash 57 source3/winbindd/idmap_hash/idmap_hash.c return hash; hash 134 source3/winbindd/idmap_hash/idmap_hash.c uint32_t hash; hash 138 source3/winbindd/idmap_hash/idmap_hash.c if ((hash = hash_domain_sid(&dom_list[i].sid)) == 0) hash 144 source3/winbindd/idmap_hash/idmap_hash.c hash)); hash 146 source3/winbindd/idmap_hash/idmap_hash.c hashed_domains[hash].sid = talloc(hashed_domains, DOM_SID); hash 147 source3/winbindd/idmap_hash/idmap_hash.c sid_copy(hashed_domains[hash].sid, &dom_list[i].sid); hash 79 source4/auth/auth.h } hash; hash 374 source4/auth/credentials/credentials.c E_md4hash(password, nt_hash->hash); hash 283 source4/auth/credentials/credentials_files.c struct samr_Password hash; hash 284 source4/auth/credentials/credentials_files.c ZERO_STRUCT(hash); hash 286 source4/auth/credentials/credentials_files.c memcpy(hash.hash, nt_password_hash->data, hash 287 source4/auth/credentials/credentials_files.c MIN(nt_password_hash->length, sizeof(hash.hash))); hash 289 source4/auth/credentials/credentials_files.c cli_credentials_set_nt_hash(cred, &hash, CRED_SPECIFIED); hash 116 source4/auth/credentials/credentials_ntlm.c nt_hash->hash, &challenge, hash 148 source4/auth/credentials/credentials_ntlm.c SMBOWFencrypt(nt_hash->hash, hash 154 source4/auth/credentials/credentials_ntlm.c SMBsesskeygen_ntv1(nt_hash->hash, user_session_key); hash 163 source4/auth/credentials/credentials_ntlm.c SMBOWFencrypt(nt_hash->hash, challenge.data, hash 167 source4/auth/credentials/credentials_ntlm.c SMBsesskeygen_ntv1(nt_hash->hash, session_key.data); hash 184 source4/auth/credentials/pycredentials.c return PyString_FromStringAndSize(discard_const_p(char, ntpw->hash), 16); hash 188 source4/auth/kerberos/kerberos_util.c mach_pwd->hash, sizeof(mach_pwd->hash), hash 406 source4/auth/kerberos/kerberos_util.c mach_pwd->hash, sizeof(mach_pwd->hash), hash 189 source4/auth/ntlm/auth_sam.c user_info->password.hash.lanman, hash 190 source4/auth/ntlm/auth_sam.c user_info->password.hash.nt, hash 136 source4/auth/ntlm/auth_server.c cli_credentials_set_nt_hash(creds, user_info->password.hash.nt, hash 154 source4/auth/ntlm/auth_util.c user_info_in->password.hash.nt->hash, &chall_blob, hash 169 source4/auth/ntlm/auth_util.c SMBOWFencrypt(user_info_in->password.hash.nt->hash, challenge, blob.data); hash 172 source4/auth/ntlm/auth_util.c if (lp_client_lanman_auth(auth_context->lp_ctx) && user_info_in->password.hash.lanman) { hash 174 source4/auth/ntlm/auth_util.c SMBOWFencrypt(user_info_in->password.hash.lanman->hash, challenge, blob.data); hash 207 source4/auth/ntlm/auth_util.c if (E_deshash(user_info_in->password.plaintext, lanman.hash)) { hash 208 source4/auth/ntlm/auth_util.c user_info_temp->password.hash.lanman = talloc(user_info_temp, hash 210 source4/auth/ntlm/auth_util.c *user_info_temp->password.hash.lanman = lanman; hash 212 source4/auth/ntlm/auth_util.c user_info_temp->password.hash.lanman = NULL; hash 215 source4/auth/ntlm/auth_util.c E_md4hash(user_info_in->password.plaintext, nt.hash); hash 216 source4/auth/ntlm/auth_util.c user_info_temp->password.hash.nt = talloc(user_info_temp, hash 218 source4/auth/ntlm/auth_util.c *user_info_temp->password.hash.nt = nt; hash 193 source4/auth/ntlm/auth_winbind.c password_info->lmpassword = *user_info->password.hash.lanman; hash 194 source4/auth/ntlm/auth_winbind.c password_info->ntpassword = *user_info->password.hash.nt; hash 235 source4/auth/ntlm/ntlm_check.c if (memcmp(client_nt->hash, stored_nt->hash, sizeof(stored_nt->hash)) == 0) { hash 253 source4/auth/ntlm/ntlm_check.c if (memcmp(client_lanman->hash, stored_lanman->hash, sizeof(stored_lanman->hash)) == 0) { hash 321 source4/auth/ntlm/ntlm_check.c mdfour(client_nt.hash, nt_response->data, nt_response->length); hash 327 source4/auth/ntlm/ntlm_check.c if (E_deshash(unix_pw, client_lm.hash)) { hash 355 source4/auth/ntlm/ntlm_check.c stored_nt->hash, challenge, hash 370 source4/auth/ntlm/ntlm_check.c stored_nt->hash, challenge, hash 385 source4/auth/ntlm/ntlm_check.c stored_nt->hash, challenge, hash 406 source4/auth/ntlm/ntlm_check.c stored_nt->hash, challenge, hash 412 source4/auth/ntlm/ntlm_check.c *lm_sess_key = data_blob_talloc(mem_ctx, stored_lanman->hash, 8); hash 452 source4/auth/ntlm/ntlm_check.c stored_lanman->hash, challenge, hash 460 source4/auth/ntlm/ntlm_check.c memcpy(first_8_lm_hash, stored_lanman->hash, 8); hash 463 source4/auth/ntlm/ntlm_check.c *lm_sess_key = data_blob_talloc(mem_ctx, stored_lanman->hash, 8); hash 480 source4/auth/ntlm/ntlm_check.c stored_nt->hash, challenge, hash 492 source4/auth/ntlm/ntlm_check.c stored_nt->hash, challenge, hash 511 source4/auth/ntlm/ntlm_check.c stored_nt->hash, challenge, hash 523 source4/auth/ntlm/ntlm_check.c stored_nt->hash, challenge, hash 542 source4/auth/ntlm/ntlm_check.c stored_nt->hash, challenge, hash 554 source4/auth/ntlm/ntlm_check.c stored_nt->hash, challenge, hash 577 source4/auth/ntlm/ntlm_check.c stored_nt->hash, challenge, hash 585 source4/auth/ntlm/ntlm_check.c memcpy(first_8_lm_hash, stored_lanman->hash, 8); hash 588 source4/auth/ntlm/ntlm_check.c *lm_sess_key = data_blob_talloc(mem_ctx, stored_lanman->hash, 8); hash 535 source4/dsdb/common/util.c struct samr_Password *hash = NULL; hash 537 source4/dsdb/common/util.c if (val && (val->length >= sizeof(hash->hash))) { hash 538 source4/dsdb/common/util.c hash = talloc(mem_ctx, struct samr_Password); hash 539 source4/dsdb/common/util.c memcpy(hash->hash, val->data, MIN(val->length, sizeof(hash->hash))); hash 541 source4/dsdb/common/util.c return hash; hash 569 source4/dsdb/common/util.c memcpy((*hashes)[i].hash, (i*16)+(char *)val->data, 16); hash 873 source4/dsdb/common/util.c val.data = talloc_memdup(mem_ctx, hash->hash, 16); hash 895 source4/dsdb/common/util.c memcpy(i*16 + (char *)val.data, hashes[i].hash, 16); hash 1688 source4/dsdb/common/util.c mdfour(local_ntNewHash.hash, new_password->data, new_password->length); hash 1709 source4/dsdb/common/util.c if (E_deshash(new_pass, local_lmNewHash.hash)) { hash 1743 source4/dsdb/common/util.c if (lmNewHash && lmPwdHash && memcmp(lmNewHash->hash, lmPwdHash->hash, 16) == 0) { hash 1749 source4/dsdb/common/util.c if (ntNewHash && ntPwdHash && memcmp(ntNewHash->hash, ntPwdHash->hash, 16) == 0) { hash 1762 source4/dsdb/common/util.c if (memcmp(lmNewHash->hash, sambaLMPwdHistory[i].hash, 16) == 0) { hash 1770 source4/dsdb/common/util.c if (memcmp(ntNewHash->hash, sambaNTPwdHistory[i].hash, 16) == 0) { hash 183 source4/dsdb/samdb/ldb_modules/password_hash.c E_md4hash("", io->g.nt_history[0].hash); hash 221 source4/dsdb/samdb/ldb_modules/password_hash.c E_deshash("", io->g.lm_history[0].hash); hash 978 source4/dsdb/samdb/ldb_modules/password_hash.c MD5Final(pdb->hashes[i].hash, &md5); hash 1376 source4/dsdb/samdb/ldb_modules/password_hash.c mdfour(nt_hash->hash, io->n.cleartext_utf16->data, io->n.cleartext_utf16->length); hash 1392 source4/dsdb/samdb/ldb_modules/password_hash.c ok = E_deshash((char *)cleartext_unix, lm_hash->hash); hash 1396 source4/dsdb/samdb/ldb_modules/password_hash.c talloc_free(lm_hash->hash); hash 236 source4/dsdb/samdb/ldb_modules/samba3sam.c if (val->length != sizeof(pwd.hash)) { hash 239 source4/dsdb/samdb/ldb_modules/samba3sam.c memcpy(pwd.hash, val->data, sizeof(pwd.hash)); hash 256 source4/dsdb/samdb/ldb_modules/samba3sam.c out = data_blob_talloc(ctx, pwd->hash, sizeof(pwd->hash)); hash 107 source4/heimdal/kdc/kx509.c rep->hash->length = HMAC_size(&ctx); hash 108 source4/heimdal/kdc/kx509.c rep->hash->data = malloc(rep->hash->length); hash 109 source4/heimdal/kdc/kx509.c if (rep->hash->data == NULL) { hash 129 source4/heimdal/kdc/kx509.c HMAC_Final(&ctx, rep->hash->data, 0); hash 396 source4/heimdal/kdc/kx509.c ALLOC(rep.hash); hash 397 source4/heimdal/kdc/kx509.c if (rep.hash == NULL) hash 399 source4/heimdal/kdc/kx509.c krb5_data_zero(rep.hash); hash 63 source4/heimdal/lib/asn1/hash.c htab->hash = hash; hash 77 source4/heimdal/lib/asn1/hash.c for (hptr = htab->tab[(*htab->hash) (ptr) % htab->sz]; hash 115 source4/heimdal/lib/asn1/hash.c tabptr = &htab->tab[(*htab->hash) (ptr) % htab->sz]; hash 50 source4/heimdal/lib/asn1/hash.h unsigned (*hash)(void *); /* hash function */ hash 61 source4/heimdal/lib/asn1/symbol.c htab = hashtabnew(101, cmp, hash); hash 177 source4/heimdal/lib/gssapi/krb5/8003.c unsigned char hash[16]; hash 196 source4/heimdal/lib/gssapi/krb5/8003.c if(length != sizeof(hash)) { hash 205 source4/heimdal/lib/gssapi/krb5/8003.c if(hash_input_chan_bindings(input_chan_bindings, hash) != 0) { hash 209 source4/heimdal/lib/gssapi/krb5/8003.c if(memcmp(hash, p, sizeof(hash)) != 0) { hash 215 source4/heimdal/lib/gssapi/krb5/8003.c p += sizeof(hash); hash 51 source4/heimdal/lib/gssapi/krb5/get_mic.c u_char hash[16]; hash 87 source4/heimdal/lib/gssapi/krb5/get_mic.c MD5_Final (hash, &md5); hash 92 source4/heimdal/lib/gssapi/krb5/get_mic.c DES_cbc_cksum ((void *)hash, (void *)hash, sizeof(hash), hash 94 source4/heimdal/lib/gssapi/krb5/get_mic.c memcpy (p - 8, hash, 8); /* SGN_CKSUM */ hash 52 source4/heimdal/lib/gssapi/krb5/unwrap.c u_char hash[16]; hash 130 source4/heimdal/lib/gssapi/krb5/unwrap.c MD5_Final (hash, &md5); hash 135 source4/heimdal/lib/gssapi/krb5/unwrap.c DES_cbc_cksum ((void *)hash, (void *)hash, sizeof(hash), hash 137 source4/heimdal/lib/gssapi/krb5/unwrap.c if (memcmp (p - 8, hash, 8) != 0) hash 147 source4/heimdal/lib/gssapi/krb5/unwrap.c &schedule, (DES_cblock *)hash, DES_DECRYPT); hash 52 source4/heimdal/lib/gssapi/krb5/verify_mic.c u_char hash[16], *seq; hash 81 source4/heimdal/lib/gssapi/krb5/verify_mic.c MD5_Final (hash, &md5); hash 87 source4/heimdal/lib/gssapi/krb5/verify_mic.c DES_cbc_cksum ((void *)hash, (void *)hash, sizeof(hash), hash 89 source4/heimdal/lib/gssapi/krb5/verify_mic.c if (memcmp (p - 8, hash, 8) != 0) { hash 102 source4/heimdal/lib/gssapi/krb5/verify_mic.c &schedule, (DES_cblock *)hash, DES_DECRYPT); hash 205 source4/heimdal/lib/gssapi/krb5/wrap.c u_char hash[16]; hash 267 source4/heimdal/lib/gssapi/krb5/wrap.c MD5_Final (hash, &md5); hash 272 source4/heimdal/lib/gssapi/krb5/wrap.c DES_cbc_cksum ((void *)hash, (void *)hash, sizeof(hash), hash 274 source4/heimdal/lib/gssapi/krb5/wrap.c memcpy (p - 8, hash, 8); hash 297 source4/heimdal/lib/hcrypto/evp.c (ctx->md->final)(hash, ctx->ptr); hash 340 source4/heimdal/lib/hcrypto/evp.c ret = EVP_DigestFinal_ex(ctx, hash, hsize); hash 158 source4/heimdal/lib/hcrypto/hmac.c HMAC_Final(&ctx, hash, hash_len); hash 160 source4/heimdal/lib/hcrypto/hmac.c return hash; hash 55 source4/heimdal/lib/hcrypto/pkcs12.c unsigned char *v, *I, hash[EVP_MAX_MD_SIZE]; hash 110 source4/heimdal/lib/hcrypto/pkcs12.c EVP_DigestFinal_ex(ctx, hash, &size); hash 113 source4/heimdal/lib/hcrypto/pkcs12.c EVP_Digest(hash, size, hash, &size, md, NULL); hash 115 source4/heimdal/lib/hcrypto/pkcs12.c memcpy(outp, hash, min(outkeysize, size)); hash 122 source4/heimdal/lib/hcrypto/pkcs12.c v[i] = hash[i % size]; hash 321 source4/heimdal/lib/hcrypto/rand-fortuna.c unsigned char hash[BLOCK]; hash 327 source4/heimdal/lib/hcrypto/rand-fortuna.c md_result(&md, hash); hash 336 source4/heimdal/lib/hcrypto/rand-fortuna.c md_update(&st->pool[pos], hash, BLOCK); hash 341 source4/heimdal/lib/hcrypto/rand-fortuna.c memset(hash, 0, BLOCK); hash 1194 source4/heimdal/lib/hx509/ca.c unsigned char hash[SHA_DIGEST_LENGTH]; hash 1202 source4/heimdal/lib/hx509/ca.c SHA1_Final (hash, &m); hash 1205 source4/heimdal/lib/hx509/ca.c si.data = hash; hash 1206 source4/heimdal/lib/hx509/ca.c si.length = sizeof(hash); hash 880 source4/heimdal/lib/ntlm/ntlm.c ((unsigned char*)key)[0] = hash[0]; hash 881 source4/heimdal/lib/ntlm/ntlm.c ((unsigned char*)key)[1] = (hash[0] << 7) | (hash[1] >> 1); hash 882 source4/heimdal/lib/ntlm/ntlm.c ((unsigned char*)key)[2] = (hash[1] << 6) | (hash[2] >> 2); hash 883 source4/heimdal/lib/ntlm/ntlm.c ((unsigned char*)key)[3] = (hash[2] << 5) | (hash[3] >> 3); hash 884 source4/heimdal/lib/ntlm/ntlm.c ((unsigned char*)key)[4] = (hash[3] << 4) | (hash[4] >> 4); hash 885 source4/heimdal/lib/ntlm/ntlm.c ((unsigned char*)key)[5] = (hash[4] << 3) | (hash[5] >> 5); hash 886 source4/heimdal/lib/ntlm/ntlm.c ((unsigned char*)key)[6] = (hash[5] << 2) | (hash[6] >> 6); hash 887 source4/heimdal/lib/ntlm/ntlm.c ((unsigned char*)key)[7] = (hash[6] << 1); hash 210 source4/kdc/hdb-samba4.c struct samr_Password *hash; hash 228 source4/kdc/hdb-samba4.c hash = samdb_result_hash(mem_ctx, msg, "unicodePwd"); hash 232 source4/kdc/hdb-samba4.c if (hash) { hash 334 source4/kdc/hdb-samba4.c if (hash && !(userAccountControl & UF_USE_DES_KEY_ONLY)) { hash 342 source4/kdc/hdb-samba4.c hash->hash, sizeof(hash->hash), hash 783 source4/kdc/hdb-samba4.c mdfour(password_hash.hash, password_utf16.data, password_utf16.length); hash 808 source4/kdc/hdb-samba4.c password_hash.hash, sizeof(password_hash.hash), hash 897 source4/lib/registry/regf.c if (strncmp(lf.hr[i].hash, name, 4)) { hash 914 source4/lib/registry/regf.c uint32_t hash; hash 932 source4/lib/registry/regf.c hash = regf_create_lh_hash(name); hash 934 source4/lib/registry/regf.c if (lh.hr[i].base37 != hash) { hash 997 source4/lib/registry/regf.c uint32_t hash; hash 1008 source4/lib/registry/regf.c hash = regf_create_lh_hash(name); hash 1010 source4/lib/registry/regf.c if (lh.hr[j].base37 != hash) { hash 1255 source4/lib/registry/regf.c lf.hr[0].hash = talloc_strndup(lf.hr, name, 4); hash 1256 source4/lib/registry/regf.c W_ERROR_HAVE_NO_MEMORY(lf.hr[0].hash); hash 1337 source4/lib/registry/regf.c lf.hr[lf.key_count].hash = talloc_strndup(lf.hr, name, 4); hash 1338 source4/lib/registry/regf.c W_ERROR_HAVE_NO_MEMORY(lf.hr[lf.key_count].hash); hash 71 source4/lib/samba3/smbpasswd.c for (i = 0; i < (sizeof(pwd->hash) * 2); i += 2) hash 86 source4/lib/samba3/smbpasswd.c pwd->hash[i / 2] = (hinybble << 4) | lonybble; hash 102 source4/lib/samba3/smbpasswd.c for (i = 0; i < sizeof(pwd->hash); i++) hash 103 source4/lib/samba3/smbpasswd.c slprintf(&p[i*2], 3, "%02X", pwd->hash[i]); hash 50 source4/libcli/auth/credentials.c des_crypt128(creds->session_key, sum2, machine_password->hash); hash 76 source4/libcli/auth/credentials.c hmac_md5_init_rfc2104(machine_password->hash, sizeof(machine_password->hash), &ctx); hash 157 source4/libcli/auth/credentials.c des_crypt112_16(tmp.hash, pass->hash, creds->session_key, 1); hash 167 source4/libcli/auth/credentials.c des_crypt112_16(tmp.hash, pass->hash, creds->session_key, 0); hash 204 source4/libcli/auth/credentials.c dump_data_pw("Machine Pass", machine_password->hash, sizeof(machine_password->hash)); hash 83 source4/libnet/libnet_passwd.c E_old_pw_hash(new_lm_hash, old_lm_hash, lm_verifier.hash); hash 87 source4/libnet/libnet_passwd.c E_old_pw_hash(new_nt_hash, old_nt_hash, nt_verifier.hash); hash 129 source4/libnet/libnet_passwd.c E_old_pw_hash(new_lm_hash, old_lm_hash, lm_verifier.hash); hash 133 source4/libnet/libnet_passwd.c E_old_pw_hash(new_nt_hash, old_nt_hash, nt_verifier.hash); hash 174 source4/libnet/libnet_passwd.c E_old_pw_hash(new_lm_hash, old_lm_hash, lm_verifier.hash); hash 179 source4/libnet/libnet_passwd.c oe2.in.hash = &lm_verifier; hash 208 source4/libnet/libnet_passwd.c E_old_pw_hash(new_lm_hash, old_lm_hash, hash1.hash); hash 209 source4/libnet/libnet_passwd.c E_old_pw_hash(old_lm_hash, new_lm_hash, hash2.hash); hash 210 source4/libnet/libnet_passwd.c E_old_pw_hash(new_nt_hash, old_nt_hash, hash3.hash); hash 211 source4/libnet/libnet_passwd.c E_old_pw_hash(old_nt_hash, new_nt_hash, hash4.hash); hash 212 source4/libnet/libnet_passwd.c E_old_pw_hash(old_lm_hash, new_nt_hash, hash5.hash); hash 213 source4/libnet/libnet_passwd.c E_old_pw_hash(old_nt_hash, new_lm_hash, hash6.hash); hash 55 source4/libnet/libnet_samsync.c sam_rid_crypt(rid, user->lmpassword.hash, lm_hash.hash, 0); hash 60 source4/libnet/libnet_samsync.c sam_rid_crypt(rid, user->ntpassword.hash, nt_hash.hash, 0); hash 84 source4/libnet/libnet_samsync.c sam_rid_crypt(rid, keys.keys.keys2.lmpassword.pwd.hash, lm_hash.hash, 0); hash 93 source4/libnet/libnet_samsync.c sam_rid_crypt(rid, keys.keys.keys2.ntpassword.pwd.hash, nt_hash.hash, 0); hash 227 source4/ntp_signd/ntp_signd.c MD5Update(&ctx, nt_hash->hash, sizeof(nt_hash->hash)); hash 130 source4/ntvfs/posix/pvfs_shortname.c int i = hash % ctx->cache_size; hash 137 source4/ntvfs/posix/pvfs_shortname.c ctx->prefix_cache_hashes[i] = hash; hash 145 source4/ntvfs/posix/pvfs_shortname.c int i = hash % ctx->cache_size; hash 148 source4/ntvfs/posix/pvfs_shortname.c if (!ctx->prefix_cache[i] || hash != ctx->prefix_cache_hashes[i]) { hash 321 source4/ntvfs/posix/pvfs_shortname.c uint32_t hash, multiplier; hash 333 source4/ntvfs/posix/pvfs_shortname.c hash = ctx->base_reverse[(unsigned char)name[7]]; hash 336 source4/ntvfs/posix/pvfs_shortname.c hash += multiplier * v; hash 341 source4/ntvfs/posix/pvfs_shortname.c prefix = cache_lookup(ctx, hash); hash 343 source4/ntvfs/posix/pvfs_shortname.c M_DEBUG(10,("check_cache: %s -> %08X -> not found\n", name, hash)); hash 430 source4/ntvfs/posix/pvfs_shortname.c uint32_t hash, v; hash 500 source4/ntvfs/posix/pvfs_shortname.c v = hash = mangle_hash(ctx, name, prefix_len); hash 529 source4/ntvfs/posix/pvfs_shortname.c cache_insert(ctx, name, prefix_len, hash); hash 533 source4/ntvfs/posix/pvfs_shortname.c name, hash, new_name, cache83)); hash 513 source4/rpc_server/netlogon/dcerpc_netlogon.c r->in.logon->password->lmpassword.hash, hash 514 source4/rpc_server/netlogon/dcerpc_netlogon.c sizeof(r->in.logon->password->lmpassword.hash)); hash 516 source4/rpc_server/netlogon/dcerpc_netlogon.c r->in.logon->password->ntpassword.hash, hash 517 source4/rpc_server/netlogon/dcerpc_netlogon.c sizeof(r->in.logon->password->ntpassword.hash)); hash 538 source4/rpc_server/netlogon/dcerpc_netlogon.c user_info->password.hash.lanman = talloc(user_info, struct samr_Password); hash 539 source4/rpc_server/netlogon/dcerpc_netlogon.c NT_STATUS_HAVE_NO_MEMORY(user_info->password.hash.lanman); hash 540 source4/rpc_server/netlogon/dcerpc_netlogon.c *user_info->password.hash.lanman = r->in.logon->password->lmpassword; hash 542 source4/rpc_server/netlogon/dcerpc_netlogon.c user_info->password.hash.nt = talloc(user_info, struct samr_Password); hash 543 source4/rpc_server/netlogon/dcerpc_netlogon.c NT_STATUS_HAVE_NO_MEMORY(user_info->password.hash.nt); hash 544 source4/rpc_server/netlogon/dcerpc_netlogon.c *user_info->password.hash.nt = r->in.logon->password->ntpassword; hash 97 source4/rpc_server/samr/samr_password.c D_P16(lm_pwd->hash, r->in.new_lm_crypted->hash, new_lmPwdHash.hash); hash 98 source4/rpc_server/samr/samr_password.c D_P16(new_lmPwdHash.hash, r->in.old_lm_crypted->hash, checkHash.hash); hash 99 source4/rpc_server/samr/samr_password.c if (memcmp(checkHash.hash, lm_pwd, 16) != 0) { hash 105 source4/rpc_server/samr/samr_password.c D_P16(nt_pwd->hash, r->in.new_nt_crypted->hash, new_ntPwdHash.hash); hash 106 source4/rpc_server/samr/samr_password.c D_P16(new_ntPwdHash.hash, r->in.old_nt_crypted->hash, checkHash.hash); hash 107 source4/rpc_server/samr/samr_password.c if (memcmp(checkHash.hash, nt_pwd, 16) != 0) { hash 115 source4/rpc_server/samr/samr_password.c D_P16(lm_pwd->hash, r->in.nt_cross->hash, checkHash.hash); hash 116 source4/rpc_server/samr/samr_password.c if (memcmp(checkHash.hash, new_ntPwdHash.hash, 16) != 0) { hash 125 source4/rpc_server/samr/samr_password.c D_P16(nt_pwd->hash, r->in.lm_cross->hash, checkHash.hash); hash 126 source4/rpc_server/samr/samr_password.c if (memcmp(checkHash.hash, new_lmPwdHash.hash, 16) != 0) { hash 205 source4/rpc_server/samr/samr_password.c if (r->in.hash == NULL) { hash 244 source4/rpc_server/samr/samr_password.c lm_pwd_blob = data_blob(lm_pwd->hash, sizeof(lm_pwd->hash)); hash 276 source4/rpc_server/samr/samr_password.c E_old_pw_hash(new_lm_hash, lm_pwd->hash, lm_verifier.hash); hash 277 source4/rpc_server/samr/samr_password.c if (memcmp(lm_verifier.hash, r->in.hash->hash, 16) != 0) { hash 402 source4/rpc_server/samr/samr_password.c nt_pwd_blob = data_blob(nt_pwd->hash, sizeof(nt_pwd->hash)); hash 420 source4/rpc_server/samr/samr_password.c E_old_pw_hash(new_nt_hash, nt_pwd->hash, nt_verifier.hash); hash 421 source4/rpc_server/samr/samr_password.c if (memcmp(nt_verifier.hash, r->in.nt_verifier->hash, 16) != 0) { hash 437 source4/rpc_server/samr/samr_password.c E_old_pw_hash(new_nt_hash, lm_pwd->hash, lm_verifier.hash); hash 438 source4/rpc_server/samr/samr_password.c if (memcmp(lm_verifier.hash, r->in.lm_verifier->hash, 16) != 0) { hash 353 source4/torture/auth/pac.c krbsrv_bytes->hash, sizeof(krbsrv_bytes->hash), hash 364 source4/torture/auth/pac.c krbtgt_bytes->hash, sizeof(krbtgt_bytes->hash), hash 638 source4/torture/rpc/dssync.c dump_data_pw("CREDENTIALS nthash:", nthash->hash, sizeof(nthash->hash)); hash 231 source4/torture/rpc/netlogon.c E_md4hash(plain_pass, mach_password.hash); hash 290 source4/torture/rpc/netlogon.c E_md4hash(password, new_password.hash); hash 504 source4/torture/rpc/netlogon.c mdfour(nt_hash.hash, new_random_pass.data, new_random_pass.length); hash 959 source4/torture/rpc/samba3rpc.c E_md4hash(cli_credentials_get_password(wks_cred), mach_pw.hash); hash 1141 source4/torture/rpc/samba3rpc.c ZERO_STRUCT(pinfo.lmpassword.hash); hash 1143 source4/torture/rpc/samba3rpc.c pinfo.ntpassword.hash); hash 1146 source4/torture/rpc/samba3rpc.c arcfour_crypt_blob(pinfo.ntpassword.hash, hash 1147 source4/torture/rpc/samba3rpc.c sizeof(pinfo.ntpassword.hash), hash 1188 source4/torture/rpc/samba3rpc.c E_md4hash(password, new_password.hash); hash 2156 source4/torture/rpc/samba3rpc.c E_md4hash("foobar", mach_pw.hash); hash 1480 source4/torture/rpc/samlogon.c if (!E_deshash(plain_pass, pinfo.lmpassword.hash)) { hash 1481 source4/torture/rpc/samlogon.c ZERO_STRUCT(pinfo.lmpassword.hash); hash 1483 source4/torture/rpc/samlogon.c E_md4hash(plain_pass, pinfo.ntpassword.hash); hash 1486 source4/torture/rpc/samlogon.c creds_arcfour_crypt(creds, pinfo.lmpassword.hash, 16); hash 1487 source4/torture/rpc/samlogon.c creds_arcfour_crypt(creds, pinfo.ntpassword.hash, 16); hash 133 source4/torture/rpc/samr.c struct samr_Password hash; hash 139 source4/torture/rpc/samr.c E_md4hash("TeSTDSRM123", hash.hash); hash 145 source4/torture/rpc/samr.c r.in.hash = &hash; hash 951 source4/torture/rpc/samr.c memcpy(u.info18.nt_pwd.hash, out.data, out.length); hash 958 source4/torture/rpc/samr.c memcpy(u.info18.lm_pwd.hash, out.data, out.length); hash 1150 source4/torture/rpc/samr.c memcpy(u.info18.lm_pwd.hash, lm_hash, 16); hash 1151 source4/torture/rpc/samr.c memcpy(u.info18.nt_pwd.hash, nt_hash, 16); hash 1225 source4/torture/rpc/samr.c in = data_blob_const(u.info18.nt_pwd.hash, 16); hash 1228 source4/torture/rpc/samr.c memcpy(u.info18.nt_pwd.hash, out.data, out.length); hash 1232 source4/torture/rpc/samr.c in = data_blob_const(u.info18.lm_pwd.hash, 16); hash 1235 source4/torture/rpc/samr.c memcpy(u.info18.lm_pwd.hash, out.data, out.length); hash 1559 source4/torture/rpc/samr.c E_old_pw_hash(new_lm_hash, old_lm_hash, hash1.hash); hash 1560 source4/torture/rpc/samr.c E_old_pw_hash(old_lm_hash, new_lm_hash, hash2.hash); hash 1561 source4/torture/rpc/samr.c E_old_pw_hash(new_nt_hash, old_nt_hash, hash3.hash); hash 1562 source4/torture/rpc/samr.c E_old_pw_hash(old_nt_hash, new_nt_hash, hash4.hash); hash 1563 source4/torture/rpc/samr.c E_old_pw_hash(old_lm_hash, new_nt_hash, hash5.hash); hash 1564 source4/torture/rpc/samr.c E_old_pw_hash(old_nt_hash, new_lm_hash, hash6.hash); hash 1636 source4/torture/rpc/samr.c E_old_pw_hash(new_lm_hash, old_lm_hash, hash1.hash); hash 1637 source4/torture/rpc/samr.c E_old_pw_hash(old_lm_hash, new_lm_hash, hash2.hash); hash 1638 source4/torture/rpc/samr.c E_old_pw_hash(new_nt_hash, old_nt_hash, hash3.hash); hash 1639 source4/torture/rpc/samr.c E_old_pw_hash(old_nt_hash, new_nt_hash, hash4.hash); hash 1640 source4/torture/rpc/samr.c E_old_pw_hash(old_lm_hash, new_nt_hash, hash5.hash); hash 1641 source4/torture/rpc/samr.c E_old_pw_hash(old_nt_hash, new_lm_hash, hash6.hash); hash 1646 source4/torture/rpc/samr.c hash1.hash[0]++; hash 1662 source4/torture/rpc/samr.c hash1.hash[0]--; hash 1669 source4/torture/rpc/samr.c hash3.hash[0]--; hash 1683 source4/torture/rpc/samr.c hash3.hash[0]--; hash 1696 source4/torture/rpc/samr.c hash6.hash[0]++; hash 1706 source4/torture/rpc/samr.c hash6.hash[0]--; hash 1717 source4/torture/rpc/samr.c hash5.hash[0]++; hash 1729 source4/torture/rpc/samr.c hash5.hash[0]--; hash 1733 source4/torture/rpc/samr.c E_old_pw_hash(new_lm_hash, old_lm_hash, hash1.hash); hash 1734 source4/torture/rpc/samr.c E_old_pw_hash(old_lm_hash, new_lm_hash, hash2.hash); hash 1735 source4/torture/rpc/samr.c E_old_pw_hash(new_nt_hash, old_nt_hash, hash3.hash); hash 1736 source4/torture/rpc/samr.c E_old_pw_hash(old_nt_hash, new_nt_hash, hash4.hash); hash 1737 source4/torture/rpc/samr.c E_old_pw_hash(old_lm_hash, new_nt_hash, hash5.hash); hash 1738 source4/torture/rpc/samr.c E_old_pw_hash(old_nt_hash, new_lm_hash, hash6.hash); hash 1771 source4/torture/rpc/samr.c E_old_pw_hash(new_lm_hash, old_lm_hash, hash1.hash); hash 1772 source4/torture/rpc/samr.c E_old_pw_hash(old_lm_hash, new_lm_hash, hash2.hash); hash 1773 source4/torture/rpc/samr.c E_old_pw_hash(new_nt_hash, old_nt_hash, hash3.hash); hash 1774 source4/torture/rpc/samr.c E_old_pw_hash(old_nt_hash, new_nt_hash, hash4.hash); hash 1775 source4/torture/rpc/samr.c E_old_pw_hash(old_lm_hash, new_nt_hash, hash5.hash); hash 1776 source4/torture/rpc/samr.c E_old_pw_hash(old_nt_hash, new_lm_hash, hash6.hash); hash 1809 source4/torture/rpc/samr.c E_old_pw_hash(new_lm_hash, old_lm_hash, hash1.hash); hash 1810 source4/torture/rpc/samr.c E_old_pw_hash(old_lm_hash, new_lm_hash, hash2.hash); hash 1811 source4/torture/rpc/samr.c E_old_pw_hash(new_nt_hash, old_nt_hash, hash3.hash); hash 1812 source4/torture/rpc/samr.c E_old_pw_hash(old_nt_hash, new_nt_hash, hash4.hash); hash 1813 source4/torture/rpc/samr.c E_old_pw_hash(old_lm_hash, new_nt_hash, hash5.hash); hash 1814 source4/torture/rpc/samr.c E_old_pw_hash(old_nt_hash, new_lm_hash, hash6.hash); hash 1916 source4/torture/rpc/samr.c E_old_pw_hash(new_lm_hash, old_lm_hash, lm_verifier.hash); hash 1921 source4/torture/rpc/samr.c r.in.hash = &lm_verifier; hash 1924 source4/torture/rpc/samr.c lm_verifier.hash[0]++; hash 1941 source4/torture/rpc/samr.c E_old_pw_hash(new_lm_hash, old_lm_hash, lm_verifier.hash); hash 1946 source4/torture/rpc/samr.c r.in.hash = &lm_verifier; hash 1963 source4/torture/rpc/samr.c r.in.hash = NULL; hash 1990 source4/torture/rpc/samr.c r.in.hash = &lm_verifier; hash 2004 source4/torture/rpc/samr.c r.in.hash = &lm_verifier; hash 2019 source4/torture/rpc/samr.c E_old_pw_hash(new_lm_hash, old_lm_hash, lm_verifier.hash); hash 2024 source4/torture/rpc/samr.c r.in.hash = &lm_verifier; hash 2091 source4/torture/rpc/samr.c E_old_pw_hash(new_nt_hash, old_lm_hash, lm_verifier.hash); hash 2095 source4/torture/rpc/samr.c E_old_pw_hash(new_nt_hash, old_nt_hash, nt_verifier.hash); hash 2169 source4/torture/rpc/samr.c E_old_pw_hash(new_nt_hash, old_lm_hash, lm_verifier.hash); hash 2173 source4/torture/rpc/samr.c E_old_pw_hash(new_nt_hash, old_nt_hash, nt_verifier.hash); hash 2176 source4/torture/rpc/samr.c nt_verifier.hash[0]++; hash 2199 source4/torture/rpc/samr.c E_old_pw_hash(new_nt_hash, old_lm_hash, lm_verifier.hash); hash 2207 source4/torture/rpc/samr.c E_old_pw_hash(new_nt_hash, old_nt_hash, nt_verifier.hash); hash 2247 source4/torture/rpc/samr.c E_old_pw_hash(new_nt_hash, old_lm_hash, lm_verifier.hash); hash 2251 source4/torture/rpc/samr.c E_old_pw_hash(new_nt_hash, old_nt_hash, nt_verifier.hash); hash 2432 source4/torture/rpc/samr.c E_old_pw_hash(new_nt_hash, old_nt_hash, nt_verifier.hash); hash 2470 source4/torture/rpc/samr.c E_old_pw_hash(new_nt_hash, old_nt_hash, nt_verifier.hash); hash 76 source4/torture/rpc/samsync.c SMBOWFencrypt(nt_hash->hash, ninfo.challenge, ninfo.nt.data); hash 85 source4/torture/rpc/samsync.c SMBOWFencrypt(lm_hash->hash, ninfo.challenge, ninfo.lm.data); hash 567 source4/torture/rpc/samsync.c sam_rid_crypt(rid, user->lmpassword.hash, lm_hash.hash, 0); hash 571 source4/torture/rpc/samsync.c sam_rid_crypt(rid, user->ntpassword.hash, nt_hash.hash, 0); hash 585 source4/torture/rpc/samsync.c sam_rid_crypt(rid, keys.keys.keys2.lmpassword.pwd.hash, lm_hash.hash, 0); hash 589 source4/torture/rpc/samsync.c sam_rid_crypt(rid, keys.keys.keys2.ntpassword.pwd.hash, nt_hash.hash, 0); hash 1305 source4/torture/rpc/samsync.c mdfour(nt_hash.hash, s->secret.data, s->secret.length); hash 1328 source4/torture/rpc/samsync.c nt_hash.hash[0]++; hash 798 source4/torture/rpc/schannel.c E_md4hash(password, new_password.hash); hash 205 source4/utils/ntlm_auth.c E_md4hash(opt_password, nt_pw.hash); hash 206 source4/utils/ntlm_auth.c if (E_deshash(opt_password, lm_pw.hash)) {