Home
last modified time | relevance | path

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

123

/dragonfly/sys/crypto/poly1305/
H A Dpoly1305.c88 h2 = st->h[2]; in poly1305_blocks()
153 st->h[2] = h2; in poly1305_blocks()
216 h2 = st->h[2]; in poly1305_finish()
222 h2 += c; in poly1305_finish()
223 c = h2 >> 26; in poly1305_finish()
224 h2 = h2 & 0x3ffffff; in poly1305_finish()
243 g2 = h2 + c; in poly1305_finish()
261 h2 = (h2 & mask) | g2; in poly1305_finish()
268 h2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff; in poly1305_finish()
277 h2 = (unsigned long)f; in poly1305_finish()
[all …]
/dragonfly/crypto/libressl/crypto/poly1305/
H A Dpoly1305-donna.c106 h2 = st->h[2]; in poly1305_blocks()
171 st->h[2] = h2; in poly1305_blocks()
236 h2 = st->h[2]; in poly1305_finish()
242 h2 += c; in poly1305_finish()
243 c = h2 >> 26; in poly1305_finish()
244 h2 = h2 & 0x3ffffff; in poly1305_finish()
263 g2 = h2 + c; in poly1305_finish()
281 h2 = (h2 & mask) | g2; in poly1305_finish()
288 h2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff; in poly1305_finish()
297 h2 = (unsigned long)f; in poly1305_finish()
[all …]
/dragonfly/crypto/openssh/
H A Dpoly1305.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()
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()
131 h2 += b; b = h2 >> 26; h2 = h2 & 0x3ffffff; in poly1305_auth()
139 g2 = h2 + b; b = g2 >> 26; g2 &= 0x3ffffff; in poly1305_auth()
147 h2 = (h2 & nb) | (g2 & b); in poly1305_auth()
152 f1 = ((h1 >> 6) | (h2 << 20)) + (uint64_t)U8TO32_LE(&key[20]); in poly1305_auth()
[all …]
H A Dumac.c371 UINT64 h1,h2; in nh_aux() local
380 h2 = *((UINT64 *)hp + 1); in nh_aux()
391 h2 += MUL64((k4 + d0), (k8 + d4)); in nh_aux()
394 h2 += MUL64((k5 + d1), (k9 + d5)); in nh_aux()
408 ((UINT64 *)hp)[1] = h2; in nh_aux()
418 UINT64 h1,h2,h3; in nh_aux() local
427 h2 = *((UINT64 *)hp + 1); in nh_aux()
462 ((UINT64 *)hp)[1] = h2; in nh_aux()
473 UINT64 h1,h2,h3,h4; in nh_aux() local
483 h2 = *((UINT64 *)hp + 1); in nh_aux()
[all …]
/dragonfly/usr.sbin/lpr/common_source/
H A Dnet.c184 char h1[NI_MAXHOST], h2[NI_MAXHOST]; in checkremote() local
231 h2[0] = '\0'; in checkremote()
233 h2, sizeof(h2), NULL, 0, in checkremote()
236 if (strcmp(h1, h2) == 0) in checkremote()
/dragonfly/contrib/binutils-2.34/gold/
H A Dstringpool.cc124 const Hashkey& h2) const in operator ()()
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 ()()
341 const Hashkey& h2(sort_info2->first); in operator ()() local
343 const Stringpool_char* s2 = h2.string; in operator ()()
345 const size_t len2 = h2.length; in operator ()()
/dragonfly/contrib/binutils-2.27/gold/
H A Dstringpool.cc124 const Hashkey& h2) const in operator ()()
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 ()()
341 const Hashkey& h2(sort_info2->first); in operator ()() local
343 const Stringpool_char* s2 = h2.string; in operator ()()
345 const size_t len2 = h2.length; in operator ()()
/dragonfly/contrib/mdocml/
H A Dmansearch.c323 struct ohash *hand, *h1, *h2; in manmerge_and() local
335 h2 = manmerge(e, NULL); in manmerge_and()
336 if (ohash_entries(h2) < ohash_entries(hand)) { in manmerge_and()
337 h1 = h2; in manmerge_and()
338 h2 = hand; in manmerge_and()
348 if (ohash_find(h2, ohash_lookup_memory(h2, in manmerge_and()
360 for (res = ohash_first(h2, &slot2); res != NULL; in manmerge_and()
361 res = ohash_next(h2, &slot2)) in manmerge_and()
363 ohash_delete(h2); in manmerge_and()
364 free(h2); in manmerge_and()
/dragonfly/usr.sbin/lpr/pac/
H A Dpac.c395 const struct hent *h1, *h2; in qucmp() local
399 h2 = *(const struct hent * const *)b; 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/contrib/gcc-4.7/gcc/
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)
H A Ddouble-int.c80 unsigned HOST_WIDE_INT l2, HOST_WIDE_INT h2, in add_double_with_sign() argument
89 + (unsigned HOST_WIDE_INT) h2 in add_double_with_sign()
100 return OVERFLOW_SUM_SIGN (h1, h2, h); in add_double_with_sign()
134 unsigned HOST_WIDE_INT l2, HOST_WIDE_INT h2, in mul_double_with_sign() argument
147 encode (arg2, l2, h2); in mul_double_with_sign()
178 neg_double (l2, h2, &neglow, &neghigh); in mul_double_with_sign()
181 if (h2 < 0) in mul_double_with_sign()
/dragonfly/crypto/libressl/apps/openssl/
H A Ds_socket.c230 struct hostent *h1, *h2; in do_accept() local
262 h2 = gethostbyname(host); in do_accept()
263 if (h2 == NULL) { in do_accept()
269 if (h2->h_addrtype != AF_INET) { in do_accept()
/dragonfly/crypto/libressl/crypto/curve25519/
H A Dcurve25519.c90 carry2 = h2 + (1 << 25); h3 += carry2 >> 26; h2 -= carry2 & kTop38Bits; in fe_frombytes()
97 h[2] = h2; in fe_frombytes()
132 int32_t h2 = h[2]; in fe_tobytes() local
160 h3 += h2 >> 26; h2 &= kBottom26Bits; in fe_tobytes()
182 s[7] = h2 >> 5; in fe_tobytes()
183 s[8] = h2 >> 13; in fe_tobytes()
488 h[2] = h2; in fe_mul()
629 h[2] = h2; in fe_sq()
867 h2 += h2; in fe_sq2()
897 h[2] = h2; in fe_sq2()
[all …]
/dragonfly/crypto/libressl/crypto/sha/
H A Dsha_locl.h74 ll=(c)->h2; HOST_l2c(ll,(s)); \
111 c->h2=INIT_DATA_h2; in SHA1_Init()
203 C=c->h2; in HASH_BLOCK_DATA_ORDER()
327 c->h2=(c->h2+A)&0xffffffffL; in HASH_BLOCK_DATA_ORDER()
335 C=c->h2; in HASH_BLOCK_DATA_ORDER()
384 C=c->h2; in HASH_BLOCK_DATA_ORDER()
403 c->h2=(c->h2+C)&0xffffffffL; in HASH_BLOCK_DATA_ORDER()
411 C=c->h2; in HASH_BLOCK_DATA_ORDER()
/dragonfly/contrib/gcc-8.0/gcc/
H A Ddouble-int.c31 #define add_double(l1,h1,l2,h2,lv,hv) \ argument
32 add_double_with_sign (l1, h1, l2, h2, lv, hv, false)
43 #define mul_double(l1,h1,l2,h2,lv,hv) \ argument
44 mul_double_wide_with_sign (l1, h1, l2, h2, lv, hv, NULL, NULL, false)
106 unsigned HOST_WIDE_INT l2, HOST_WIDE_INT h2, in add_double_with_sign() argument
115 + (unsigned HOST_WIDE_INT) h2 in add_double_with_sign()
126 return OVERFLOW_SUM_SIGN (h1, h2, h); in add_double_with_sign()
162 unsigned HOST_WIDE_INT l2, HOST_WIDE_INT h2, in mul_double_wide_with_sign() argument
176 encode (arg2, l2, h2); in mul_double_wide_with_sign()
212 neg_double (l2, h2, &neglow, &neghigh); in mul_double_wide_with_sign()
[all …]
H A Dfibonacci_heap.c47 int_heap_t *h2 = new int_heap_t (INT_MIN); in test_empty_heap() local
49 int_heap_t *r = h1->union_with (h2); in test_empty_heap()
/dragonfly/contrib/wpa_supplicant/src/crypto/
H A Dfips_prf_openssl.c35 context.h2 = state[2]; in sha1_transform()
41 state[2] = context.h2; in sha1_transform()
/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/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()
/dragonfly/lib/libc/net/
H A Drcmd.c685 char h1[NI_MAXHOST], h2[NI_MAXHOST]; in __icheckhost() local
715 h2[0] = '\0'; in __icheckhost()
716 if (getnameinfo(r->ai_addr, r->ai_addrlen, h2, sizeof(h2), in __icheckhost()
719 if (strcmp(h1, h2) == 0) { in __icheckhost()
/dragonfly/sys/cpu/x86_64/include/
H A Dbus_dma.h960 #define bus_space_copy_region_stream_1(t, h1, o1, h2, o2, c) \ argument
961 bus_space_copy_region_1((t), (h1), (o1), (h2), (o2), (c))
962 #define bus_space_copy_region_stream_2(t, h1, o1, h2, o2, c) \ argument
963 bus_space_copy_region_2((t), (h1), (o1), (h2), (o2), (c))
964 #define bus_space_copy_region_stream_4(t, h1, o1, h2, o2, c) \ argument
965 bus_space_copy_region_4((t), (h1), (o1), (h2), (o2), (c))
/dragonfly/sys/dev/drm/amd/display/dc/dce110/
H A Ddce110_timing_generator_v.c157 uint32_t h2 = 0; in dce110_timing_generator_v_is_counter_moving() local
175 h2 = get_reg_field_value( in dce110_timing_generator_v_is_counter_moving()
185 if (h1 == h2 && v1 == v2) in dce110_timing_generator_v_is_counter_moving()
/dragonfly/sys/netgraph7/mppc/
H A Dng_mppc.c161 static void ng_mppc_getkey(const u_char *h, u_char *h2, int len);
812 ng_mppc_getkey(const u_char *h, u_char *h2, int len) in ng_mppc_getkey() argument
826 SHA1Update(&c, h2, len); in ng_mppc_getkey()
830 bcopy(hash, h2, len); in ng_mppc_getkey()
/dragonfly/sys/netgraph/mppc/
H A Dng_mppc.c146 static void ng_mppc_getkey(const u_char *h, u_char *h2, int len);
769 ng_mppc_getkey(const u_char *h, u_char *h2, int len) in ng_mppc_getkey() argument
784 SHA1Update(&c, h2, len); in ng_mppc_getkey()
788 bcopy(hash, h2, len); in ng_mppc_getkey()
/dragonfly/contrib/openbsd_libm/src/ld80/
H A De_lgammal.c138 h2 = 1.643014770044524804175197151958100656728E4L, variable
372 p2 = h0 + y * (h1 + y * (h2 + y * (h3 + y * (h4 + y * (h5 + y))))); in lgammal()

123