Home
last modified time | relevance | path

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

123

/dflybsd-src/sys/crypto/poly1305/
H A Dpoly1305.c71 unsigned long h0, h1, h2, h3, h4; in poly1305_blocks() local
88 h2 = st->h[2]; in poly1305_blocks()
96 h2 += (U8TO32(m + 6) >> 4) & 0x3ffffff; in poly1305_blocks()
103 ((unsigned long long)h2 * s3) + in poly1305_blocks()
108 ((unsigned long long)h2 * s4) + in poly1305_blocks()
113 ((unsigned long long)h2 * r0) + in poly1305_blocks()
118 ((unsigned long long)h2 * r1) + in poly1305_blocks()
123 ((unsigned long long)h2 * r2) + in poly1305_blocks()
135 h2 = (unsigned long)d2 & 0x3ffffff; in poly1305_blocks()
153 st->h[2] = h2; in poly1305_blocks()
[all …]
/dflybsd-src/crypto/libressl/crypto/poly1305/
H A Dpoly1305-donna.c89 unsigned long h0, h1, h2, h3, h4; in poly1305_blocks() local
106 h2 = st->h[2]; in poly1305_blocks()
114 h2 += (U8TO32(m + 6) >> 4) & 0x3ffffff; in poly1305_blocks()
121 ((unsigned long long)h2 * s3) + in poly1305_blocks()
126 ((unsigned long long)h2 * s4) + in poly1305_blocks()
131 ((unsigned long long)h2 * r0) + in poly1305_blocks()
136 ((unsigned long long)h2 * r1) + in poly1305_blocks()
141 ((unsigned long long)h2 * r2) + in poly1305_blocks()
153 h2 = (unsigned long)d2 & 0x3ffffff; in poly1305_blocks()
171 st->h[2] = h2; in poly1305_blocks()
[all …]
/dflybsd-src/crypto/openssh/
H A Dpoly1305.c35 uint32_t h0,h1,h2,h3,h4; in poly1305_auth() local
67 h2 = 0; in poly1305_auth()
84 h2 += ((((uint64_t)t2 << 32) | t1) >> 20) & 0x3ffffff; in poly1305_auth()
90 …t[0] = mul32x32_64(h0,r0) + mul32x32_64(h1,s4) + mul32x32_64(h2,s3) + mul32x32_64(h3,s2) + mul32x… in poly1305_auth()
91 …t[1] = mul32x32_64(h0,r1) + mul32x32_64(h1,r0) + mul32x32_64(h2,s4) + mul32x32_64(h3,s3) + mul32x… in poly1305_auth()
92 …t[2] = mul32x32_64(h0,r2) + mul32x32_64(h1,r1) + mul32x32_64(h2,r0) + mul32x32_64(h3,s4) + mul32x… in poly1305_auth()
93 …t[3] = mul32x32_64(h0,r3) + mul32x32_64(h1,r2) + mul32x32_64(h2,r1) + mul32x32_64(h3,r0) + mul32x… in poly1305_auth()
94 …t[4] = mul32x32_64(h0,r4) + mul32x32_64(h1,r3) + mul32x32_64(h2,r2) + mul32x32_64(h3,r1) + mul32x… in poly1305_auth()
98 t[2] += b; h2 = (uint32_t)t[2] & 0x3ffffff; b = (uint32_t)(t[2] >> 26); in poly1305_auth()
121 h2 += ((((uint64_t)t2 << 32) | t1) >> 20) & 0x3ffffff; in poly1305_auth()
[all …]
H A Dumac.c372 UINT64 h1,h2; in nh_aux() local
381 h2 = *((UINT64 *)hp + 1); in nh_aux()
392 h2 += MUL64((k4 + d0), (k8 + d4)); in nh_aux()
395 h2 += MUL64((k5 + d1), (k9 + d5)); in nh_aux()
398 h2 += MUL64((k6 + d2), (k10 + d6)); in nh_aux()
401 h2 += MUL64((k7 + d3), (k11 + d7)); in nh_aux()
409 ((UINT64 *)hp)[1] = h2; in nh_aux()
419 UINT64 h1,h2,h3; in nh_aux() local
428 h2 = *((UINT64 *)hp + 1); in nh_aux()
441 h2 += MUL64((k4 + d0), (k8 + d4)); in nh_aux()
[all …]
/dflybsd-src/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()
/dflybsd-src/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 ()()
/dflybsd-src/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 ()()
/dflybsd-src/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()
/dflybsd-src/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()
/dflybsd-src/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()
/dflybsd-src/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()
/dflybsd-src/crypto/libressl/crypto/curve25519/
H A Dcurve25519.c64 int64_t h2 = load_3(s + 7) << 5; in fe_frombytes() local
84 carry1 = h1 + (1 << 24); h2 += carry1 >> 25; h1 -= carry1 & kTop39Bits; in fe_frombytes()
90 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
145 q = (h2 + q) >> 26; in fe_tobytes()
159 h2 += h1 >> 25; h1 &= kBottom25Bits; in fe_tobytes()
160 h3 += h2 >> 26; h2 &= kBottom26Bits; in fe_tobytes()
181 s[6] = (h1 >> 22) | ((uint32_t)(h2) << 3); in fe_tobytes()
182 s[7] = h2 >> 5; in fe_tobytes()
[all …]
/dflybsd-src/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()
/dflybsd-src/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()
/dflybsd-src/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()
/dflybsd-src/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()
/dflybsd-src/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()
/dflybsd-src/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()
/dflybsd-src/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))
/dflybsd-src/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()
/dflybsd-src/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()
/dflybsd-src/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()
/dflybsd-src/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