Home
last modified time | relevance | path

Searched refs:h0 (Results 1 - 25 of 105) sorted by relevance

12345

/third_party/node/deps/openssl/openssl/crypto/poly1305/
H A Dpoly1305.c153 u64 h0, h1, h2, c; in poly1305_blocks() local
161 h0 = st->h[0]; in poly1305_blocks()
167 h0 = (u64)(d0 = (u128)h0 + U8TOU64(inp + 0)); in poly1305_blocks()
176 d0 = ((u128)h0 * r0) + in poly1305_blocks()
178 d1 = ((u128)h0 * r1) + in poly1305_blocks()
184 /* a) h2:h0 = h2<<128 + d1<<64 + d0 */ in poly1305_blocks()
185 h0 = (u64)d0; in poly1305_blocks()
188 /* b) (h2:h0 += (h2:h0>>13 in poly1305_blocks()
217 u64 h0, h1, h2; poly1305_emit() local
295 u32 h0, h1, h2, h3, h4, c; poly1305_blocks() local
383 u32 h0, h1, h2, h3, h4; poly1305_emit() local
[all...]
H A Dpoly1305_base2_44.c87 u64 h0, h1, h2, c; in poly1305_blocks() local
98 h0 = st->h[0]; in poly1305_blocks()
109 h0 += m0 & 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()
119 h0 = (u64)d0 & 0x0fffffffffff; in poly1305_blocks()
124 h0 += c + (c << 2); in poly1305_blocks()
130 st->h[0] = h0; in poly1305_blocks()
138 u64 h0, h in poly1305_emit() local
[all...]
/third_party/openssl/crypto/poly1305/
H A Dpoly1305.c153 u64 h0, h1, h2, c; in poly1305_blocks() local
161 h0 = st->h[0]; in poly1305_blocks()
167 h0 = (u64)(d0 = (u128)h0 + U8TOU64(inp + 0)); in poly1305_blocks()
176 d0 = ((u128)h0 * r0) + in poly1305_blocks()
178 d1 = ((u128)h0 * r1) + in poly1305_blocks()
184 /* a) h2:h0 = h2<<128 + d1<<64 + d0 */ in poly1305_blocks()
185 h0 = (u64)d0; in poly1305_blocks()
188 /* b) (h2:h0 += (h2:h0>>13 in poly1305_blocks()
217 u64 h0, h1, h2; poly1305_emit() local
295 u32 h0, h1, h2, h3, h4, c; poly1305_blocks() local
383 u32 h0, h1, h2, h3, h4; poly1305_emit() local
[all...]
H A Dpoly1305_base2_44.c87 u64 h0, h1, h2, c; in poly1305_blocks() local
98 h0 = st->h[0]; in poly1305_blocks()
109 h0 += m0 & 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()
119 h0 = (u64)d0 & 0x0fffffffffff; in poly1305_blocks()
124 h0 += c + (c << 2); in poly1305_blocks()
130 st->h[0] = h0; in poly1305_blocks()
138 u64 h0, h in poly1305_emit() local
[all...]
/third_party/libwebsockets/plugins/ssh-base/crypto/
H A Dpoly1305.c33 uint32_t h0,h1,h2,h3,h4; in poly1305_auth() local
63 h0 = 0; in poly1305_auth()
82 h0 += t0 & 0x3ffffff; in poly1305_auth()
89 t[0] = mul32x32_64(h0,r0) + mul32x32_64(h1,s4) + in poly1305_auth()
92 t[1] = mul32x32_64(h0,r1) + mul32x32_64(h1,r0) + in poly1305_auth()
95 t[2] = mul32x32_64(h0,r2) + mul32x32_64(h1,r1) + in poly1305_auth()
98 t[3] = mul32x32_64(h0,r3) + mul32x32_64(h1,r2) + in poly1305_auth()
101 t[4] = mul32x32_64(h0,r4) + mul32x32_64(h1,r3) + in poly1305_auth()
105 h0 = (uint32_t)t[0] & 0x3ffffff; c = (t[0] >> 26); in poly1305_auth()
110 h0 in poly1305_auth()
[all...]
/third_party/node/deps/openssl/openssl/crypto/poly1305/asm/
H A Dpoly1305-ppc.pl103 my ($h0,$h1,$h2,$d0,$d1,$d2, $r0,$r1,$s1, $t0,$t1) = map("r$_",(7..12,27..31));
123 li $h0,4
126 lwbrx $h0,$h0,$inp
130 insrdi $d0,$h0,32,0
137 ori $h0,$h1,3 # 0x0ffffffc0fffffff
139 and $d0,$d0,$h0
171 ld $h0,0($ctx) # load hash value
202 addc $h0,$h0,
[all...]
H A Dpoly1305-armv8.pl55 my ($h0,$h1,$h2,$r0,$r1,$s1,$t0,$t1,$d0,$d1,$d2) = map("x$_",(4..14));
125 ldp $h0,$h1,[$ctx] // load hash value
139 adds $h0,$h0,$t0 // accumulate input
142 mul $d0,$h0,$r0 // h0*r0
144 umulh $d1,$h0,$r0
150 mul $t0,$h0,$r1 // h0*r1
152 umulh $d2,$h0,
[all...]
H A Dpoly1305-armv4.pl177 my ($h0,$h1,$h2,$h3,$h4,$r0,$r1,$r2,$r3)=map("r$_",(4..12));
194 ldmia $ctx,{$h0-$r3} @ load context
220 adds $h0,$h0,r3 @ accumulate input
261 adds $h0,$h0,r0 @ accumulate input
273 umull r0,r1,$h0,$r0
281 umlal r2,r3,$h0,$r1
282 str r0,[sp,#0] @ future $h0
299 umlal r0,r1,$h0,
[all...]
H A Dpoly1305-sparcv9.pl51 my ($h0,$h1,$h2,$h3, $t0,$t1,$t2) = map("%o$_",(0..5,7));
109 ldxa [$inp+%g0]0x88,$h0 ! load little-endian key
114 srlx $h0,$shr,$h0
117 or $t2,$h0,$h0
122 and $t0,$h0,$h0
124 stx $h0,[$ctx+32+0] ! store key
162 ld [$ctx+4],$h0
[all...]
H A Dpoly1305-mips.pl174 my ($h0,$h1,$h2,$r0,$r1,$s1,$d0,$d1,$d2) =
209 ld $h0,0($ctx) # load hash value
271 daddu $h0,$in0 # accumulate input
273 sltu $tmp0,$h0,$in0
277 dmultu ($r0,$h0) # h0*r0
280 mflo ($d0,$r0,$h0)
281 mfhi ($d1,$r0,$h0)
289 dmultu ($r1,$h0) # h0*r
[all...]
H A Dpoly1305-ppcfp.pl552 my ($h0,$h1,$h2,$h3,$h4, $d0,$d1,$d2,$d3
570 lwz $h0,`8*0+(4^$LITTLE_ENDIAN)`($ctx)
592 addc $h0,$h0,$d3
598 addic $d0,$h0,5 # compare to modulus
608 andc $h0,$h0,$mask
612 or $h0,$h0,$d0
625 addc $h0,
[all...]
H A Dpoly1305-ia64.S50 { .mmi; st8 [r32]=r0,24 // ctx->h0 = 0
107 h0=r17; h1=r18; h2=r19;
128 { .mmi; ld8 h0=[r8],16
188 { .mmi; add h0=h0,i0
191 { .mmi; setf.sig HF0=h0
192 cmp.ltu p6,p0=h0,i0
231 { .mmi; add h0=r22,r24
237 { .mmi; cmp.ltu p6,p0=h0,r24
257 { .mmi; add h0
[all...]
/third_party/openssl/crypto/poly1305/asm/
H A Dpoly1305-ppc.pl103 my ($h0,$h1,$h2,$d0,$d1,$d2, $r0,$r1,$s1, $t0,$t1) = map("r$_",(7..12,27..31));
123 li $h0,4
126 lwbrx $h0,$h0,$inp
130 insrdi $d0,$h0,32,0
137 ori $h0,$h1,3 # 0x0ffffffc0fffffff
139 and $d0,$d0,$h0
171 ld $h0,0($ctx) # load hash value
202 addc $h0,$h0,
[all...]
H A Dpoly1305-armv8.pl55 my ($h0,$h1,$h2,$r0,$r1,$s1,$t0,$t1,$d0,$d1,$d2) = map("x$_",(4..14));
125 ldp $h0,$h1,[$ctx] // load hash value
139 adds $h0,$h0,$t0 // accumulate input
142 mul $d0,$h0,$r0 // h0*r0
144 umulh $d1,$h0,$r0
150 mul $t0,$h0,$r1 // h0*r1
152 umulh $d2,$h0,
[all...]
H A Dpoly1305-armv4.pl177 my ($h0,$h1,$h2,$h3,$h4,$r0,$r1,$r2,$r3)=map("r$_",(4..12));
194 ldmia $ctx,{$h0-$r3} @ load context
220 adds $h0,$h0,r3 @ accumulate input
261 adds $h0,$h0,r0 @ accumulate input
273 umull r0,r1,$h0,$r0
281 umlal r2,r3,$h0,$r1
282 str r0,[sp,#0] @ future $h0
299 umlal r0,r1,$h0,
[all...]
H A Dpoly1305-sparcv9.pl51 my ($h0,$h1,$h2,$h3, $t0,$t1,$t2) = map("%o$_",(0..5,7));
109 ldxa [$inp+%g0]0x88,$h0 ! load little-endian key
114 srlx $h0,$shr,$h0
117 or $t2,$h0,$h0
122 and $t0,$h0,$h0
124 stx $h0,[$ctx+32+0] ! store key
162 ld [$ctx+4],$h0
[all...]
H A Dpoly1305-mips.pl174 my ($h0,$h1,$h2,$r0,$r1,$s1,$d0,$d1,$d2) =
209 ld $h0,0($ctx) # load hash value
271 daddu $h0,$in0 # accumulate input
273 sltu $tmp0,$h0,$in0
277 dmultu ($r0,$h0) # h0*r0
280 mflo ($d0,$r0,$h0)
281 mfhi ($d1,$r0,$h0)
289 dmultu ($r1,$h0) # h0*r
[all...]
H A Dpoly1305-ppcfp.pl552 my ($h0,$h1,$h2,$h3,$h4, $d0,$d1,$d2,$d3
570 lwz $h0,`8*0+(4^$LITTLE_ENDIAN)`($ctx)
592 addc $h0,$h0,$d3
598 addic $d0,$h0,5 # compare to modulus
608 andc $h0,$h0,$mask
612 or $h0,$h0,$d0
625 addc $h0,
[all...]
/third_party/skia/src/gpu/tessellate/
H A DPatchWriter.cpp77 float4 h0 = float4(p0,1,1); in chopAndWriteConics() local
83 float4 ab = mix(h0, h1, T); in chopAndWriteConics()
89 ConicPatch(*this) << (h0.xy() / h0.w()) in chopAndWriteConics()
92 << (ab.w() / sqrtf(h0.w() * abc.w())); in chopAndWriteConics()
96 std::tie(h0, h1) = {abc, bc}; // Save the 2nd conic (in homogeneous space). in chopAndWriteConics()
100 ConicPatch(*this) << (h0.xy() / h0.w()) in chopAndWriteConics()
103 << (h1.w() / sqrtf(h0.w())); in chopAndWriteConics()
/third_party/ffmpeg/libavutil/ppc/
H A Dfloat_dsp_altivec.c99 vec_f d, s0, s1, h0, l0, s2, s3; in ff_vector_fmul_reverse_altivec() local
108 h0 = vec_mergeh(s1, s1); // [a,a,b,b] in ff_vector_fmul_reverse_altivec()
110 s1 = vec_mergeh(vec_mergel(l0, h0), // [d,b,d,b] in ff_vector_fmul_reverse_altivec()
111 vec_mergeh(l0, h0)); // [c,a,c,a] in ff_vector_fmul_reverse_altivec()
115 h0 = vec_mergeh(s3, s3); in ff_vector_fmul_reverse_altivec()
117 s3 = vec_mergeh(vec_mergel(l0, h0), in ff_vector_fmul_reverse_altivec()
118 vec_mergeh(l0, h0)); in ff_vector_fmul_reverse_altivec()
H A Dfloat_dsp_vsx.c94 vec_f d, s0, s1, h0, l0, s2, s3; in ff_vector_fmul_reverse_vsx() local
103 h0 = vec_mergeh(s1, s1); // [a,a,b,b] in ff_vector_fmul_reverse_vsx()
105 s1 = vec_mergeh(vec_mergel(l0, h0), // [d,b,d,b] in ff_vector_fmul_reverse_vsx()
106 vec_mergeh(l0, h0)); // [c,a,c,a] in ff_vector_fmul_reverse_vsx()
110 h0 = vec_mergeh(s3, s3); in ff_vector_fmul_reverse_vsx()
112 s3 = vec_mergeh(vec_mergel(l0, h0), in ff_vector_fmul_reverse_vsx()
113 vec_mergeh(l0, h0)); in ff_vector_fmul_reverse_vsx()
/third_party/ffmpeg/libavcodec/
H A Dqpel_template.c85 uint32_t a, b, c, d, l0, l1, h0, h1; \
93 h0 = ((a & 0xFCFCFCFCUL) >> 2) + \
100 h0 + h1 + (((l0 + l1) >> 2) & 0x0F0F0F0FUL)); \
108 h0 = ((a & 0xFCFCFCFCUL) >> 2) + \
115 h0 + h1 + (((l0 + l1) >> 2) & 0x0F0F0F0FUL)); \
135 uint32_t a, b, c, d, l0, l1, h0, h1; \
143 h0 = ((a & 0xFCFCFCFCUL) >> 2) + \
150 h0 + h1 + (((l0 + l1) >> 2) & 0x0F0F0F0FUL)); \
158 h0 = ((a & 0xFCFCFCFCUL) >> 2) + \
165 h0
[all...]
H A Dhpeldsp.c182 uint32_t h0 = ((a & 0xFCFCFCFCUL) >> 2) + \
194 OP(*((uint32_t *) block), h0 + h1 + \
203 h0 = ((a & 0xFCFCFCFCUL) >> 2) + \
205 OP(*((uint32_t *) block), h0 + h1 + \
227 uint32_t h0 = ((a & 0xFCFCFCFCUL) >> 2) + \
239 OP(*((uint32_t *) block), h0 + h1 + \
248 h0 = ((a & 0xFCFCFCFCUL) >> 2) + \
250 OP(*((uint32_t *) block), h0 + h1 + \
275 uint32_t h0 = ((a & 0xFCFCFCFCUL) >> 2) + \
287 OP(*((uint32_t *) block), h0
[all...]
/third_party/musl/src/search/
H A Dtsearch.c52 int h0 = height(n->a[0]); in __tsearch_balance() local
54 if (h0 - h1 + 1u < 3u) { in __tsearch_balance()
56 n->h = h0<h1 ? h1+1 : h0+1; in __tsearch_balance()
59 return rot(p, n, h0<h1); in __tsearch_balance()
/third_party/skia/src/core/
H A DSkDrawShadowInfo.cpp96 SkPoint3 h0, h1, h2; in GetSpotShadowTransform() local
98 h0 = (pts3D[1].cross(pts3D[0])).cross(pts3D[2].cross(pts3D[3])); in GetSpotShadowTransform()
110 // Want h0 to be to the right of the left edge. in GetSpotShadowTransform()
112 SkVector3 w = h0 - pts3D[0]; in GetSpotShadowTransform()
115 h0 = -h0; in GetSpotShadowTransform()
123 shadowTransform->setAll(h0.fX / h2.fZ, h1.fX / h2.fZ, h2.fX / h2.fZ, in GetSpotShadowTransform()
124 h0.fY / h2.fZ, h1.fY / h2.fZ, h2.fY / h2.fZ, in GetSpotShadowTransform()
125 h0.fZ / h2.fZ, h1.fZ / h2.fZ, 1); in GetSpotShadowTransform()

Completed in 11 milliseconds

12345