/freebsd/contrib/jemalloc/include/jemalloc/internal/ |
H A D | hash.h | 77 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/crypto/openssl/crypto/poly1305/asm/ |
H A D | poly1305-ppc.pl | 103 my ($h0,$h1,$h2,$d0,$d1,$d2, $r0,$r1,$s1, $t0,$t1) = map("r$_",(7..12,27..31)); 127 li $h1,12 129 lwbrx $h1,$h1,$inp 131 insrdi $d1,$h1,32,0 134 lis $h1,0xfff # 0x0fff0000 135 ori $h1,$h1,0xfffc # 0x0ffffffc 136 insrdi $h1,$h1,32,0 # 0x0ffffffc0ffffffc 137 ori $h0,$h1,3 # 0x0ffffffc0fffffff 140 and $d1,$d1,$h1 172 ld $h1,8($ctx) [all …]
|
H A D | poly1305-x86_64.pl | 105 my ($h0,$h1,$h2)=("%r14","%rbx","%rbp"); 121 mulq $h1 # h1*r0 126 mulq $h1 # h1*s1 127 mov $h2,$h1 # borrow $h1 131 imulq $s1,$h1 # h2*s1 132 add $h1,$d2 133 mov $d1,$h1 137 add $d2,$h1 147 adc \$0,$h1 256 mov 8($ctx),$h1 [all …]
|
H A D | poly1305-s390x.pl | 128 my ($d0hi,$d0lo,$d1hi,$d1lo,$t0,$h0,$t1,$h1,$h2) = map("%r$_",(6..14)); 142 lg ($h1,"8($ctx)"); 168 alcgr ($d1lo,$h1); 173 lgr ($h1,$d1lo); 174 mlgr ($d1hi,$s1); # h1*5*r1 -> $d1hi:$d1lo 177 mlgr ($t1,$r0); # h1*r0 -> $t1:$h1 184 algr ($h1,$h0); 190 algr ($h1,$d1lo); 193 algr ($h1,$d0hi); 204 alcgr ($h1,$d1hi); # $d1hi is still zero [all …]
|
H A D | poly1305-armv8.pl | 55 my ($h0,$h1,$h2,$r0,$r1,$s1,$t0,$t1,$d0,$d1,$d2) = map("x$_",(4..14)); 129 ldp $h0,$h1,[$ctx] // load hash value 144 adcs $h1,$h1,$t1 150 mul $t0,$h1,$s1 // h1*5*r1 151 umulh $t1,$h1,$s1 159 mul $t0,$h1,$r0 // h1*r0 161 umulh $t1,$h1,$r0 175 adcs $h1,$d1,xzr 180 stp $h0,$h1,[$ctx] // store hash value 194 ldp $h0,$h1,[$ctx] // load hash base 2^64 [all …]
|
H A D | poly1305-armv4.pl | 177 my ($h0,$h1,$h2,$h3,$h4,$r0,$r1,$r2,$r3)=map("r$_",(4..12)); 229 adcs $h1,$h1,r3 263 adcs $h1,$h1,r1 271 umull r2,r3,$h1,$r0 278 umlal r0,r1,$h1,$s3 288 str r2,[sp,#4] @ future $h1 297 umlal r0,r1,$h1,$r1 298 umlal r2,r3,$h1,$r2 303 ldr $h1,[sp,#4] 317 adcs $h1,$h1,#0 [all …]
|
H A D | poly1305-sparcv9.pl | 51 my ($h0,$h1,$h2,$h3, $t0,$t1,$t2) = map("%o$_",(0..5,7)); 102 set 8,$h1 111 ldxa [$inp+$h1]0x88,$h1 115 sllx $h1,$shl,$t2 116 srlx $h1,$shr,$h1 119 or $h2,$h1,$h1 123 and $t1,$h1,$h1 125 stx $h1,[$ctx+32+8] 161 ld [$ctx+0],$h1 ! load hash value 198 addccc $t0,$h1,$h1 [all …]
|
H A D | poly1305-c64xplus.pl | 32 ($H0,$H1,$H2,$H3,$H4,$H4a)=("A8","B8","A10","B10","B2",$LEN); 66 STDW B9:B8,*${CTXA}[0] ; initialize h1:h0 119 || [A2] LDDW *${S3b}[0],B25:B24 ; load h1:h0 139 ADDU $D1,B25,$D1:$H1 ; h1+=inp[1] 150 || ADDU $D0,$D1:$H1,B25:B24 ; ADDU $D0,$D1:$H1,$D1:$H1 155 || ADD $D0,$H1,A24 ; A-copy of B24 159 MPY32U A24,$S3,A21:A20 ; MPY32U $H1,$S3,A21:A20 160 || MPY32U B24,$R0b,B21:B20 ; MPY32U $H1,$R0,B21:B20 164 MPY32U A24,$R1,A23:A22 ; MPY32U $H1,$R1,A23:A22 165 || MPY32U B24,$R2,B23:B22 ; MPY32U $H1,$R2,B23:B22 [all …]
|
H A D | poly1305-ia64.S | 51 st8 [r9]=r0 // ctx->h1 = 0 107 h0=r17; h1=r18; h2=r19; 129 ld8 h1=[r9],16 189 add h1=h1,i1 193 cmp.ltu p7,p0=h1,i1 };; 194 { .mmi; (p6) add h1=1,h1;; 195 setf.sig HF1=h1 196 (p6) cmp.eq.or p7,p0=0,h1 };; 234 { .mmi; add h1=r26,r28 238 cmp.ltu p7,p0=h1,r28 [all …]
|
H A D | poly1305-mips.pl | 174 my ($h0,$h1,$h2,$r0,$r1,$s1,$d0,$d1,$d2) = 210 ld $h1,8($ctx) 272 daddu $h1,$in1 274 sltu $tmp1,$h1,$in1 275 daddu $h1,$tmp0 279 sltu $tmp0,$h1,$tmp0 283 dmultu ($s1,$h1) # h1*5*r1 286 mflo ($tmp0,$s1,$h1) 287 mfhi ($tmp1,$s1,$h1) 297 dmultu ($r0,$h1) # h1*r0 [all …]
|
H A D | poly1305-x86.pl | 149 ($h0,$h1,$h2,$h3,$h4, 210 &mov ("eax","ebx"); # h1 212 &mul (&DWP($s3,"esp")); # h1*s3 229 &mov ("eax","ebx"); # h1 231 &mul (&DWP($r0,"esp")); # h1*r0 252 &mov ("eax","ebx"); # h1 254 &mul (&DWP($r1,"esp")); # h1*r1 275 &mov ("eax","ebx"); # h1 277 &mul (&DWP($r2,"esp")); # h1*r2 460 # d4 = h4*r0 + h3*r1 + h2*r2 + h1*r3 + h0*r4 [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/ |
H A D | poly1305_donna64.h | 69 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 …]
|
H A D | poly1305_donna32.h | 62 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/crypto/openssl/crypto/poly1305/ |
H A D | poly1305_base2_44.c | 87 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 …]
|
H A D | poly1305.c | 153 u64 h0, h1, h2, c; in poly1305_blocks() local 162 h1 = st->h[1]; in poly1305_blocks() 168 h1 = (u64)(d1 = (u128)h1 + (d0 >> 64) + U8TOU64(inp + 8)); in poly1305_blocks() 177 ((u128)h1 * s1); in poly1305_blocks() 179 ((u128)h1 * r0) + in poly1305_blocks() 186 h1 = (u64)(d1 += d0 >> 64); in poly1305_blocks() 192 h1 += (c = CONSTANT_TIME_CARRY(h0,c)); in poly1305_blocks() 193 h2 += CONSTANT_TIME_CARRY(h1,c); in poly1305_blocks() 209 st->h[1] = h1; in poly1305_blocks() 217 u64 h0, h1, h2; in poly1305_emit() local [all …]
|
/freebsd/sys/contrib/ck/src/ |
H A D | ck_ht_hash.h | 125 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/crypto/openssh/ |
H A D | poly1305.c | 35 uint32_t h0,h1,h2,h3,h4; in poly1305_auth() local 66 h1 = 0; in poly1305_auth() 83 h1 += ((((uint64_t)t1 << 32) | t0) >> 26) & 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() 97 t[1] += c; h1 = (uint32_t)t[1] & 0x3ffffff; b = (uint32_t)(t[1] >> 26); in poly1305_auth() 120 h1 += ((((uint64_t)t1 << 32) | t0) >> 26) & 0x3ffffff; in poly1305_auth() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/soc/imx/ |
H A D | fsl,imx8mm-vpu-blk-ctrl.yaml | 68 - description: H1 encoder power domain 75 - const: h1 81 - description: H1 encoder clk 87 - const: h1 93 - description: H1 encoder power domain 99 - const: h1 158 power-domain-names = "bus", "g1", "g2", "h1"; 162 clock-names = "g1", "g2", "h1";
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_onetimeauth/poly1305/sse2/ |
H A D | poly1305_sse2.c | 206 xmmi H0, H1, H2, H3, H4; in poly1305_blocks() local 229 H1 = _mm_and_si128(MMASK, _mm_srli_epi64(T5, 26)); in poly1305_blocks() 243 H1 = _mm_shuffle_epi32(T0, _MM_SHUFFLE(3, 3, 2, 2)); in poly1305_blocks() 327 v03 = H1; in poly1305_blocks() 344 v13 = H1; in poly1305_blocks() 363 v23 = H1; in poly1305_blocks() 366 v33 = H1; in poly1305_blocks() 383 v43 = H1; in poly1305_blocks() 525 H1 = T1; in poly1305_blocks() 563 v03 = H1; in poly1305_blocks() [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/private/ |
H A D | ed25519_ref10_fe_25_5.h | 44 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 543 |h1| <= (1.65*1.65*2^51*(1+1+19+19+19+19+19+19+19+19)) in fe25519_mul() 544 i.e. |h1| <= 1.7*2^59; narrower ranges for h3, h5, h7, h9 in fe25519_mul() 548 h1 += carry0; in fe25519_mul() [all …]
|
H A D | ed25519_ref10_fe_51.h | 36 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/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_25_5/ |
H A D | fe.h | 9 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/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ |
H A D | fe_frombytes_sandy2x.c | 34 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/contrib/sendmail/src/ |
H A D | sasl.c | 165 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/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) 449 #define bus_space_copy_region_4(t, h1, o1, h2, o2, c) \ 450 __bs_copy(4, t, h1, o1, h2, o2, c) 451 #define bus_space_copy_region_8(t, h1, o1, h2, o2, c) \ 452 __bs_copy(8, t, h1, o1, h2, o2, c) [all …]
|