Home
last modified time | relevance | path

Searched refs:h4 (Results 1 – 25 of 53) sorted by relevance

123

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/
H A Dpoly1305_donna32.h62 unsigned long h0, h1, h2, h3, h4; in poly1305_blocks() local
81 h4 = st->h[4]; in poly1305_blocks()
94 ((unsigned long long) h4 * s1); in poly1305_blocks()
97 ((unsigned long long) h4 * s2); in poly1305_blocks()
136 st->h[4] = h4; in poly1305_blocks()
164 h4 = st->h[4]; in poly1305_finish()
174 h4 += c; in poly1305_finish()
175 c = h4 >> 26; in poly1305_finish()
176 h4 = h4 & 0x3ffffff; in poly1305_finish()
195 g4 = h4 + c - (1UL << 26); in poly1305_finish()
[all …]
/freebsd/crypto/openssh/
H A Dpoly1305.c35 uint32_t h0,h1,h2,h3,h4; in poly1305_auth() local
69 h4 = 0; in poly1305_auth()
86 h4 += (t3 >> 8) | (1 << 24); in poly1305_auth()
90 …2x32_64(h0,r0) + mul32x32_64(h1,s4) + mul32x32_64(h2,s3) + mul32x32_64(h3,s2) + mul32x32_64(h4,s1); in poly1305_auth()
91 …2x32_64(h0,r1) + mul32x32_64(h1,r0) + mul32x32_64(h2,s4) + mul32x32_64(h3,s3) + mul32x32_64(h4,s2); in poly1305_auth()
100 t[4] += b; h4 = (uint32_t)t[4] & 0x3ffffff; b = (uint32_t)(t[4] >> 26); in poly1305_auth()
123 h4 += (t3 >> 8); in poly1305_auth()
132 h4 += b; b = h4 >> 26; h4 = h4 & 0x3ffffff; in poly1305_auth()
140 g4 = h4 + b - (1 << 26); in poly1305_auth()
148 h4 = (h4 & nb) | (g4 & b); in poly1305_auth()
[all …]
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Dhash.h131 uint32_t h4 = seed; in hash_x86_128() local
161 h3 = hash_rotl_32(h3, 15); h3 += h4; in hash_x86_128()
166 h4 = hash_rotl_32(h4, 13); h4 += h1; in hash_x86_128()
167 h4 = h4*5 + 0x32ac3b17; in hash_x86_128()
207 h1 ^= len; h2 ^= len; h3 ^= len; h4 ^= len; in hash_x86_128()
209 h1 += h2; h1 += h3; h1 += h4; in hash_x86_128()
210 h2 += h1; h3 += h1; h4 += h1; in hash_x86_128()
215 h4 = hash_fmix_32(h4); in hash_x86_128()
217 h1 += h2; h1 += h3; h1 += h4; in hash_x86_128()
218 h2 += h1; h3 += h1; h4 += h1; in hash_x86_128()
[all …]
/freebsd/crypto/openssl/crypto/poly1305/asm/
H A Dpoly1305-armv4.pl210 addhi $h4,$h4,#1 @ 1<<128
251 addhi $h4,$h4,#1 @ padbit
272 adc $h4,$h4,#0
290 mul r2,$s3,$h4
302 mul $h4,$r0,$h4
311 add $h4,$h4,r3 @ h4+=d3>>32
314 and $h4,$h4,#3
320 adc $h4,$h4,#0
344 my $g4=$h4;
1175 adc $h4,$g0,$h4,lsr#24 @ can be partially reduced ...
[all …]
H A Dpoly1305-ppc.pl276 srdi $h4,$h4,24
306 and $h4,$h4,$t0
594 adde $h4,$h4,$D3
597 and $h4,$h4,$mask
604 addze $h4,$h4
664 srwi $h4,$h4,24
667 addze $h4,$h4
1037 srwi $h4,$h4,24
1041 addze $h4,$h4
1210 extrwi $h4,$h4,24,0
[all …]
H A Dpoly1305-sparcv9.pl165 ld [$ctx+16],$h4
201 addc $padbit,$h4,$h4
237 umul $s1,$h4,$t0
238 umul $s2,$h4,$t1
240 umul $r0,$h4,$h4
254 addc $t0,$h4,$h4
257 andn $h4,3,$t1
258 and $h4,3,$h4
266 addc %g0,$h4,$h4
390 addc $h4,0,$h4
[all …]
H A Dpoly1305-ppcfp.pl552 my ($h0,$h1,$h2,$h3,$h4, $d0,$d1,$d2,$d3
586 and $h4,$d3,$mask
596 addze $h4,$h4
602 addze $mask,$h4
644 add $h4,$h4,$d3
651 addze $d2,$h4
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_25_5/
H A Dfe.h12 int64_t h4 = load_3(s + 13) << 2; in fe25519_frombytes() local
37 h4 += carry3; in fe25519_frombytes()
52 carry4 = (h4 + (int64_t)(1L << 25)) >> 26; in fe25519_frombytes()
54 h4 -= carry4 * ((uint64_t) 1L << 26); in fe25519_frombytes()
66 h[4] = (int32_t) h4; in fe25519_frombytes()
106 int32_t h4 = f[4]; in fe25519_reduce() local
121 q = (h4 + q) >> 26; in fe25519_reduce()
142 h4 += carry3; in fe25519_reduce()
144 carry4 = h4 >> 26; in fe25519_reduce()
146 h4 -= carry4 * ((uint32_t) 1L << 26); in fe25519_reduce()
[all …]
/freebsd/crypto/openssl/crypto/poly1305/
H A Dpoly1305.c311 h4 = st->h[4]; in poly1305_blocks()
330 (h4 * s1); in poly1305_blocks()
335 (h4 * s2); in poly1305_blocks()
340 (h4 * s3); in poly1305_blocks()
341 h4 = (h4 * r0); in poly1305_blocks()
351 c = (h4 >> 2) + (h4 & ~3U); in poly1305_blocks()
352 h4 &= 3; in poly1305_blocks()
376 st->h[4] = h4; in poly1305_blocks()
383 u32 h0, h1, h2, h3, h4; in poly1305_emit() local
392 h4 = st->h[4]; in poly1305_emit()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/
H A Dfe_frombytes_sandy2x.c37 uint64_t h4 = load_3(s + 13) << 2; in fe_frombytes() local
56 carry3 = h3 >> 25; h4 += carry3; h3 &= 0x1FFFFFF; in fe_frombytes()
62 carry4 = h4 >> 26; h5 += carry4; h4 &= 0x3FFFFFF; in fe_frombytes()
70 h[4] = h4; in fe_frombytes()
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/private/
H A Ded25519_ref10_fe_25_5.h47 int32_t h4 = f[4] + g[4]; in fe25519_add() local
58 h[4] = h4; in fe25519_add()
96 h[4] = h4; in fe25519_sub()
121 int32_t h4 = -f[4]; in fe25519_neg() local
132 h[4] = h4; in fe25519_neg()
581 h4 += carry3; in fe25519_mul()
618 h[4] = (int32_t) h4; in fe25519_mul()
765 h4 += carry3; in fe25519_sq()
919 h4 += h4; in fe25519_sq2()
948 h4 += carry3; in fe25519_sq2()
[all …]
H A Ded25519_ref10_fe_51.h39 uint64_t h4 = f[4] + g[4]; in fe25519_add() local
45 h[4] = h4; in fe25519_add()
56 uint64_t h0, h1, h2, h3, h4; in fe25519_sub() local
62 h4 = g[4]; in fe25519_sub()
70 h4 += h3 >> 51; in fe25519_sub()
72 h0 += 19ULL * (h4 >> 51); in fe25519_sub()
73 h4 &= mask; in fe25519_sub()
79 h4 = (f[4] + 0xffffffffffffeULL) - h4; in fe25519_sub()
85 h[4] = h4; in fe25519_sub()
509 h4 = ((uint64_t) a) & mask; in fe25519_scalar_product()
[all …]
/freebsd/crypto/openssl/crypto/sha/asm/
H A Dsha1-ia64.pl43 ($h0,$h1,$h2,$h3,$h4) = ("h0","h1","h2","h3","h4");
51 ($h0,$h1,$h2,$h3,$h4) = ("loc5","loc6","loc7","loc8","loc9");
196 add $h4=$h4,$d };; // wrap up
267 { .mmi; ld4 $h4=[ctx],-16
280 mov $E=$h4 };;
307 { .mib; st4 [ctx]=$h4,-16
/freebsd/crypto/openssl/crypto/ec/
H A Dcurve25519.c327 h[4] = h4; in fe51_frombytes()
336 uint64_t h4 = h[4]; in fe51_tobytes() local
344 q = (h4 + q) >> 51; in fe51_tobytes()
447 g0 += (uint64_t)(h4 >> 51) * 19; g4 = (uint64_t)h4 & MASK51; in fe51_mul()
475 h4 = (u128)g0 * g4; in fe51_sq()
500 g0 += (uint64_t)(h4 >> 51) * 19; g4 = (uint64_t)h4 & MASK51; in fe51_sq()
527 g0 += (uint64_t)(h4 >> 51) * 19; g4 = (uint64_t)h4 & MASK51; in fe51_mul121666()
832 carry4 = h4 + (1 << 25); h5 += carry4 >> 26; h4 -= carry4 & kTop38Bits; in fe_frombytes()
878 int32_t h4 = h[4]; in fe_tobytes() local
906 h5 += h4 >> 26; h4 &= kBottom26Bits; in fe_tobytes()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_51/
H A Dfe.h9 uint64_t h0, h1, h2, h3, h4; in fe25519_frombytes() local
15 h4 = (LOAD64_LE(s + 24) >> 12) & mask; in fe25519_frombytes()
21 h[4] = h4; in fe25519_frombytes()
/freebsd/sys/crypto/openssl/
H A Dossl_sha1.c35 ll=(c)->h4; (void)HOST_l2c(ll,(s)); \
58 c->h4 = INIT_DATA_h4; in HASH_INIT()
/freebsd/contrib/ntp/scripts/deprecated/
H A Dhtml2man.in117 if($token->[1] eq "h4") {
118 my $text = uc($p->get_trimmed_text("/h4"));
179 if($token->[1] eq "h4") {
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DHashing.h269 uint64_t h0 = 0, h1 = 0, h2 = 0, h3 = 0, h4 = 0, h5 = 0, h6 = 0; member
282 state.h6 = hash_16_bytes(state.h4, state.h5); in create()
304 h1 = llvm::rotr<uint64_t>(h1 + h4 + fetch64(s + 48), 42) * k1; in mix()
308 h3 = h4 * k1; in mix()
309 h4 = h0 + h5; in mix()
310 mix_32_bytes(s, h3, h4); in mix()
321 hash_16_bytes(h4, h6) + shift_mix(length) * k1 + h0); in finalize()
/freebsd/crypto/openssl/crypto/modes/asm/
H A Daes-gcm-armv8_64.pl187 my ($h1,$h2,$h3,$h4,$h12k,$h34k)=map("v$_",(12..17));
347 trn2 $h34k.2d, $h3.2d, $h4.2d @ h4l | h3l
356 trn1 $acc_h.2d, $h3.2d, $h4.2d @ h4h | h3h
1300 trn2 $h34k.2d, $h3.2d, $h4.2d @ h4l | h3l
1307 trn1 $acc_h.2d, $h3.2d, $h4.2d @ h4h | h3h
2049 my ($h1,$h2,$h3,$h4,$h12k,$h34k)=map("v$_",(12..17));
2207 trn1 $acc_h.2d, $h3.2d, $h4.2d @ h4h | h3h
2212 trn2 $h34k.2d, $h3.2d, $h4.2d @ h4l | h3l
3154 trn1 $acc_h.2d, $h3.2d, $h4.2d @ h4h | h3h
3160 trn2 $h34k.2d, $h3.2d, $h4.2d @ h4l | h3l
[all …]
/freebsd/crypto/openssl/crypto/sha/
H A Dsha_local.h28 ll=(c)->h4; (void)HOST_l2c(ll,(s)); \
61 c->h4 = INIT_DATA_h4; in HASH_INIT()
152 E = c->h4; in HASH_BLOCK_DATA_ORDER()
319 c->h4 = (c->h4 + C) & 0xffffffffL; in HASH_BLOCK_DATA_ORDER()
328 E = c->h4; in HASH_BLOCK_DATA_ORDER()
377 E = c->h4; in HASH_BLOCK_DATA_ORDER()
405 c->h4 = (c->h4 + E) & 0xffffffffL; in HASH_BLOCK_DATA_ORDER()
414 E = c->h4; in HASH_BLOCK_DATA_ORDER()
/freebsd/contrib/llvm-project/lld/docs/llvm-theme/static/
H A Dllvm.css103 div.sphinxsidebar h3, div.sphinxsidebar h4 {
178 div.body h1 a, div.body h2 a, div.body h3 a, div.body h4 a, div.body h5 a, div.body h6 a {
182 h1 a.anchor, h2 a.anchor, h3 a.anchor, h4 a.anchor, h5 a.anchor, h6 a.anchor {
189 h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor,
194 h1 a.anchor:hover, h2 a.anchor:hover, h3 a.anchor:hover, h4 a.anchor:hover,
/freebsd/contrib/wpa/src/crypto/
H A Dfips_prf_openssl.c37 context.h4 = state[4]; in sha1_transform()
43 state[4] = context.h4; in sha1_transform()
/freebsd/sys/crypto/openssl/arm/
H A Dpoly1305-armv4.S256 add r8,r8,r3 @ h4+=d3>>32
419 @ d0 = h0*r0 + h4*5*r1 + h3*5*r2 + h2*5*r3 + h1*5*r4
420 @ d1 = h1*r0 + h0*r1 + h4*5*r2 + h3*5*r3 + h2*5*r4
423 @ d4 = h4*r0 + h3*r1 + h2*r2 + h1*r3 + h0*r4
772 @ d4 = h4*r0 + h3*r1 + h2*r2 + h1*r3 + h0*r4
875 vadd.i64 q9,q9,q15 @ h3 -> h4
897 vaddl.u32 q5,d10,d30 @ h4 -> h0 [widen for a sec]
912 vadd.i32 d18,d18,d8 @ h3 -> h4
1044 vadd.i64 q9,q9,q15 @ h3 -> h4
1057 vadd.i64 q5,q5,q15 @ h4 -> h0
[all …]
/freebsd/contrib/ntp/html/drivers/scripts/
H A Dstyle.css7 p, h4, hr, li {margin-top: .6em; margin-bottom: .6em} selector
25 h4.sidebar {align: center;}
/freebsd/contrib/ntp/html/scripts/
H A Dstyle.css7 p, h4, hr, li {margin-top: .6em; margin-bottom: .6em} selector
25 h4.sidebar {align: center;}

123