/freebsd-10.0-release/contrib/wpa/src/tls/ |
H A D | tlsv1_record.c | 46 rl->hash_size = MD5_MAC_LEN; 49 rl->hash_size = SHA1_MAC_LEN; 52 rl->hash_size = SHA256_MAC_LEN; 208 rl->hash_size); 219 if (clen < rl->hash_size) { 427 if (plen < rl->hash_size) { 434 plen -= rl->hash_size; 437 rl->hash_size); 458 if (hlen != rl->hash_size ||
|
H A D | tlsv1_record.h | 41 size_t hash_size; member in struct:tlsv1_record_layer
|
H A D | tlsv1_server.c | 60 key_block_len = 2 * (conn->rl.hash_size + conn->rl.key_material_len + 75 os_memcpy(conn->rl.read_mac_secret, pos, conn->rl.hash_size); 76 pos += conn->rl.hash_size; 78 os_memcpy(conn->rl.write_mac_secret, pos, conn->rl.hash_size); 79 pos += conn->rl.hash_size; 567 return 2 * (conn->rl.hash_size + conn->rl.key_material_len +
|
H A D | tlsv1_client.c | 78 key_block_len = 2 * (conn->rl.hash_size + conn->rl.key_material_len); 94 os_memcpy(conn->rl.write_mac_secret, pos, conn->rl.hash_size); 95 pos += conn->rl.hash_size; 97 os_memcpy(conn->rl.read_mac_secret, pos, conn->rl.hash_size); 98 pos += conn->rl.hash_size; 715 return 2 * (conn->rl.hash_size + conn->rl.key_material_len +
|
/freebsd-10.0-release/contrib/binutils/opcodes/ |
H A D | cgen-dis.c | 181 unsigned int hash_size = cd->dis_hash_size; local 190 xmalloc (hash_size * sizeof (CGEN_INSN_LIST *)); 191 memset (dis_hash_table, 0, hash_size * sizeof (CGEN_INSN_LIST *));
|
H A D | cgen-asm.c | 127 unsigned int hash_size = cd->asm_hash_size; local 136 xmalloc (hash_size * sizeof (CGEN_INSN_LIST *)); 137 memset (asm_hash_table, 0, hash_size * sizeof (CGEN_INSN_LIST *));
|
/freebsd-10.0-release/contrib/flex/ |
H A D | sym.c | 171 /* hashfunct - compute the hash value for "str" and hash size "hash_size" */ 173 static int hashfunct (str, hash_size) 175 int hash_size; 185 hashval %= hash_size;
|
/freebsd-10.0-release/contrib/binutils/bfd/ |
H A D | hash.c | 591 bfd_hash_set_default_size (bfd_size_type hash_size) 600 /* Work out best prime number near the hash_size. */ 602 if (hash_size <= hash_size_primes[index]) 590 bfd_hash_set_default_size(bfd_size_type hash_size) argument
|
/freebsd-10.0-release/sys/netpfil/ipfw/ |
H A D | ip_dn_io.c | 110 value = dn_cfg.hash_size; 116 dn_cfg.hash_size = value; 158 SYSCTL_PROC(_net_inet_ip_dummynet, OID_AUTO, hash_size,
|
H A D | ip_dn_private.h | 109 int hash_size; member in struct:dn_parms 129 /* flowsets and schedulers are in hash tables, with 'hash_size'
|
H A D | ip_dummynet.c | 1293 ipdn_bound_var((int *)&nfs->buckets, dn_cfg.hash_size, 1378 ipdn_bound_var((int *)&a.sch->buckets, dn_cfg.hash_size, 2141 dn_cfg.hash_size = 64; /* default hash size */ 2146 dn_cfg.schedhash = dn_ht_init(NULL, dn_cfg.hash_size, 2149 dn_cfg.fshash = dn_ht_init(NULL, dn_cfg.hash_size,
|
/freebsd-10.0-release/lib/libz/ |
H A 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)); 1042 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos)); 1054 zmemcpy((voidpf)ds->head, (voidpf)ss->head, ds->hash_size * sizeof(Pos)); 1432 n = s->hash_size;
|
H A D | deflate.h | 140 uInt hash_size; /* number of elements in hash table */ member in struct:internal_state 141 uInt hash_bits; /* log2(hash_size) */ 142 uInt hash_mask; /* hash_size-1 */
|
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/zmod/ |
H A D | deflate.c | 205 s->head[s->hash_size-1] = NIL; \ 207 (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)); 928 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos)); 940 zmemcpy(ds->head, ss->head, ds->hash_size * sizeof(Pos)); 1313 n = s->hash_size;
|
H A D | deflate.h | 137 uInt hash_size; /* number of elements in hash table */ member in struct:internal_state 138 uInt hash_bits; /* log2(hash_size) */ 139 uInt hash_mask; /* hash_size-1 */
|
/freebsd-10.0-release/contrib/wpa/src/crypto/ |
H A D | tls_openssl.c | 173 DWORD hash_size, len, i; local 203 len = sizeof(hash_size); 204 if (!CryptGetHashParam(hash, HP_HASHSIZE, (BYTE *) &hash_size, &len, 210 if ((int) hash_size != flen) { 212 (unsigned) hash_size, flen);
|
/freebsd-10.0-release/sys/net/ |
H A D | zlib.c | 394 uInt hash_size; /* number of elements in hash table */ member in struct:deflate_state 395 uInt hash_bits; /* log2(hash_size) */ 396 uInt hash_mask; /* hash_size-1 */ 729 s->head[s->hash_size-1] = NIL; \ 730 zmemzero((charf *)s->head, (unsigned)(s->hash_size-1)*sizeof(*s->head)); 802 s->hash_size = 1 << s->hash_bits; 803 s->hash_mask = s->hash_size - 1; 808 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos)); 1172 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos)); 1184 zmemcpy(ds->head, ss->head, ds->hash_size * sizeo [all...] |