Home
last modified time | relevance | path

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

1234567

/freebsd-12-stable/contrib/jemalloc/include/jemalloc/internal/
Dhash.h77 uint32_t h1 = seed; in hash_x86_32() local
94 h1 ^= k1; in hash_x86_32()
95 h1 = hash_rotl_32(h1, 13); in hash_x86_32()
96 h1 = h1*5 + 0xe6546b64; in hash_x86_32()
110 k1 *= c2; h1 ^= k1; in hash_x86_32()
115 h1 ^= len; in hash_x86_32()
117 h1 = hash_fmix_32(h1); in hash_x86_32()
119 return h1; in hash_x86_32()
128 uint32_t h1 = seed; in hash_x86_128() local
149 k1 *= c1; k1 = hash_rotl_32(k1, 15); k1 *= c2; h1 ^= k1; in hash_x86_128()
[all …]
/freebsd-12-stable/crypto/openssl/crypto/poly1305/asm/
Dpoly1305-ppc.pl92 my ($h0,$h1,$h2,$d0,$d1,$d2, $r0,$r1,$s1, $t0,$t1) = map("r$_",(7..12,27..31));
115 li $h1,12
117 lwbrx $h1,$h1,$inp
119 insrdi $d1,$h1,32,0
122 lis $h1,0xfff # 0x0fff0000
123 ori $h1,$h1,0xfffc # 0x0ffffffc
124 insrdi $h1,$h1,32,0 # 0x0ffffffc0ffffffc
125 ori $h0,$h1,3 # 0x0ffffffc0fffffff
128 and $d1,$d1,$h1
159 ld $h1,8($ctx)
[all …]
Dpoly1305-armv8.pl51 my ($h0,$h1,$h2,$r0,$r1,$s1,$t0,$t1,$d0,$d1,$d2) = map("x$_",(4..14));
125 ldp $h0,$h1,[$ctx] // load hash value
140 adcs $h1,$h1,$t1
146 mul $t0,$h1,$s1 // h1*5*r1
147 umulh $t1,$h1,$s1
155 mul $t0,$h1,$r0 // h1*r0
157 umulh $t1,$h1,$r0
171 adcs $h1,$d1,xzr
176 stp $h0,$h1,[$ctx] // store hash value
186 ldp $h0,$h1,[$ctx] // load hash base 2^64
[all …]
Dpoly1305-s390x.pl80 my ($d0hi,$d0lo,$d1hi,$d1lo,$t0,$h0,$t1,$h1,$h2) = map("%r$_",(6..14));
101 lg $h1,8($ctx)
116 alcgr $d1lo,$h1
120 lgr $h1,$d1lo
124 mlgr $t1,$r0 # h1*r0 -> $t1:$h1
132 algr $h1,$h0
138 algr $h1,$d1lo
141 algr $h1,$d0hi
152 alcgr $h1,$d1hi # $d1hi is still zero
160 stg $h1,8($ctx)
[all …]
Dpoly1305-sparcv9.pl49 my ($h0,$h1,$h2,$h3, $t0,$t1,$t2) = map("%o$_",(0..5,7));
100 set 8,$h1
109 ldxa [$inp+$h1]0x88,$h1
113 sllx $h1,$shl,$t2
114 srlx $h1,$shr,$h1
117 or $h2,$h1,$h1
121 and $t1,$h1,$h1
123 stx $h1,[$ctx+32+8]
159 ld [$ctx+0],$h1 ! load hash value
196 addccc $t0,$h1,$h1
[all …]
Dpoly1305-armv4.pl182 my ($h0,$h1,$h2,$h3,$h4,$r0,$r1,$r2,$r3)=map("r$_",(4..12));
234 adcs $h1,$h1,r3
268 adcs $h1,$h1,r1
276 umull r2,r3,$h1,$r0
283 umlal r0,r1,$h1,$s3
293 str r2,[sp,#4] @ future $h1
302 umlal r0,r1,$h1,$r1
303 umlal r2,r3,$h1,$r2
308 ldr $h1,[sp,#4]
322 adcs $h1,$h1,#0
[all …]
Dpoly1305-mips.pl170 my ($h0,$h1,$h2,$r0,$r1,$s1,$d0,$d1,$d2) =
206 ld $h1,8($ctx)
268 daddu $h1,$in1
270 sltu $tmp1,$h1,$in1
271 daddu $h1,$tmp0
275 sltu $tmp0,$h1,$tmp0
279 dmultu ($s1,$h1) # h1*5*r1
282 mflo ($tmp0,$s1,$h1)
283 mfhi ($tmp1,$s1,$h1)
293 dmultu ($r0,$h1) # h1*r0
[all …]
Dpoly1305-ppcfp.pl548 my ($h0,$h1,$h2,$h3,$h4, $d0,$d1,$d2,$d3
568 lwz $h1,`8*1+(4^$LITTLE_ENDIAN)`($ctx)
589 adde $h1,$h1,$d0
595 addze $d1,$h1
606 andc $h1,$h1,$mask
612 or $h1,$h1,$d1
622 adde $h1,$h1,$d1
629 add $h1,$h1,$d0
634 add $h1,$h1,$d0
635 srdi $d1,$h1,32
[all …]
/freebsd-12-stable/sys/contrib/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/
Dpoly1305_donna64.h69 unsigned long long h0, h1, h2; in poly1305_blocks() local
78 h1 = st->h[1]; in poly1305_blocks()
92 h1 += (((t0 >> 44) | (t1 << 20)) & 0xfffffffffff); in poly1305_blocks()
97 MUL(d, h1, s2); in poly1305_blocks()
102 MUL(d, h1, r0); in poly1305_blocks()
107 MUL(d, h1, r1); in poly1305_blocks()
117 h1 = LO(d1) & 0xfffffffffff; in poly1305_blocks()
124 h1 += c; in poly1305_blocks()
131 st->h[1] = h1; in poly1305_blocks()
138 unsigned long long h0, h1, h2, c; in poly1305_finish() local
[all …]
Dpoly1305_donna32.h62 unsigned long h0, h1, h2, h3, h4; in poly1305_blocks() local
78 h1 = st->h[1]; in poly1305_blocks()
86 h1 += (LOAD32_LE(m + 3) >> 2) & 0x3ffffff; in poly1305_blocks()
92 d0 = ((unsigned long long) h0 * r0) + ((unsigned long long) h1 * s4) + in poly1305_blocks()
95 d1 = ((unsigned long long) h0 * r1) + ((unsigned long long) h1 * r0) + in poly1305_blocks()
98 d2 = ((unsigned long long) h0 * r2) + ((unsigned long long) h1 * r1) + in poly1305_blocks()
101 d3 = ((unsigned long long) h0 * r3) + ((unsigned long long) h1 * r2) + in poly1305_blocks()
104 d4 = ((unsigned long long) h0 * r4) + ((unsigned long long) h1 * r3) + in poly1305_blocks()
113 h1 = (unsigned long) d1 & 0x3ffffff; in poly1305_blocks()
126 h1 += c; in poly1305_blocks()
[all …]
/freebsd-12-stable/sys/contrib/ck/src/
Dck_ht_hash.h125 uint32_t h1 = seed; in MurmurHash3_x86_32() local
143 h1 ^= k1; in MurmurHash3_x86_32()
144 h1 = ROTL32(h1,13); in MurmurHash3_x86_32()
145 h1 = h1*5+0xe6546b64; in MurmurHash3_x86_32()
162 k1 *= c1; k1 = ROTL32(k1,15); k1 *= c2; h1 ^= k1; in MurmurHash3_x86_32()
168 h1 ^= len; in MurmurHash3_x86_32()
170 h1 = fmix(h1); in MurmurHash3_x86_32()
172 *(uint32_t *)out = h1; in MurmurHash3_x86_32()
239 uint32_t h1 = (uint32_t)(seed) ^ len; in MurmurHash64B() local
248 h1 *= m; h1 ^= k1; in MurmurHash64B()
[all …]
/freebsd-12-stable/crypto/openssl/crypto/poly1305/
Dpoly1305_base2_44.c87 u64 h0, h1, h2, c; in poly1305_blocks() local
99 h1 = st->h[1]; in poly1305_blocks()
110 h1 += ((m0 >> 44) | (m1 << 20)) & 0x0fffffffffff; in poly1305_blocks()
114 d0 = ((u128)h0 * r0) + ((u128)h1 * s2) + ((u128)h2 * s1); in poly1305_blocks()
115 d1 = ((u128)h0 * r1) + ((u128)h1 * r0) + ((u128)h2 * s2); in poly1305_blocks()
116 d2 = ((u128)h0 * r2) + ((u128)h1 * r1) + ((u128)h2 * r0); in poly1305_blocks()
120 h1 = (u64)(d1 += (u64)(d0 >> 44)) & 0x0fffffffffff; in poly1305_blocks()
131 st->h[1] = h1; in poly1305_blocks()
138 u64 h0, h1, h2; in poly1305_emit() local
144 h1 = st->h[1]; in poly1305_emit()
[all …]
Dpoly1305.c155 u64 h0, h1, h2, c; in poly1305_blocks() local
164 h1 = st->h[1]; in poly1305_blocks()
170 h1 = (u64)(d1 = (u128)h1 + (d0 >> 64) + U8TOU64(inp + 8)); in poly1305_blocks()
179 ((u128)h1 * s1); in poly1305_blocks()
181 ((u128)h1 * r0) + in poly1305_blocks()
188 h1 = (u64)(d1 += d0 >> 64); in poly1305_blocks()
194 h1 += (c = CONSTANT_TIME_CARRY(h0,c)); in poly1305_blocks()
195 h2 += CONSTANT_TIME_CARRY(h1,c); in poly1305_blocks()
211 st->h[1] = h1; in poly1305_blocks()
219 u64 h0, h1, h2; in poly1305_emit() local
[all …]
/freebsd-12-stable/crypto/openssh/
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()
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()
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()
[all …]
/freebsd-12-stable/contrib/binutils/opcodes/
Dcgen.sh85 rm -f tmp-desc.h tmp-desc.h1
87 rm -f tmp-opc.h tmp-opc.h1
90 rm -f tmp-ibld.h tmp-ibld.h1
103 -H tmp-desc.h1 \
105 -O tmp-opc.h1 \
113 sed -e "s/@ARCH@/${ARCH}/g" -e "s/@arch@/${arch}/g" < tmp-desc.h1 > tmp-desc.h
120 sed -e "s/@ARCH@/${ARCH}/g" -e "s/@arch@/${arch}/g" < tmp-opc.h1 > tmp-opc.h
151 rm -f tmp-desc.h1 tmp-desc.c1
152 rm -f tmp-opc.h1 tmp-opc.c1
154 rm -f tmp-ibld.h1 tmp-ibld.in1
/freebsd-12-stable/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_25_5/
Dfe.h9 int64_t h1 = load_3(s + 4) << 6; in fe25519_frombytes() local
33 carry1 = (h1 + (int64_t)(1L << 24)) >> 25; in fe25519_frombytes()
35 h1 -= carry1 * ((uint64_t) 1L << 25); in fe25519_frombytes()
47 h1 += carry0; in fe25519_frombytes()
63 h[1] = (int32_t) h1; in fe25519_frombytes()
103 int32_t h1 = f[1]; in fe25519_reduce() local
118 q = (h1 + q) >> 25; in fe25519_reduce()
133 h1 += carry0; in fe25519_reduce()
135 carry1 = h1 >> 25; in fe25519_reduce()
137 h1 -= carry1 * ((uint32_t) 1L << 25); in fe25519_reduce()
[all …]
/freebsd-12-stable/contrib/sendmail/src/
Dsasl.c165 char *hr, *h1, *h, *res; local
180 h1 = s1;
184 while (h != NULL && *h1 != '\0')
187 if ((h = strchr(h1, ' ')) != NULL)
189 l1 = strlen(h1);
192 if (iteminlist(h1, s2, " ") != NULL)
199 memcpy(hr, h1, l1);
209 h1 = h + 1;
/freebsd-12-stable/crypto/openssl/crypto/sha/asm/
Dsha1-ia64.pl42 ($h0,$h1,$h2,$h3,$h4) = ("h0","h1","h2","h3","h4");
50 ($h0,$h1,$h2,$h3,$h4) = ("loc5","loc6","loc7","loc8","loc9");
185 add $h1=$h1,$a };; // wrap up
260 { .mlx; ld4 $h1=[tmp0],8
275 mov $B=$h1
276 mux2 tmp6=$h1,0x44 }
303 st4 [tmp0]=$h1,8 };;
/freebsd-12-stable/contrib/gcclibs/libdecnumber/
DMakefile.in92 config.h: stamp-h1
93 test -f config.h || (rm -f stamp-h1 && $(MAKE) stamp-h1)
95 stamp-h1: $(srcdir)/config.in config.status
96 -rm -f stamp-h1
101 -rm -f stamp-h1
123 -rm -f config.h stamp-h1 config.status config.cache config.log \
/freebsd-12-stable/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/
Dfe_frombytes_sandy2x.c34 uint64_t h1 = load_3(s + 4) << 6; in fe_frombytes() local
55 carry1 = h1 >> 25; h2 += carry1; h1 &= 0x1FFFFFF; in fe_frombytes()
60 carry0 = h0 >> 26; h1 += carry0; h0 &= 0x3FFFFFF; in fe_frombytes()
67 h[1] = h1; in fe_frombytes()
/freebsd-12-stable/sys/contrib/libsodium/src/libsodium/include/sodium/private/
Ded25519_ref10_fe_25_5.h44 int32_t h1 = f[1] + g[1]; in fe25519_add() local
55 h[1] = h1; in fe25519_add()
82 int32_t h1 = f[1] - g[1]; in fe25519_sub() local
93 h[1] = h1; in fe25519_sub()
118 int32_t h1 = -f[1]; in fe25519_neg() local
129 h[1] = h1; in fe25519_neg()
510 int64_t h1 = f0g1 + f1g0 + f2g9_19 + f3g8_19 + f4g7_19 + f5g6_19 + f6g5_19 + in fe25519_mul() local
548 h1 += carry0; in fe25519_mul()
558 carry1 = (h1 + (int64_t)(1L << 24)) >> 25; in fe25519_mul()
560 h1 -= carry1 * ((uint64_t) 1L << 25); in fe25519_mul()
[all …]
Ded25519_ref10_fe_51.h36 uint64_t h1 = f[1] + g[1]; in fe25519_add() local
42 h[1] = h1; in fe25519_add()
56 uint64_t h0, h1, h2, h3, h4; in fe25519_sub() local
59 h1 = g[1]; in fe25519_sub()
64 h1 += h0 >> 51; in fe25519_sub()
66 h2 += h1 >> 51; in fe25519_sub()
67 h1 &= mask; in fe25519_sub()
76 h1 = (f[1] + 0xffffffffffffeULL) - h1; in fe25519_sub()
82 h[1] = h1; in fe25519_sub()
498 uint64_t h0, h1, h2, h3, h4; in fe25519_scalar_product() local
[all …]
/freebsd-12-stable/sys/gnu/dts/mips/
DDIR-615-H1.dts13 label = "dir-615-h1:amber:status";
18 label = "dir-615-h1:green:status";
23 label = "dir-615-h1:amber:wan";
28 label = "dir-615-h1:green:wan";
33 label = "dir-615-h1:blue:wps";
/freebsd-12-stable/sys/powerpc/include/
Dbus.h274 #define __bs_copy(sz, t, h1, o1, h2, o2, cnt) \ argument
275 (*(t)->__bs_opname(c,sz))(h1, o1, h2, o2, cnt)
447 #define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \
448 __bs_copy(1, t, h1, o1, h2, o2, c)
449 #define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \
450 __bs_copy(2, t, h1, o1, h2, o2, c)
451 #define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \
452 __bs_copy(4, t, h1, o1, h2, o2, c)
453 #define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \
454 __bs_copy(8, t, h1, o1, h2, o2, c)
[all …]
/freebsd-12-stable/crypto/openssl/crypto/ec/
Dcurve25519.c303 uint64_t h1 = load_6(s + 7) << 5; /* 53 bits */ in fe51_frombytes() local
308 h1 |= h0 >> 51; h0 &= MASK51; in fe51_frombytes()
309 h2 |= h1 >> 51; h1 &= MASK51; in fe51_frombytes()
314 h[1] = h1; in fe51_frombytes()
323 uint64_t h1 = h[1]; in fe51_tobytes() local
331 q = (h1 + q) >> 51; in fe51_tobytes()
338 h1 += h0 >> 51; h0 &= MASK51; in fe51_tobytes()
339 h2 += h1 >> 51; h1 &= MASK51; in fe51_tobytes()
351 s[6] = (uint8_t)((h0 >> 48) | ((uint32_t)h1 << 3)); in fe51_tobytes()
352 s[7] = (uint8_t)(h1 >> 5); in fe51_tobytes()
[all …]

1234567