/external/chromium/crypto/ |
D | symmetric_key_win.cc | 138 DWORD hash_size = 0; in CheckHMACKeySize() local 141 hash_size = 20; in CheckHMACKeySize() 144 hash_size = 32; in CheckHMACKeySize() 147 hash_size = 48; in CheckHMACKeySize() 150 hash_size = 64; in CheckHMACKeySize() 153 if (hash_size == 0) in CheckHMACKeySize() 158 return (key_size_in_bits >= (hash_size / 2 * 8) && in CheckHMACKeySize() 239 DWORD hash_size, in ComputePBKDF2Block() argument 271 std::vector<BYTE> hash_value(hash_size); in ComputePBKDF2Block() 273 DWORD size = hash_size; in ComputePBKDF2Block() [all …]
|
/external/e2fsprogs/e2fsck/ |
D | revoke.c | 94 int hash_size; member 117 (block << (hash_shift - 12))) & (table->hash_size - 1); in hash() 200 int journal_init_revoke(journal_t *journal, int hash_size) in journal_init_revoke() argument 211 J_ASSERT ((hash_size & (hash_size-1)) == 0); in journal_init_revoke() 213 journal->j_revoke->hash_size = hash_size; in journal_init_revoke() 216 tmp = hash_size; in journal_init_revoke() 222 kmalloc(hash_size * sizeof(struct list_head), GFP_KERNEL); in journal_init_revoke() 229 for (tmp = 0; tmp < hash_size; tmp++) in journal_init_revoke() 247 for (i=0; i<table->hash_size; i++) { in journal_destroy_revoke() 451 for (i = 0; i < revoke->hash_size; i++) { in journal_write_revoke_records() [all …]
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_record.c | 46 rl->hash_size = MD5_MAC_LEN; in tlsv1_record_set_cipher_suite() 49 rl->hash_size = SHA1_MAC_LEN; in tlsv1_record_set_cipher_suite() 52 rl->hash_size = SHA256_MAC_LEN; in tlsv1_record_set_cipher_suite() 208 rl->hash_size); in tlsv1_record_send() 219 if (clen < rl->hash_size) { in tlsv1_record_send() 427 if (plen < rl->hash_size) { in tlsv1_record_receive() 434 plen -= rl->hash_size; in tlsv1_record_receive() 437 rl->hash_size); in tlsv1_record_receive() 458 if (hlen != rl->hash_size || in tlsv1_record_receive()
|
D | tlsv1_server.c | 60 key_block_len = 2 * (conn->rl.hash_size + conn->rl.key_material_len + in tlsv1_server_derive_keys() 75 os_memcpy(conn->rl.read_mac_secret, pos, conn->rl.hash_size); in tlsv1_server_derive_keys() 76 pos += conn->rl.hash_size; in tlsv1_server_derive_keys() 78 os_memcpy(conn->rl.write_mac_secret, pos, conn->rl.hash_size); in tlsv1_server_derive_keys() 79 pos += conn->rl.hash_size; in tlsv1_server_derive_keys() 567 return 2 * (conn->rl.hash_size + conn->rl.key_material_len + in tlsv1_server_get_keyblock_size()
|
D | tlsv1_client.c | 78 key_block_len = 2 * (conn->rl.hash_size + conn->rl.key_material_len); in tls_derive_keys() 94 os_memcpy(conn->rl.write_mac_secret, pos, conn->rl.hash_size); in tls_derive_keys() 95 pos += conn->rl.hash_size; in tls_derive_keys() 97 os_memcpy(conn->rl.read_mac_secret, pos, conn->rl.hash_size); in tls_derive_keys() 98 pos += conn->rl.hash_size; in tls_derive_keys() 715 return 2 * (conn->rl.hash_size + conn->rl.key_material_len + in tlsv1_client_get_keyblock_size()
|
D | tlsv1_record.h | 41 size_t hash_size; member
|
/external/webp/src/utils/ |
D | color_cache.c | 25 const int hash_size = 1 << hash_bits; in VP8LColorCacheInit() local 28 cc->colors_ = (uint32_t*)WebPSafeCalloc((uint64_t)hash_size, in VP8LColorCacheInit()
|
/external/webkit/Tools/android/flex-2.5.4a/ |
D | sym.c | 156 int hashfunct( str, hash_size ) in hashfunct() argument 158 int hash_size; 169 hashval %= hash_size;
|
/external/e2fsprogs/lib/ext2fs/ |
D | tdb.c | 140 #define TDB_HASHTABLE_SIZE(tdb) ((tdb->header.hash_size+1)*sizeof(tdb_off_t)) 141 #define TDB_DATA_START(hash_size) TDB_HASH_TOP(hash_size-1) argument 162 #define BUCKET(hash) ((hash) % tdb->header.hash_size) 194 u32 hash_size; /* number of hash entries */ member 421 if (list < -1 || list >= (int)tdb->header.hash_size) { in _tdb_lock() 520 if (list < -1 || list >= (int)tdb->header.hash_size) { in tdb_unlock() 521 …TDB_LOG((tdb, TDB_DEBUG_ERROR, "tdb_unlock: list %d invalid (%d)\n", list, tdb->header.hash_size)); in tdb_unlock() 646 0, 4*tdb->header.hash_size)) { in _tdb_lockall() 684 0, 4*tdb->header.hash_size)) { in _tdb_unlockall() 950 for (;h < tdb->header.hash_size;h++) { in tdb_next_hash_chain() [all …]
|
D | tdb.h | 145 struct tdb_context *tdb_open(const char *name, int hash_size, int tdb_flags, 147 struct tdb_context *tdb_open_ex(const char *name, int hash_size, int tdb_flags,
|
/external/e2fsprogs/intl/ |
D | loadmsgcat.c | 1044 domain->hash_size = W (domain->must_swap, data->hash_tab_size); in _nl_load_domain() 1046 (domain->hash_size > 2 in _nl_load_domain() 1123 memneed = domain->hash_size * sizeof (nls_uint32); in _nl_load_domain() 1200 mem += domain->hash_size * sizeof (nls_uint32); in _nl_load_domain() 1318 for (i = 0; i < domain->hash_size; i++) in _nl_load_domain() 1325 nls_uint32 idx = hash_val % domain->hash_size; in _nl_load_domain() 1327 1 + (hash_val % (domain->hash_size - 2)); in _nl_load_domain() 1338 if (idx >= domain->hash_size - incr) in _nl_load_domain() 1339 idx -= domain->hash_size - incr; in _nl_load_domain()
|
D | dcigettext.c | 750 nls_uint32 idx = hash_val % domain->hash_size; in _nl_find_msg() 751 nls_uint32 incr = 1 + (hash_val % (domain->hash_size - 2)); in _nl_find_msg() 782 if (idx >= domain->hash_size - incr) in _nl_find_msg() 783 idx -= domain->hash_size - incr; in _nl_find_msg()
|
D | gettextP.h | 109 nls_uint32 hash_size; member
|
/external/dnsmasq/src/ |
D | cache.c | 26 static int bignames_left, hash_size; variable 114 else if (new_size <= hash_size || !(new = whine_malloc(new_size * sizeof(struct crec *)))) in rehash() 121 old_size = hash_size; in rehash() 123 hash_size = new_size; in rehash() 151 return hash_table + ((val ^ (val >> 16)) & (hash_size - 1)); in hash_bucket() 307 for (i = 0; i < hash_size; i++) in cache_scan_free() 600 for (i=0; i<hash_size; i++) in cache_find_by_addr() 673 for (i=0; i<hash_size; i++) in add_hosts_entry() 876 for (i=0; i<hash_size; i++) in cache_reload() 1023 for (i=0; i<hash_size; i++) in cache_unhash_dhcp() [all …]
|
/external/qemu/distrib/zlib-1.2.3/ |
D | deflate.c | 200 s->head[s->hash_size-1] = NIL; \ 201 zmemzero((Bytef *)s->head, (unsigned)(s->hash_size-1)*sizeof(*s->head)); 283 s->hash_size = 1 << s->hash_bits; 284 s->hash_mask = s->hash_size - 1; 289 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos)); 922 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos)); 934 zmemcpy(ds->head, ss->head, ds->hash_size * sizeof(Pos)); 1307 n = s->hash_size;
|
D | deflate.h | 137 uInt hash_size; /* number of elements in hash table */ member
|
/external/zlib/src/ |
D | deflate.c | 197 s->head[s->hash_size-1] = NIL; \ 198 zmemzero((Bytef *)s->head, (unsigned)(s->hash_size-1)*sizeof(*s->head)); 289 s->hash_size = 1 << s->hash_bits; 290 s->hash_mask = s->hash_size - 1; 295 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos)); 1040 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos)); 1052 zmemcpy((voidpf)ds->head, (voidpf)ss->head, ds->hash_size * sizeof(Pos)); 1430 n = s->hash_size;
|
D | deflate.h | 140 uInt hash_size; /* number of elements in hash table */ member
|
/external/valgrind/main/coregrind/m_debuginfo/ |
D | readpdb.c | 386 unsigned long hash_size; member 480 unsigned long hash_size; member 495 unsigned long hash_size; member 1180 symbols->hash_size = old->hash_size; in pdb_convert_symbols_header()
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls_openssl.c | 187 DWORD hash_size, len, i; in cryptoapi_rsa_priv_enc() local 217 len = sizeof(hash_size); in cryptoapi_rsa_priv_enc() 218 if (!CryptGetHashParam(hash, HP_HASHSIZE, (BYTE *) &hash_size, &len, in cryptoapi_rsa_priv_enc() 224 if ((int) hash_size != flen) { in cryptoapi_rsa_priv_enc() 226 (unsigned) hash_size, flen); in cryptoapi_rsa_priv_enc()
|