Searched refs:hash_size (Results 1 - 20 of 20) sorted by relevance

/freebsd-11-stable/contrib/wpa/src/tls/
H A Dtlsv1_record.c46 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 Dtlsv1_record.h41 size_t hash_size; member in struct:tlsv1_record_layer
H A Dtlsv1_client.c79 key_block_len = 2 * (conn->rl.hash_size + conn->rl.key_material_len);
95 os_memcpy(conn->rl.write_mac_secret, pos, conn->rl.hash_size);
96 pos += conn->rl.hash_size;
98 os_memcpy(conn->rl.read_mac_secret, pos, conn->rl.hash_size);
99 pos += conn->rl.hash_size;
774 return 2 * (conn->rl.hash_size + conn->rl.key_material_len +
H A Dtlsv1_server.c85 key_block_len = 2 * (conn->rl.hash_size + conn->rl.key_material_len +
100 os_memcpy(conn->rl.read_mac_secret, pos, conn->rl.hash_size);
101 pos += conn->rl.hash_size;
103 os_memcpy(conn->rl.write_mac_secret, pos, conn->rl.hash_size);
104 pos += conn->rl.hash_size;
674 return 2 * (conn->rl.hash_size + conn->rl.key_material_len +
/freebsd-11-stable/contrib/flex/
H A Dsym.c171 /* 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-11-stable/contrib/binutils/opcodes/
H A Dcgen-dis.c181 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 Dcgen-asm.c127 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-11-stable/contrib/binutils/bfd/
H A Dhash.c591 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-11-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Ddeflate.c205 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 Ddeflate.h137 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-11-stable/sys/netpfil/ipfw/
H A Dip_dn_private.h114 int hash_size; member in struct:dn_parms
134 /* flowsets and schedulers are in hash tables, with 'hash_size'
H A Dip_dn_io.c118 value = dn_cfg.hash_size;
124 dn_cfg.hash_size = value;
170 SYSCTL_PROC(_net_inet_ip_dummynet, OID_AUTO, hash_size,
H A Dip_dummynet.c1624 ipdn_bound_var((int *)&nfs->buckets, dn_cfg.hash_size,
1730 ipdn_bound_var((int *)&a.sch->buckets, dn_cfg.hash_size,
2529 dn_cfg.hash_size = 64; /* default hash size */
2534 dn_cfg.schedhash = dn_ht_init(NULL, dn_cfg.hash_size,
2537 dn_cfg.fshash = dn_ht_init(NULL, dn_cfg.hash_size,
/freebsd-11-stable/sys/contrib/zlib/
H A Ddeflate.h143 uInt hash_size; /* number of elements in hash table */ member in struct:internal_state
144 uInt hash_bits; /* log2(hash_size) */
145 uInt hash_mask; /* hash_size-1 */
H A Ddeflate.c193 s->head[s->hash_size-1] = NIL; \
194 zmemzero((Bytef *)s->head, (unsigned)(s->hash_size-1)*sizeof(*s->head));
208 n = s->hash_size;
317 s->hash_size = 1 << s->hash_bits;
318 s->hash_mask = s->hash_size - 1;
323 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
1130 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos));
1142 zmemcpy((voidpf)ds->head, (voidpf)ss->head, ds->hash_size * sizeof(Pos));
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_format_rar5.c1205 const int hash_size = sizeof(rar->file.blake2sp); local
1207 if(!read_ahead(a, hash_size, &p))
1211 memcpy(&rar->file.blake2sp, p, hash_size);
1213 if(ARCHIVE_OK != consume(a, hash_size)) {
1217 *extra_data_size -= hash_size;
/freebsd-11-stable/sys/libkern/
H A Dzlib.c394 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...]
/freebsd-11-stable/contrib/wpa/src/crypto/
H A Dtls_openssl.c405 DWORD hash_size, len, i; local
435 len = sizeof(hash_size);
436 if (!CryptGetHashParam(hash, HP_HASHSIZE, (BYTE *) &hash_size, &len,
442 if ((int) hash_size != flen) {
444 (unsigned) hash_size, flen);
/freebsd-11-stable/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c96 * +-------------------------------+ 'hash_size' set in work request
108 * For hash replies where the work request set 'hash_size' to request
382 u_int wr_len, uint32_t sid, u_int imm_len, u_int sgl_len, u_int hash_size,
408 V_FW_CRYPTO_LOOKASIDE_WR_HASH_SIZE(hash_size));
381 ccr_populate_wreq(struct ccr_softc *sc, struct chcr_wr *crwr, u_int kctx_len, u_int wr_len, uint32_t sid, u_int imm_len, u_int sgl_len, u_int hash_size, struct cryptop *crp) argument
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_netbsd.h2398 uptr hash_size; member in struct:__sanitizer::__sanitizer_cdbw

Completed in 382 milliseconds