Home
last modified time | relevance | path

Searched refs:h1 (Results 1 – 25 of 60) sorted by relevance

123

/dragonfly/sys/crypto/poly1305/
H A Dpoly1305.c87 h1 = st->h[1]; in poly1305_blocks()
145 h1 += c; in poly1305_blocks()
152 st->h[1] = h1; in poly1305_blocks()
215 h1 = st->h[1]; in poly1305_finish()
220 c = h1 >> 26; in poly1305_finish()
221 h1 = h1 & 0x3ffffff; in poly1305_finish()
234 h1 += c; in poly1305_finish()
240 g1 = h1 + c; in poly1305_finish()
260 h1 = (h1 & mask) | g1; in poly1305_finish()
267 h1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff; in poly1305_finish()
[all …]
/dragonfly/crypto/libressl/crypto/poly1305/
H A Dpoly1305-donna.c105 h1 = st->h[1]; in poly1305_blocks()
163 h1 += c; in poly1305_blocks()
170 st->h[1] = h1; in poly1305_blocks()
235 h1 = st->h[1]; in poly1305_finish()
240 c = h1 >> 26; in poly1305_finish()
241 h1 = h1 & 0x3ffffff; in poly1305_finish()
254 h1 += c; in poly1305_finish()
260 g1 = h1 + c; in poly1305_finish()
280 h1 = (h1 & mask) | g1; in poly1305_finish()
287 h1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff; in poly1305_finish()
[all …]
/dragonfly/crypto/openssh/
H A Dpoly1305.c36 uint32_t h0,h1,h2,h3,h4; in poly1305_auth() local
67 h1 = 0; in poly1305_auth()
84 h1 += ((((uint64_t)t1 << 32) | t0) >> 26) & 0x3ffffff; in poly1305_auth()
98 t[1] += c; h1 = (uint32_t)t[1] & 0x3ffffff; b = (uint32_t)(t[1] >> 26); in poly1305_auth()
121 h1 += ((((uint64_t)t1 << 32) | t0) >> 26) & 0x3ffffff; in poly1305_auth()
130 h1 += b; b = h1 >> 26; h1 = h1 & 0x3ffffff; in poly1305_auth()
135 h1 += b; in poly1305_auth()
138 g1 = h1 + b; b = g1 >> 26; g1 &= 0x3ffffff; in poly1305_auth()
146 h1 = (h1 & nb) | (g1 & b); in poly1305_auth()
151 f0 = ((h0 ) | (h1 << 26)) + (uint64_t)U8TO32_LE(&key[16]); in poly1305_auth()
[all …]
H A Dumac.c371 UINT64 h1,h2; in nh_aux() local
379 h1 = *((UINT64 *)hp); in nh_aux()
390 h1 += MUL64((k0 + d0), (k4 + d4)); in nh_aux()
393 h1 += MUL64((k1 + d1), (k5 + d5)); in nh_aux()
407 ((UINT64 *)hp)[0] = h1; in nh_aux()
418 UINT64 h1,h2,h3; in nh_aux() local
426 h1 = *((UINT64 *)hp); in nh_aux()
461 ((UINT64 *)hp)[0] = h1; in nh_aux()
473 UINT64 h1,h2,h3,h4; in nh_aux() local
482 h1 = *((UINT64 *)hp); in nh_aux()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
H A Dfibonacci_heap.c43 ASSERT_TRUE (h1->empty ()); in test_empty_heap()
44 ASSERT_EQ (0, h1->nodes ()); in test_empty_heap()
45 ASSERT_EQ (NULL, h1->min ()); in test_empty_heap()
49 int_heap_t *r = h1->union_with (h2); in test_empty_heap()
71 ASSERT_EQ (i, h1->nodes ()); in test_basic_heap_operations()
72 h1->insert (i, &values[i]); in test_basic_heap_operations()
73 ASSERT_EQ (0, h1->min_key ()); in test_basic_heap_operations()
74 ASSERT_EQ (values[0], *h1->min ()); in test_basic_heap_operations()
83 h1->extract_min (); in test_basic_heap_operations()
86 ASSERT_TRUE (h1->empty ()); in test_basic_heap_operations()
[all …]
H A Ddouble-int.c31 #define add_double(l1,h1,l2,h2,lv,hv) \ argument
43 #define mul_double(l1,h1,l2,h2,lv,hv) \ argument
123 || (h == h1 in add_double_with_sign()
126 return OVERFLOW_SUM_SIGN (h1, h2, h); in add_double_with_sign()
141 *hv = - (unsigned HOST_WIDE_INT) h1; in neg_double()
142 return (*hv & h1) < 0; in neg_double()
147 *hv = ~h1; in neg_double()
175 encode (arg1, l1, h1); in mul_double_wide_with_sign()
210 if (h1 < 0) in mul_double_wide_with_sign()
217 neg_double (l1, h1, &neglow, &neghigh); in mul_double_wide_with_sign()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/
H A Ddouble-int.c88 h = (HOST_WIDE_INT) ((unsigned HOST_WIDE_INT) h1 in add_double_with_sign()
97 || (h == h1 in add_double_with_sign()
100 return OVERFLOW_SUM_SIGN (h1, h2, h); in add_double_with_sign()
115 *hv = - h1; in neg_double()
116 return (*hv & h1) < 0; in neg_double()
121 *hv = ~h1; in neg_double()
146 encode (arg1, l1, h1); in mul_double_with_sign()
176 if (h1 < 0) in mul_double_with_sign()
183 neg_double (l1, h1, &neglow, &neghigh); in mul_double_with_sign()
223 *hv = (unsigned HOST_WIDE_INT) h1 >> count; in rshift_double()
[all …]
H A Ddouble-int.h290 #define add_double(l1,h1,l2,h2,lv,hv) \ argument
291 add_double_with_sign (l1, h1, l2, h2, lv, hv, false)
298 #define mul_double(l1,h1,l2,h2,lv,hv) \ argument
299 mul_double_with_sign (l1, h1, l2, h2, lv, hv, false)
/dragonfly/contrib/binutils-2.34/gold/
H A Dstringpool.cc123 const Hashkey& h1, in operator ()() argument
126 return (h1.hash_code == h2.hash_code in operator ()()
127 && h1.length == h2.length in operator ()()
128 && (h1.string == h2.string in operator ()()
129 || memcmp(h1.string, h2.string, in operator ()()
130 h1.length * sizeof(Stringpool_char)) == 0)); in operator ()()
340 const Hashkey& h1(sort_info1->first); in operator ()() local
342 const Stringpool_char* s1 = h1.string; in operator ()()
344 const size_t len1 = h1.length; in operator ()()
/dragonfly/contrib/binutils-2.27/gold/
H A Dstringpool.cc123 const Hashkey& h1, in operator ()() argument
126 return (h1.hash_code == h2.hash_code in operator ()()
127 && h1.length == h2.length in operator ()()
128 && (h1.string == h2.string in operator ()()
129 || memcmp(h1.string, h2.string, in operator ()()
130 h1.length * sizeof(Stringpool_char)) == 0)); in operator ()()
340 const Hashkey& h1(sort_info1->first); in operator ()() local
342 const Stringpool_char* s1 = h1.string; in operator ()()
344 const size_t len1 = h1.length; in operator ()()
/dragonfly/contrib/gcc-4.7/libdecnumber/
H A DMakefile.in111 config.h: stamp-h1
112 test -f config.h || (rm -f stamp-h1 && $(MAKE) stamp-h1)
114 stamp-h1: $(srcdir)/config.in config.status
115 -rm -f stamp-h1
120 -rm -f stamp-h1
161 -rm -f config.h stamp-h1 config.status config.cache config.log \
/dragonfly/usr.sbin/lpr/common_source/
H A Dnet.c184 char h1[NI_MAXHOST], h2[NI_MAXHOST]; in checkremote() local
226 h1[0] = '\0'; in checkremote()
227 if (getnameinfo(lr->ai_addr, lr->ai_addrlen, h1, sizeof(h1), in checkremote()
236 if (strcmp(h1, h2) == 0) in checkremote()
/dragonfly/contrib/binutils-2.34/bfd/
H A DpeXXigen.c4368 if (h1 != NULL) in _bfd_XXi_final_link_postscript()
4378 (h1->root.u.def.value in _bfd_XXi_final_link_postscript()
4391 if (h1 != NULL in _bfd_XXi_final_link_postscript()
4413 if (h1 != NULL in _bfd_XXi_final_link_postscript()
4419 (h1->root.u.def.value in _bfd_XXi_final_link_postscript()
4432 if (h1 != NULL in _bfd_XXi_final_link_postscript()
4454 if (h1 != NULL in _bfd_XXi_final_link_postscript()
4469 if (h1 != NULL in _bfd_XXi_final_link_postscript()
4476 ((h1->root.u.def.value in _bfd_XXi_final_link_postscript()
4498 if (h1 != NULL) in _bfd_XXi_final_link_postscript()
[all …]
/dragonfly/contrib/binutils-2.27/bfd/
H A DpeXXigen.c4350 if (h1 != NULL) in _bfd_XXi_final_link_postscript()
4360 (h1->root.u.def.value in _bfd_XXi_final_link_postscript()
4373 if (h1 != NULL in _bfd_XXi_final_link_postscript()
4395 if (h1 != NULL in _bfd_XXi_final_link_postscript()
4401 (h1->root.u.def.value in _bfd_XXi_final_link_postscript()
4414 if (h1 != NULL in _bfd_XXi_final_link_postscript()
4436 if (h1 != NULL in _bfd_XXi_final_link_postscript()
4451 if (h1 != NULL in _bfd_XXi_final_link_postscript()
4458 ((h1->root.u.def.value in _bfd_XXi_final_link_postscript()
4480 if (h1 != NULL) in _bfd_XXi_final_link_postscript()
[all …]
/dragonfly/usr.sbin/lpr/pac/
H A Dpac.c395 const struct hent *h1, *h2; in qucmp() local
398 h1 = *(const struct hent * const *)a; in qucmp()
401 r = h1->h_feetpages < h2->h_feetpages ? in qucmp()
402 -1 : h1->h_feetpages > h2->h_feetpages; in qucmp()
404 r = strcmp(h1->h_name, h2->h_name); in qucmp()
/dragonfly/sys/vfs/ext2fs/
H A Dext2_hash.c183 uint32_t h0, h1 = 0x12A3FE2D, h2 = 0x37ABE8F9; in ext2_legacy_hash() local
195 h0 = h2 + (h1 ^ (val * multi)); in ext2_legacy_hash()
198 h2 = h1; in ext2_legacy_hash()
199 h1 = h0; in ext2_legacy_hash()
202 return (h1 << 1); in ext2_legacy_hash()
/dragonfly/crypto/libressl/apps/openssl/
H A Ds_socket.c230 struct hostent *h1, *h2; in do_accept() local
251 h1 = gethostbyaddr((char *) &from.sin_addr.s_addr, in do_accept()
253 if (h1 == NULL) { in do_accept()
256 if ((host = strdup(h1->h_name)) == NULL) { in do_accept()
/dragonfly/crypto/libressl/crypto/curve25519/
H A Dcurve25519.c84 carry1 = h1 + (1 << 24); h2 += carry1 >> 25; h1 -= carry1 & kTop39Bits; in fe_frombytes()
96 h[1] = h1; in fe_frombytes()
131 int32_t h1 = h[1]; in fe_tobytes() local
159 h2 += h1 >> 25; h1 &= kBottom25Bits; in fe_tobytes()
179 s[4] = h1 >> 6; in fe_tobytes()
180 s[5] = h1 >> 14; in fe_tobytes()
487 h[1] = h1; in fe_mul()
628 h[1] = h1; in fe_sq()
866 h1 += h1; in fe_sq2()
896 h[1] = h1; in fe_sq2()
[all …]
/dragonfly/contrib/gmp/mpn/generic/
H A Dhgcd2.c449 mp_limb_t h0, h1; in mpn_hgcd_mul_matrix1_inverse_vector() local
460 h1 = mpn_submul_1 (rp, bp, n, M->u[0][1]); in mpn_hgcd_mul_matrix1_inverse_vector()
461 ASSERT (h0 == h1); in mpn_hgcd_mul_matrix1_inverse_vector()
464 h1 = mpn_submul_1 (bp, ap, n, M->u[1][0]); in mpn_hgcd_mul_matrix1_inverse_vector()
465 ASSERT (h0 == h1); in mpn_hgcd_mul_matrix1_inverse_vector()
/dragonfly/crypto/libressl/crypto/sha/
H A Dsha_locl.h73 ll=(c)->h1; HOST_l2c(ll,(s)); \
110 c->h1=INIT_DATA_h1; in SHA1_Init()
202 B=c->h1; in HASH_BLOCK_DATA_ORDER()
326 c->h1=(c->h1+T)&0xffffffffL; in HASH_BLOCK_DATA_ORDER()
334 B=c->h1; in HASH_BLOCK_DATA_ORDER()
383 B=c->h1; in HASH_BLOCK_DATA_ORDER()
402 c->h1=(c->h1+B)&0xffffffffL; in HASH_BLOCK_DATA_ORDER()
410 B=c->h1; in HASH_BLOCK_DATA_ORDER()
/dragonfly/contrib/mdocml/
H A Dmansearch.c323 struct ohash *hand, *h1, *h2; in manmerge_and() local
337 h1 = h2; in manmerge_and()
340 h1 = hand; in manmerge_and()
346 for (res = ohash_first(h1, &slot1); res != NULL; in manmerge_and()
347 res = ohash_next(h1, &slot1)) { in manmerge_and()
365 ohash_delete(h1); in manmerge_and()
366 free(h1); in manmerge_and()
/dragonfly/contrib/wpa_supplicant/src/crypto/
H A Dfips_prf_openssl.c34 context.h1 = state[1]; in sha1_transform()
40 state[1] = context.h1; in sha1_transform()
/dragonfly/sys/dev/misc/kbd/
H A Datkbdc.c94 bus_space_handle_t h0, bus_space_handle_t h1);
226 bus_space_handle_t h1; in atkbdc_configure() local
253 bus_space_map(tag, port1, IO_KBDSIZE, 0, &h1); in atkbdc_configure()
256 h1 = (bus_space_handle_t)port1; in atkbdc_configure()
269 if ((bus_space_read_1(tag, h1, 0) & 0x2) == 0) in atkbdc_configure()
277 return atkbdc_setup(atkbdc_softc[0], tag, h0, h1); in atkbdc_configure()
282 bus_space_handle_t h1) in atkbdc_setup() argument
303 sc->ioh1 = h1; in atkbdc_setup()
/dragonfly/usr.sbin/rpcbind/
H A Dpmap_svc.c288 int h1, h2, h3, h4, p1, p2; in pmapproc_getport() local
301 if (sscanf(ua, "%d.%d.%d.%d.%d.%d", &h1, &h2, &h3, in pmapproc_getport()
306 "%d.%d.%d.%d.%d.%d", h1, h2, h3, h4, p1, p2); in pmapproc_getport()
/dragonfly/lib/libc/net/
H A Drcmd.c685 char h1[NI_MAXHOST], h2[NI_MAXHOST]; in __icheckhost() local
700 h1[0] = '\0'; in __icheckhost()
701 if (getnameinfo(raddr, salen, h1, sizeof(h1), NULL, 0, in __icheckhost()
719 if (strcmp(h1, h2) == 0) { in __icheckhost()

123