/freebsd/contrib/jemalloc/include/jemalloc/internal/ |
H A D | hash.h | 156 h2 = hash_rotl_32(h2, 17); h2 += h3; in hash_x86_128() 157 h2 = h2*5 + 0x0bcaa747; in hash_x86_128() 213 h2 = hash_fmix_32(h2); in hash_x86_128() 252 h2 = hash_rotl_64(h2, 31); h2 += h1; in hash_x64_128() 253 h2 = h2*5 + 0x38495ab5; in hash_x64_128() 288 h1 += h2; in hash_x64_128() 289 h2 += h1; in hash_x64_128() 292 h2 = hash_fmix_64(h2); in hash_x64_128() 294 h1 += h2; in hash_x64_128() 295 h2 += h1; in hash_x64_128() [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/ |
H A D | poly1305_donna64.h | 79 h2 = st->h[2]; in poly1305_blocks() 99 MUL(d, h2, s1); in poly1305_blocks() 104 MUL(d, h2, s2); in poly1305_blocks() 109 MUL(d, h2, r0); in poly1305_blocks() 132 st->h[2] = h2; in poly1305_blocks() 158 h2 = st->h[2]; in poly1305_finish() 162 h2 += c; in poly1305_finish() 163 c = (h2 >> 42); in poly1305_finish() 171 h2 += c; in poly1305_finish() 172 c = (h2 >> 42); in poly1305_finish() [all …]
|
H A D | poly1305_donna32.h | 79 h2 = st->h[2]; in poly1305_blocks() 134 st->h[2] = h2; in poly1305_blocks() 162 h2 = st->h[2]; in poly1305_finish() 168 h2 += c; in poly1305_finish() 169 c = h2 >> 26; in poly1305_finish() 170 h2 = h2 & 0x3ffffff; in poly1305_finish() 189 g2 = h2 + c; in poly1305_finish() 208 h2 = (h2 & mask) | g2; in poly1305_finish() 215 h2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff; in poly1305_finish() 224 h2 = (unsigned long) f; in poly1305_finish() [all …]
|
/freebsd/sys/contrib/libsodium/test/default/ |
H A D | metamorphic.c | 12 unsigned char *h, *h2; in mm_generichash() local 47 assert(memcmp(h, h2, hlen) == 0); in mm_generichash() 49 sodium_free(h2); in mm_generichash() 60 unsigned char *h, *h2; in mm_onetimeauth() local 85 crypto_onetimeauth(h2, m, mlen, k); in mm_onetimeauth() 89 sodium_free(h2); in mm_onetimeauth() 100 unsigned char *h, *h2; in mm_hmacsha256() local 125 crypto_auth_hmacsha256(h2, m, mlen, k); in mm_hmacsha256() 129 sodium_free(h2); in mm_hmacsha256() 140 unsigned char *h, *h2; in mm_hmacsha512() local [all …]
|
/freebsd/crypto/openssl/crypto/poly1305/ |
H A D | poly1305.c | 163 h2 = st->h[2]; in poly1305_blocks() 181 h2 = (h2 * r0); in poly1305_blocks() 189 c = (h2 >> 2) + (h2 & ~3UL); in poly1305_blocks() 190 h2 &= 3; in poly1305_blocks() 210 st->h[2] = h2; in poly1305_blocks() 224 h2 = st->h[2]; in poly1305_emit() 309 h2 = st->h[2]; in poly1305_blocks() 317 h2 = (u32)(d2 = (u64)h2 + (d1 >> 32) + U8TOU32(inp + 8)); in poly1305_blocks() 374 st->h[2] = h2; in poly1305_blocks() 410 h2 = (h2 & mask) | g2; in poly1305_emit() [all …]
|
H A D | poly1305_base2_44.c | 87 u64 h0, h1, h2, c; in poly1305_blocks() local 100 h2 = st->h[2]; in poly1305_blocks() 111 h2 += (m1 >> 24) + pad; 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() 132 st->h[2] = h2; in poly1305_blocks() 138 u64 h0, h1, h2; in poly1305_emit() local 145 h2 = st->h[2]; in poly1305_emit() 149 h1 = (u64)(t = (u128)h1 + (h2 << 24) + (t >> 64)); h2 >>= 40; in poly1305_emit() 150 h2 += (u64)(t >> 64); in poly1305_emit() [all …]
|
/freebsd/crypto/openssl/crypto/poly1305/asm/ |
H A D | poly1305-armv8.pl | 147 adc $h2,$h2,$padbit 172 and $h2,$d2,#3 176 adc $h2,$h2,xzr 265 adc $h2,$h2,xzr 346 adc $h2,$h2,xzr 354 adc $h2,$h2,$padbit 400 adc $h2,$h2,$padbit 427 mov $h2,xzr 905 adc $h2,$h2,xzr // can be partially reduced... 911 and $h2,$h2,#3 [all …]
|
H A D | poly1305-ppc.pl | 235 addze $h2,$h2 271 srdi $h2,$h2,12 288 xor $h2,$h2,$t0 291 and $h2,$h2,r0 294 xor $h2,$h2,$t0 412 and $h2,$h2,$r0 602 addze $h2,$h2 684 addze $h2,$h2 700 srwi $h2,$h2,8 705 srwi $h2,$h2,8 [all …]
|
H A D | poly1305-armv4.pl | 238 adcs $h2,$h2,r3 265 adcs $h2,$h2,r2 318 adcs $h2,$h2,#0 385 adcs $h2,$h2,$g2 392 rev $h2,$h2 405 mov $h2,$h2,lsr#8 414 mov $h2,$h2,lsr#8 423 mov $h2,$h2,lsr#8 1182 adcs $h2,$h2,#0 1208 adcs $h2,$h2,$g2 [all …]
|
H A D | poly1305-sparcv9.pl | 113 ldxa [$inp+$h2]0x88,$h2 118 sllx $h2,$shl,$h2 199 addccc $d1,$h2,$h2 250 addccc $d2,$h2,$h2 263 addccc %g0,$h2,$h2 404 addccc $r2,$h2,$h2 952 addccc $d1,$h2,$h2 978 or $d2,$h2,$h2 993 srl $h2,8,$h2 1002 srl $h2,8,$h2 [all …]
|
H A D | poly1305-ppcfp.pl | 594 adde $h2,$h2,$d1 600 addze $d2,$h2 614 andc $h2,$h2,$mask 620 or $h2,$h2,$d2 627 adde $h2,$h2,$d2 634 add $h2,$h2,$d1 640 add $h2,$h2,$d1 650 addze $d1,$h2 661 andc $h2,$h2,$mask 664 or $h2,$h2,$d1 [all …]
|
H A D | poly1305-mips.pl | 174 my ($h0,$h1,$h2,$r0,$r1,$s1,$d0,$d1,$d2) = 211 ld $h2,16($ctx) 278 daddu $h2,$padbit 285 daddu $h2,$tmp0 304 dmultu ($s1,$h2) # h2*5*r1 307 mflo ($tmp2,$s1,$h2) 309 dmultu ($r0,$h2) # h2*r0 312 mflo ($tmp3,$r0,$h2) 322 andi $h2,$d2,3 328 daddu $h2,$h2,$tmp0 [all …]
|
H A D | poly1305-s390x.pl | 180 lgr ($d1lo,$h2); 194 alcgr ($h2,$t1); 197 ngr ($h0,$h2); 201 ngr ($h2,$t1); 262 srlg ($h2,$h2,24); 272 xgr ($h2,$d2); 278 xgr ($h2,$d2); 914 srlg ($h2,$h2,24); 924 xgr ($h2,$d2); 930 xgr ($h2,$d2); [all …]
|
H A D | poly1305-ia64.S | 107 h0=r17; h1=r18; h2=r19; 131 { .mmi; ld8 h2=[r8],16 190 add h2=h2,r35 };; 197 { .mmi; (p7) add h2=1,h2;; 198 setf.sig HF2=h2 };; 247 (p7) add h2=r31,r27 251 and r22=-4,h2 252 shr.u r23=h2,2 };; 254 and h2=3,h2 263 { .mmb; (p7) add h2=1,h2 [all …]
|
/freebsd/crypto/openssh/ |
H A D | poly1305.c | 35 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() 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() 130 h2 += b; b = h2 >> 26; h2 = h2 & 0x3ffffff; in poly1305_auth() 138 g2 = h2 + b; b = g2 >> 26; g2 &= 0x3ffffff; in poly1305_auth() 146 h2 = (h2 & nb) | (g2 & b); in poly1305_auth() 151 f1 = ((h1 >> 6) | (h2 << 20)) + (uint64_t)U8TO32_LE(&key[20]); in poly1305_auth() [all …]
|
H A D | umac.c | 372 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() 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() 463 ((UINT64 *)hp)[1] = h2; in nh_aux() 474 UINT64 h1,h2,h3,h4; in nh_aux() local 484 h2 = *((UINT64 *)hp + 1); in nh_aux() [all …]
|
/freebsd/sys/contrib/ck/src/ |
H A D | ck_ht_hash.h | 240 uint32_t h2 = (uint32_t)(seed >> 32); in MurmurHash64B() local 253 h2 *= m; h2 ^= k2; in MurmurHash64B() 267 case 3: h2 ^= ((const unsigned char*)data)[2] << 16; in MurmurHash64B() 269 case 2: h2 ^= ((const unsigned char*)data)[1] << 8; in MurmurHash64B() 271 case 1: h2 ^= ((const unsigned char*)data)[0]; in MurmurHash64B() 272 h2 *= m; in MurmurHash64B() 275 h1 ^= h2 >> 18; h1 *= m; in MurmurHash64B() 276 h2 ^= h1 >> 22; h2 *= m; in MurmurHash64B() 277 h1 ^= h2 >> 17; h1 *= m; in MurmurHash64B() 278 h2 ^= h1 >> 19; h2 *= m; in MurmurHash64B() [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_25_5/ |
H A D | fe.h | 10 int64_t h2 = load_3(s + 7) << 5; in fe25519_frombytes() local 34 h2 += carry1; in fe25519_frombytes() 49 carry2 = (h2 + (int64_t)(1L << 25)) >> 26; in fe25519_frombytes() 51 h2 -= carry2 * ((uint64_t) 1L << 26); in fe25519_frombytes() 64 h[2] = (int32_t) h2; in fe25519_frombytes() 104 int32_t h2 = f[2]; in fe25519_reduce() local 119 q = (h2 + q) >> 26; in fe25519_reduce() 136 h2 += carry1; in fe25519_reduce() 138 carry2 = h2 >> 26; in fe25519_reduce() 140 h2 -= carry2 * ((uint32_t) 1L << 26); in fe25519_reduce() [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ |
H A D | fe_frombytes_sandy2x.c | 35 uint64_t h2 = load_3(s + 7) << 5; in fe_frombytes() local 55 carry1 = h1 >> 25; h2 += carry1; h1 &= 0x1FFFFFF; in fe_frombytes() 61 carry2 = h2 >> 26; h3 += carry2; h2 &= 0x3FFFFFF; in fe_frombytes() 68 h[2] = h2; in fe_frombytes()
|
/freebsd/crypto/openssl/crypto/sha/asm/ |
H A D | sha1-ia64.pl | 43 ($h0,$h1,$h2,$h3,$h4) = ("h0","h1","h2","h3","h4"); 51 ($h0,$h1,$h2,$h3,$h4) = ("loc5","loc6","loc7","loc8","loc9"); 263 { .mlx; ld4 $h2=[ctx],8 278 { .mmi; mov $C=$h2 298 add $h2=$h2,$C 305 { .mmi; st4 [ctx]=$h2,8
|
/freebsd/sys/powerpc/include/ |
H A D | bus.h | 272 #define __bs_copy(sz, t, h1, o1, h2, o2, cnt) \ argument 273 (*(t)->__bs_opname(c,sz))(h1, o1, h2, o2, cnt) 445 #define bus_space_copy_region_1(t, h1, o1, h2, o2, c) \ 446 __bs_copy(1, t, h1, o1, h2, o2, c) 447 #define bus_space_copy_region_2(t, h1, o1, h2, o2, c) \ 448 __bs_copy(2, t, h1, o1, h2, o2, c) 450 __bs_copy(4, t, h1, o1, h2, o2, c) 452 __bs_copy(8, t, h1, o1, h2, o2, c) 456 __bs_copy(s_2, t, h1, o1, h2, o2, c) 458 __bs_copy(s_4, t, h1, o1, h2, o2, c) [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/private/ |
H A D | ed25519_ref10_fe_51.h | 37 uint64_t h2 = f[2] + g[2]; in fe25519_add() local 43 h[2] = h2; in fe25519_add() 56 uint64_t h0, h1, h2, h3, h4; in fe25519_sub() local 60 h2 = g[2]; in fe25519_sub() 66 h2 += h1 >> 51; in fe25519_sub() 68 h3 += h2 >> 51; in fe25519_sub() 69 h2 &= mask; in fe25519_sub() 77 h2 = (f[2] + 0xffffffffffffeULL) - h2; in fe25519_sub() 83 h[2] = h2; in fe25519_sub() 505 h2 = ((uint64_t) a) & mask; in fe25519_scalar_product() [all …]
|
H A D | ed25519_ref10_fe_25_5.h | 45 int32_t h2 = f[2] + g[2]; in fe25519_add() local 56 h[2] = h2; in fe25519_add() 94 h[2] = h2; in fe25519_sub() 119 int32_t h2 = -f[2]; in fe25519_neg() local 130 h[2] = h2; in fe25519_neg() 559 h2 += carry1; in fe25519_mul() 616 h[2] = (int32_t) h2; in fe25519_mul() 751 h2 += carry1; in fe25519_sq() 917 h2 += h2; in fe25519_sq2() 934 h2 += carry1; in fe25519_sq2() [all …]
|
/freebsd/tests/sys/netgraph/ |
H A D | util.h | 41 #define ng_connect(p1,h1,p2,h2) \ argument 42 _ng_connect(p1,h1,p2,h2,__FILE__,__LINE__) 48 #define ng_mkpeer(p1,h1,t,h2) \ argument 49 _ng_mkpeer(p1,h1,t,h2,__FILE__,__LINE__)
|
/freebsd/usr.sbin/lpr/common_source/ |
H A D | net.c | 186 char h1[NI_MAXHOST], h2[NI_MAXHOST]; in checkremote() local 233 h2[0] = '\0'; in checkremote() 235 h2, sizeof(h2), NULL, 0, in checkremote() 238 if (strcmp(h1, h2) == 0) in checkremote()
|