Home
last modified time | relevance | path

Searched refs:h2 (Results 1 – 25 of 77) sorted by relevance

1234

/NextBSD/contrib/jemalloc/include/jemalloc/internal/
HDhash.h147 uint32_t h2 = seed; in hash_x86_128() local
169 h1 = hash_rotl_32(h1, 19); h1 += h2; in hash_x86_128()
172 k2 *= c2; k2 = hash_rotl_32(k2, 16); k2 *= c3; h2 ^= k2; in hash_x86_128()
174 h2 = hash_rotl_32(h2, 17); h2 += h3; in hash_x86_128()
175 h2 = h2*5 + 0x0bcaa747; in hash_x86_128()
213 k2 *= c2; k2 = hash_rotl_32(k2, 16); k2 *= c3; h2 ^= k2; in hash_x86_128()
224 h1 ^= len; h2 ^= len; h3 ^= len; h4 ^= len; in hash_x86_128()
226 h1 += h2; h1 += h3; h1 += h4; in hash_x86_128()
227 h2 += h1; h3 += h1; h4 += h1; in hash_x86_128()
230 h2 = hash_fmix_32(h2); in hash_x86_128()
[all …]
/NextBSD/crypto/openssh/
HDpoly1305.c36 uint32_t h0,h1,h2,h3,h4; in poly1305_auth() local
68 h2 = 0; in poly1305_auth()
85 h2 += ((((uint64_t)t2 << 32) | t1) >> 20) & 0x3ffffff; in poly1305_auth()
91 …t[0] = mul32x32_64(h0,r0) + mul32x32_64(h1,s4) + mul32x32_64(h2,s3) + mul32x32_64(h3,s2) + mul32x… in poly1305_auth()
92 …t[1] = mul32x32_64(h0,r1) + mul32x32_64(h1,r0) + mul32x32_64(h2,s4) + mul32x32_64(h3,s3) + mul32x… in poly1305_auth()
93 …t[2] = mul32x32_64(h0,r2) + mul32x32_64(h1,r1) + mul32x32_64(h2,r0) + mul32x32_64(h3,s4) + mul32x… in poly1305_auth()
94 …t[3] = mul32x32_64(h0,r3) + mul32x32_64(h1,r2) + mul32x32_64(h2,r1) + mul32x32_64(h3,r0) + mul32x… in poly1305_auth()
95 …t[4] = mul32x32_64(h0,r4) + mul32x32_64(h1,r3) + mul32x32_64(h2,r2) + mul32x32_64(h3,r1) + mul32x… in poly1305_auth()
99 t[2] += b; h2 = (uint32_t)t[2] & 0x3ffffff; b = (uint32_t)(t[2] >> 26); in poly1305_auth()
122 h2 += ((((uint64_t)t2 << 32) | t1) >> 20) & 0x3ffffff; in poly1305_auth()
[all …]
HDumac.c378 UINT64 h1,h2; in nh_aux() local
387 h2 = *((UINT64 *)hp + 1); in nh_aux()
398 h2 += MUL64((k4 + d0), (k8 + d4)); in nh_aux()
401 h2 += MUL64((k5 + d1), (k9 + d5)); in nh_aux()
404 h2 += MUL64((k6 + d2), (k10 + d6)); in nh_aux()
407 h2 += MUL64((k7 + d3), (k11 + d7)); in nh_aux()
415 ((UINT64 *)hp)[1] = h2; in nh_aux()
425 UINT64 h1,h2,h3; in nh_aux() local
434 h2 = *((UINT64 *)hp + 1); in nh_aux()
447 h2 += MUL64((k4 + d0), (k8 + d4)); in nh_aux()
[all …]
/NextBSD/contrib/apr/include/
HDapr_ring.h332 #define APR_RING_CONCAT(h1, h2, elem, link) do { \ argument
333 if (!APR_RING_EMPTY((h2), elem, link)) { \
335 APR_RING_FIRST((h2)), \
336 APR_RING_LAST((h2)), link); \
337 APR_RING_INIT((h2), elem, link); \
348 #define APR_RING_PREPEND(h1, h2, elem, link) do { \ argument
349 if (!APR_RING_EMPTY((h2), elem, link)) { \
351 APR_RING_FIRST((h2)), \
352 APR_RING_LAST((h2)), link); \
353 APR_RING_INIT((h2), elem, link); \
/NextBSD/sys/arm/include/
HDcpu.h32 uint64_t h, h2; in get_cyclecount() local
46 h2 = (uint64_t)atomic_load_acq_32(&ccnt_hi[cpu]); in get_cyclecount()
47 if (h != h2) in get_cyclecount()
49 return (h2 << 32 | l); in get_cyclecount()
HDbus.h270 #define __bs_copy(sz, t, h1, o1, h2, o2, cnt) \ argument
271 (*(t)->__bs_opname(c,sz))((t), h1, o1, h2, o2, cnt)
477 #define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \ argument
478 __bs_copy(1, t, h1, o1, h2, o2, c)
479 #define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \ argument
480 __bs_copy(2, t, h1, o1, h2, o2, c)
481 #define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \ argument
482 __bs_copy(4, t, h1, o1, h2, o2, c)
483 #define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \ argument
484 __bs_copy(8, t, h1, o1, h2, o2, c)
/NextBSD/crypto/openssl/crypto/sha/asm/
HDsha1-ia64.pl33 ($h0,$h1,$h2,$h3,$h4) = ("h0","h1","h2","h3","h4");
41 ($h0,$h1,$h2,$h3,$h4) = ("loc5","loc6","loc7","loc8","loc9");
253 { .mlx; ld4 $h2=[ctx],8
268 { .mmi; mov $C=$h2
288 add $h2=$h2,$C
295 { .mmi; st4 [ctx]=$h2,8
/NextBSD/sys/powerpc/include/
HDbus.h267 #define __bs_copy(sz, t, h1, o1, h2, o2, cnt) \ argument
268 (*(t)->__bs_opname(c,sz))(h1, o1, h2, o2, cnt)
440 #define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \
441 __bs_copy(1, t, h1, o1, h2, o2, c)
442 #define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \
443 __bs_copy(2, t, h1, o1, h2, o2, c)
444 #define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \
445 __bs_copy(4, t, h1, o1, h2, o2, c)
446 #define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \
447 __bs_copy(8, t, h1, o1, h2, o2, c)
[all …]
/NextBSD/sys/sparc64/include/
HDbus.h464 bus_size_t o1, bus_space_handle_t h2, bus_size_t o2, bus_size_t c) in bus_space_copy_region_1() argument
468 bus_space_write_1(t, h1, o1, bus_space_read_1(t, h2, o2)); in bus_space_copy_region_1()
473 bus_size_t o1, bus_space_handle_t h2, bus_size_t o2, bus_size_t c) in bus_space_copy_region_2() argument
477 bus_space_write_2(t, h1, o1, bus_space_read_2(t, h2, o2)); in bus_space_copy_region_2()
482 bus_size_t o1, bus_space_handle_t h2, bus_size_t o2, bus_size_t c) in bus_space_copy_region_4() argument
486 bus_space_write_4(t, h1, o1, bus_space_read_4(t, h2, o2)); in bus_space_copy_region_4()
491 bus_size_t o1, bus_space_handle_t h2, bus_size_t o2, bus_size_t c) in bus_space_copy_region_8() argument
495 bus_space_write_8(t, h1, o1, bus_space_read_8(t, h2, o2)); in bus_space_copy_region_8()
784 bus_size_t o1, bus_space_handle_t h2, bus_size_t o2, bus_size_t c) in bus_space_copy_region_stream_1() argument
788 bus_space_write_stream_1(t, h1, o1, bus_space_read_stream_1(t, h2, in bus_space_copy_region_stream_1()
[all …]
/NextBSD/usr.sbin/lpr/common_source/
HDnet.c188 char h1[NI_MAXHOST], h2[NI_MAXHOST]; in checkremote() local
235 h2[0] = '\0'; in checkremote()
237 h2, sizeof(h2), NULL, 0, in checkremote()
240 if (strcmp(h1, h2) == 0) in checkremote()
/NextBSD/sys/arm64/include/
HDbus.h274 #define __bs_copy(sz, t, h1, o1, h2, o2, cnt) \ argument
275 (*(t)->__bs_opname(c,sz))((t)->bs_cookie, h1, o1, h2, o2, cnt)
458 #define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \ argument
459 __bs_copy(1, t, h1, o1, h2, o2, c)
460 #define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \ argument
461 __bs_copy(2, t, h1, o1, h2, o2, c)
462 #define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \ argument
463 __bs_copy(4, t, h1, o1, h2, o2, c)
464 #define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \ argument
465 __bs_copy(8, t, h1, o1, h2, o2, c)
/NextBSD/sys/riscv/include/
HDbus.h274 #define __bs_copy(sz, t, h1, o1, h2, o2, cnt) \ argument
275 (*(t)->__bs_opname(c,sz))((t)->bs_cookie, h1, o1, h2, o2, cnt)
458 #define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \ argument
459 __bs_copy(1, t, h1, o1, h2, o2, c)
460 #define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \ argument
461 __bs_copy(2, t, h1, o1, h2, o2, c)
462 #define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \ argument
463 __bs_copy(4, t, h1, o1, h2, o2, c)
464 #define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \ argument
465 __bs_copy(8, t, h1, o1, h2, o2, c)
/NextBSD/usr.sbin/lpr/pac/
HDpac.c407 register const struct hent *h1, *h2; in qucmp() local
411 h2 = *(const struct hent * const *)b; in qucmp()
413 r = h1->h_feetpages < h2->h_feetpages ? in qucmp()
414 -1 : h1->h_feetpages > h2->h_feetpages; in qucmp()
416 r = strcmp(h1->h_name, h2->h_name); in qucmp()
/NextBSD/cddl/contrib/opensolaris/tools/ctf/cvt/
HDst_parse.c573 int c, h2; in tdefdecl() local
585 cp = id(cp, &h2); in tdefdecl()
586 ntdp = lookup(h2); in tdefdecl()
612 TYPEFILE(h2), TYPENUM(h2), in tdefdecl()
617 h2 = faketypenumber++; in tdefdecl()
621 "redefine type (%d,%d)\n", TYPEFILE(h2), in tdefdecl()
622 TYPENUM(h2)); in tdefdecl()
630 h2); in tdefdecl()
633 (*rtdp)->t_id = h2; in tdefdecl()
639 cp = tdefdecl(cp, h2, rtdp); in tdefdecl()
[all …]
/NextBSD/contrib/subversion/subversion/libsvn_ra_svn/
HDcram.c58 int i, h1, h2; in hex_decode() local
63 h2 = hex_to_int(hexval[2 * i + 1]); in hex_decode()
64 if (h1 == -1 || h2 == -1) in hex_decode()
66 hashval[i] = (unsigned char)((h1 << 4) | h2); in hex_decode()
/NextBSD/sys/opencrypto/
HDgfmult.c89 struct gf128 h2, h3, h4; in gf128_genmultable4() local
93 h2 = gf128_mul(h, &t->tbls[0]); in gf128_genmultable4()
95 gf128_genmultable(h2, &t->tbls[1]); in gf128_genmultable4()
100 h4 = gf128_mul(h2, &t->tbls[1]); in gf128_genmultable4()
/NextBSD/sys/pc98/include/
HDbus.h286 #define bus_space_compare(t1, h1, t2, h2) \ argument
287 i386_memio_compare((t1), (h1), (t2), (h2))
639 #define bus_space_copy_region_stream_1(t, h1, o1, h2, o2, c) \ argument
640 bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
641 #define bus_space_copy_region_stream_2(t, h1, o1, h2, o2, c) \ argument
642 bus_space_copy_region_2((t), (h1), (o1), (h2), (o2), (c))
643 #define bus_space_copy_region_stream_4(t, h1, o1, h2, o2, c) \ argument
644 bus_space_copy_region_4((t), (h1), (o1), (h2), (o2), (c))
/NextBSD/crypto/heimdal/doc/
HDheimdal.css7 h1, h2, h3 { selector
20 h2 { selector
/NextBSD/contrib/unbound/validator/
HDval_nsec3.c499 struct nsec3_cached_hash* h2 = (struct nsec3_cached_hash*)c2; in nsec3_hash_cmp() local
502 int c = query_dname_compare(h1->dname, h2->dname); in nsec3_hash_cmp()
508 nsec3_get_algo(h2->nsec3, h2->rr)) { in nsec3_hash_cmp()
510 nsec3_get_algo(h2->nsec3, h2->rr)) in nsec3_hash_cmp()
515 nsec3_get_iter(h2->nsec3, h2->rr)) { in nsec3_hash_cmp()
517 nsec3_get_iter(h2->nsec3, h2->rr)) in nsec3_hash_cmp()
522 (void)nsec3_get_salt(h2->nsec3, h2->rr, &s2, &s2len); in nsec3_hash_cmp()
/NextBSD/contrib/wpa/src/crypto/
HDfips_prf_openssl.c22 context.h2 = state[2]; in sha1_transform()
28 state[2] = context.h2; in sha1_transform()
/NextBSD/crypto/openssl/crypto/sha/
HDsha_locl.h74 ll=(c)->h2; (void)HOST_l2c(ll,(s)); \
134 c->h2 = INIT_DATA_h2; in fips_md_init()
225 C = c->h2; in HASH_BLOCK_DATA_ORDER()
397 c->h2 = (c->h2 + A) & 0xffffffffL; in HASH_BLOCK_DATA_ORDER()
406 C = c->h2; in HASH_BLOCK_DATA_ORDER()
455 C = c->h2; in HASH_BLOCK_DATA_ORDER()
483 c->h2 = (c->h2 + C) & 0xffffffffL; in HASH_BLOCK_DATA_ORDER()
492 C = c->h2; in HASH_BLOCK_DATA_ORDER()
/NextBSD/contrib/llvm/include/llvm/ADT/
HDHashing.h262 uint64_t h0, h1, h2, h3, h4, h5, h6; member
296 h2 = rotate(h2 + h5, 33) * k1; in mix()
300 h5 = h2 + h6; in mix()
303 std::swap(h2, h0); in mix()
309 return hash_16_bytes(hash_16_bytes(h3, h5) + shift_mix(h1) * k1 + h2, in finalize()
/NextBSD/sys/mips/include/
HDbus.h252 #define __bs_copy(sz, t, h1, o1, h2, o2, cnt) \ argument
253 (*(t)->__bs_opname(c,sz))((t)->bs_cookie, h1, o1, h2, o2, cnt)
437 #define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \ argument
438 __bs_copy(1, t, h1, o1, h2, o2, c)
439 #define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \ argument
440 __bs_copy(2, t, h1, o1, h2, o2, c)
441 #define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \ argument
442 __bs_copy(4, t, h1, o1, h2, o2, c)
443 #define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \ argument
444 __bs_copy(8, t, h1, o1, h2, o2, c)
/NextBSD/crypto/openssl/apps/
HDs_socket.c392 struct hostent *h1, *h2; in do_accept() local
463 h2 = GetHostByName(*host); in do_accept()
464 if (h2 == NULL) { in do_accept()
469 if (h2->h_addrtype != AF_INET) { in do_accept()
/NextBSD/usr.sbin/rpcbind/
HDpmap_svc.c296 int h1, h2, h3, h4, p1, p2; in pmapproc_getport() local
309 if (sscanf(ua, "%d.%d.%d.%d.%d.%d", &h1, &h2, &h3, in pmapproc_getport()
314 "%d.%d.%d.%d.%d.%d", h1, h2, h3, h4, p1, p2); in pmapproc_getport()

1234