Home
last modified time | relevance | path

Searched refs:hashes (Results 1 – 25 of 74) sorted by relevance

123

/NextBSD/contrib/subversion/subversion/libsvn_subr/
HDfnv1a.c70 fnv1a_32x4(apr_uint32_t hashes[SCALING], const void *input, apr_size_t len) in fnv1a_32x4()
78 hashes[0] ^= data[0]; in fnv1a_32x4()
79 hashes[0] *= FNV1_PRIME_32; in fnv1a_32x4()
80 hashes[1] ^= data[1]; in fnv1a_32x4()
81 hashes[1] *= FNV1_PRIME_32; in fnv1a_32x4()
82 hashes[2] ^= data[2]; in fnv1a_32x4()
83 hashes[2] *= FNV1_PRIME_32; in fnv1a_32x4()
84 hashes[3] ^= data[3]; in fnv1a_32x4()
85 hashes[3] *= FNV1_PRIME_32; in fnv1a_32x4()
95 finalize_fnv1a_32x4(apr_uint32_t hashes[SCALING], in finalize_fnv1a_32x4()
[all …]
HDfnv1a.h83 svn__fnv1a_32x4_raw(apr_uint32_t hashes[4],
/NextBSD/contrib/netbsd-tests/lib/libc/stdlib/
HDt_mi_vector_hash.c50 uint32_t hashes[3]; member
75 uint32_t hashes[3]; in ATF_TC_BODY() local
82 mi_vector_hash(buf + j, len, 0, hashes); in ATF_TC_BODY()
83 ATF_CHECK_EQ(hashes[0], testv[i].hashes[0]); in ATF_TC_BODY()
84 ATF_CHECK_EQ(hashes[1], testv[i].hashes[1]); in ATF_TC_BODY()
85 ATF_CHECK_EQ(hashes[2], testv[i].hashes[2]); in ATF_TC_BODY()
/NextBSD/crypto/openssl/crypto/x509/
HDby_dir.c83 STACK_OF(BY_DIR_HASH) *hashes;
181 if (ent->hashes) in by_dir_entry_free()
182 sk_BY_DIR_HASH_pop_free(ent->hashes, by_dir_hash_free); in by_dir_entry_free()
237 ent->hashes = sk_BY_DIR_HASH_new(by_dir_hash_cmp); in add_cert_dir()
239 if (!ent->dir || !ent->hashes) { in add_cert_dir()
312 if (type == X509_LU_CRL && ent->hashes) { in get_cert_by_subject()
315 idx = sk_BY_DIR_HASH_find(ent->hashes, &htmp); in get_cert_by_subject()
317 hent = sk_BY_DIR_HASH_value(ent->hashes, idx); in get_cert_by_subject()
398 idx = sk_BY_DIR_HASH_find(ent->hashes, &htmp); in get_cert_by_subject()
400 hent = sk_BY_DIR_HASH_value(ent->hashes, idx); in get_cert_by_subject()
[all …]
/NextBSD/contrib/jemalloc/src/
HDckh.c73 size_t hashes[2], bucket, cell; in ckh_isearch() local
77 ckh->hash(key, hashes); in ckh_isearch()
80 bucket = hashes[0] & ((ZU(1) << ckh->lg_curbuckets) - 1); in ckh_isearch()
86 bucket = hashes[1] & ((ZU(1) << ckh->lg_curbuckets) - 1); in ckh_isearch()
129 size_t hashes[2], bucket, tbucket; in ckh_evict_reloc_insert() local
158 ckh->hash(key, hashes); in ckh_evict_reloc_insert()
159 tbucket = hashes[1] & ((ZU(1) << ckh->lg_curbuckets) - 1); in ckh_evict_reloc_insert()
161 tbucket = hashes[0] & ((ZU(1) << ckh->lg_curbuckets) in ckh_evict_reloc_insert()
196 size_t hashes[2], bucket; in ckh_try_insert() local
200 ckh->hash(key, hashes); in ckh_try_insert()
[all …]
/NextBSD/sys/dev/usb/net/
HDif_ure.c782 uint32_t hashes[2] = { 0, 0 }; in ure_setmulti() local
791 hashes[0] = hashes[1] = 0xffffffff; in ure_setmulti()
802 hashes[0] |= (1 << h); in ure_setmulti()
804 hashes[1] |= (1 << (h - 32)); in ure_setmulti()
808 h = bswap32(hashes[0]); in ure_setmulti()
809 hashes[0] = bswap32(hashes[1]); in ure_setmulti()
810 hashes[1] = h; in ure_setmulti()
814 ure_write_4(sc, URE_PLA_MAR0, URE_MCU_TYPE_PLA, hashes[0]); in ure_setmulti()
815 ure_write_4(sc, URE_PLA_MAR4, URE_MCU_TYPE_PLA, hashes[1]); in ure_setmulti()
HDif_rue.c478 uint32_t hashes[2] = { 0, 0 }; in rue_setmulti() local
508 hashes[0] |= (1 << h); in rue_setmulti()
510 hashes[1] |= (1 << (h - 32)); in rue_setmulti()
523 rue_csr_write_4(sc, RUE_MAR0, hashes[0]); in rue_setmulti()
524 rue_csr_write_4(sc, RUE_MAR4, hashes[1]); in rue_setmulti()
/NextBSD/contrib/tcsh/
HDsh.hist.c440 generateHashes(int nChars, unsigned nWords, unsigned samples, unsigned *hashes, in generateHashes() argument
494 hashes[hash2tableIndex(hash, length)]++; in generateHashes()
521 unsigned hashes[4]; /* dummy place to put hashes */ in testHash() local
528 generateHashes(length, words, 0, hashes, 4); in testHash()
536 unsigned *hashes = xmalloc(length*sizeof(unsigned)); in testHash() local
537 memset(hashes, 0, length*sizeof(unsigned)); in testHash()
539 generateHashes(4, 1, length/2, hashes, length); in testHash()
547 unsigned hits = hashes[i]; in testHash()
564 for (i = 0; hashes[i] == 0; i++); /* find first occupied bucket */ in testHash()
568 unsigned hits = hashes[i]; in testHash()
[all …]
/NextBSD/contrib/jemalloc/include/jemalloc/internal/
HDhash.h327 uint64_t hashes[2]; in hash()
328 hash_x86_128(key, len, seed, hashes); in hash()
329 r_hash[0] = (size_t)hashes[0]; in hash()
330 r_hash[1] = (size_t)hashes[1]; in hash()
/NextBSD/sys/arm/allwinner/
HDif_emac.c194 uint32_t h, hashes[2]; in emac_set_rx_mode() local
207 hashes[0] = 0; in emac_set_rx_mode()
208 hashes[1] = 0; in emac_set_rx_mode()
210 hashes[0] = 0xffffffff; in emac_set_rx_mode()
211 hashes[1] = 0xffffffff; in emac_set_rx_mode()
219 hashes[h >> 5] |= 1 << (h & 0x1f); in emac_set_rx_mode()
225 EMAC_WRITE_REG(sc, EMAC_RX_HASH0, hashes[0]); in emac_set_rx_mode()
226 EMAC_WRITE_REG(sc, EMAC_RX_HASH1, hashes[1]); in emac_set_rx_mode()
/NextBSD/crypto/heimdal/lib/ntlm/
HDChangeLog3 * ntlm.c: replace hashes with keys.
100 * ntlm.c: sent lm hashes, needed for NTLM2 session
/NextBSD/sys/dev/rl/
HDif_rl.c518 uint32_t hashes[2] = { 0, 0 }; in rl_rxfilter() local
536 hashes[0] = 0xFFFFFFFF; in rl_rxfilter()
537 hashes[1] = 0xFFFFFFFF; in rl_rxfilter()
547 hashes[0] |= (1 << h); in rl_rxfilter()
549 hashes[1] |= (1 << (h - 32)); in rl_rxfilter()
552 if (hashes[0] != 0 || hashes[1] != 0) in rl_rxfilter()
556 CSR_WRITE_4(sc, RL_MAR0, hashes[0]); in rl_rxfilter()
557 CSR_WRITE_4(sc, RL_MAR4, hashes[1]); in rl_rxfilter()
/NextBSD/sys/dev/sk/
HDif_sk.c724 u_int32_t hashes[2] = { 0, 0 }, mode; local
745 hashes[0] = 0xFFFFFFFF;
746 hashes[1] = 0xFFFFFFFF;
768 hashes[0] |= (1 << h);
770 hashes[1] |= (1 << (h - 32));
777 SK_XM_WRITE_4(sc_if, XM_MAR0, hashes[0]);
778 SK_XM_WRITE_4(sc_if, XM_MAR2, hashes[1]);
786 u_int32_t crc, hashes[2] = { 0, 0 }, mode; local
797 hashes[0] = 0xFFFFFFFF;
798 hashes[1] = 0xFFFFFFFF;
[all …]
/NextBSD/tools/tools/locale/tools/
HDfinalize27 TEMP2=/tmp/${1}.hashes
/NextBSD/usr.sbin/freebsd-update/
HDfreebsd-update.sh1786 sort > ${X}.hashes
1790 cut -f 2 -d '|' < $3.hashes |
1799 comm -12 $1.hashes $2.hashes |
1825 done < $2.hashes
1828 sort -k 1,1 -t '|' $3.hashes |
1833 rm unmodified.files $1.hashes $2.hashes $3.hashes
/NextBSD/crypto/openssl/doc/apps/
HDc_rehash.pod55 The program uses the B<openssl> program to compute the hashes and
100 The path to an executable to use to generate hashes and
HDpasswd.pod5 passwd - compute password hashes
/NextBSD/sys/dev/sge/
HDif_sge.c449 uint32_t crc, hashes[2]; in sge_rxfilter() local
464 hashes[0] = 0xFFFFFFFF; in sge_rxfilter()
465 hashes[1] = 0xFFFFFFFF; in sge_rxfilter()
468 hashes[0] = hashes[1] = 0; in sge_rxfilter()
476 hashes[crc >> 31] |= 1 << ((crc >> 26) & 0x1f); in sge_rxfilter()
481 CSR_WRITE_4(sc, RxHashTable, hashes[0]); in sge_rxfilter()
482 CSR_WRITE_4(sc, RxHashTable2, hashes[1]); in sge_rxfilter()
/NextBSD/sys/dev/re/
HDif_re.c652 uint32_t hashes[2] = { 0, 0 }; in re_set_rxmode() local
674 hashes[0] = hashes[1] = 0xffffffff; in re_set_rxmode()
685 hashes[0] |= (1 << h); in re_set_rxmode()
687 hashes[1] |= (1 << (h - 32)); in re_set_rxmode()
691 if (hashes[0] != 0 || hashes[1] != 0) { in re_set_rxmode()
700 h = bswap32(hashes[0]); in re_set_rxmode()
701 hashes[0] = bswap32(hashes[1]); in re_set_rxmode()
702 hashes[1] = h; in re_set_rxmode()
709 hashes[0] = 0xffffffff; in re_set_rxmode()
710 hashes[1] = 0xffffffff; in re_set_rxmode()
[all …]
/NextBSD/contrib/pam_modules/pam_passwdqc/
HDPLATFORMS28 not-so-weak passwords with the obsolete "traditional" crypt(3) hashes
/NextBSD/sys/dev/vge/
HDif_vge.c540 uint32_t h, hashes[2]; in vge_rxfilter() local
547 hashes[0] = 0; in vge_rxfilter()
548 hashes[1] = 0; in vge_rxfilter()
566 hashes[0] = 0xFFFFFFFF; in vge_rxfilter()
567 hashes[1] = 0xFFFFFFFF; in vge_rxfilter()
594 hashes[0] |= (1 << h); in vge_rxfilter()
596 hashes[1] |= (1 << (h - 32)); in vge_rxfilter()
602 if (hashes[0] != 0 || hashes[1] != 0) in vge_rxfilter()
604 CSR_WRITE_4(sc, VGE_MAR0, hashes[0]); in vge_rxfilter()
605 CSR_WRITE_4(sc, VGE_MAR1, hashes[1]); in vge_rxfilter()
/NextBSD/sys/dev/lge/
HDif_lge.c374 u_int32_t h = 0, hashes[2] = { 0, 0 }; local
400 hashes[0] |= (1 << h);
402 hashes[1] |= (1 << (h - 32));
406 CSR_WRITE_4(sc, LGE_MAR0, hashes[0]);
407 CSR_WRITE_4(sc, LGE_MAR1, hashes[1]);
/NextBSD/sys/dev/wb/
HDif_wb.c418 u_int32_t hashes[2] = { 0, 0 }; local
447 hashes[0] |= (1 << h);
449 hashes[1] |= (1 << (h - 32));
459 CSR_WRITE_4(sc, WB_MAR0, hashes[0]);
460 CSR_WRITE_4(sc, WB_MAR1, hashes[1]);
/NextBSD/sys/dev/tl/
HDif_tl.c862 u_int32_t hashes[2] = { 0, 0 }; local
876 hashes[0] = 0xFFFFFFFF;
877 hashes[1] = 0xFFFFFFFF;
899 hashes[0] |= (1 << h);
901 hashes[1] |= (1 << (h - 32));
906 tl_dio_write32(sc, TL_HASH1, hashes[0]);
907 tl_dio_write32(sc, TL_HASH2, hashes[1]);
/NextBSD/sys/dev/ste/
HDif_ste.c411 uint32_t hashes[2] = { 0, 0 }; in ste_rxfilter() local
441 hashes[0] |= (1 << h); in ste_rxfilter()
443 hashes[1] |= (1 << (h - 32)); in ste_rxfilter()
448 CSR_WRITE_2(sc, STE_MAR0, hashes[0] & 0xFFFF); in ste_rxfilter()
449 CSR_WRITE_2(sc, STE_MAR1, (hashes[0] >> 16) & 0xFFFF); in ste_rxfilter()
450 CSR_WRITE_2(sc, STE_MAR2, hashes[1] & 0xFFFF); in ste_rxfilter()
451 CSR_WRITE_2(sc, STE_MAR3, (hashes[1] >> 16) & 0xFFFF); in ste_rxfilter()

123