Home
last modified time | relevance | path

Searched refs:z2 (Results 1 – 25 of 55) sorted by relevance

123

/freebsd-13.1/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/
H A Dcurve25519_sandy2x.c45 z_51.v[0] = (z2[1] << 26) + z2[0]; in crypto_scalarmult_curve25519_sandy2x()
46 z_51.v[1] = (z2[3] << 26) + z2[2]; in crypto_scalarmult_curve25519_sandy2x()
47 z_51.v[2] = (z2[5] << 26) + z2[4]; in crypto_scalarmult_curve25519_sandy2x()
48 z_51.v[3] = (z2[7] << 26) + z2[6]; in crypto_scalarmult_curve25519_sandy2x()
49 z_51.v[4] = (z2[9] << 26) + z2[8]; in crypto_scalarmult_curve25519_sandy2x()
65 #undef z2
89 z_51.v[0] = (z2[1] << 26) + z2[0]; in crypto_scalarmult_curve25519_sandy2x_base()
90 z_51.v[1] = (z2[3] << 26) + z2[2]; in crypto_scalarmult_curve25519_sandy2x_base()
91 z_51.v[2] = (z2[5] << 26) + z2[4]; in crypto_scalarmult_curve25519_sandy2x_base()
92 z_51.v[3] = (z2[7] << 26) + z2[6]; in crypto_scalarmult_curve25519_sandy2x_base()
[all …]
H A Dfe51_invert.c15 fe51 z2; in fe51_invert() local
25 /* 2 */ fe51_square(&z2,x); in fe51_invert()
26 /* 4 */ fe51_square(&t,&z2); in fe51_invert()
29 /* 11 */ fe51_mul(&z11,&z9,&z2); in fe51_invert()
/freebsd-13.1/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/
H A Dx25519_ref10.c60 fe25519 z2; in crypto_scalarmult_curve25519_ref10() local
80 fe25519_0(z2); in crypto_scalarmult_curve25519_ref10()
94 fe25519_add(x2, x2, z2); in crypto_scalarmult_curve25519_ref10()
95 fe25519_add(z2, x3, z3); in crypto_scalarmult_curve25519_ref10()
97 fe25519_mul(z2, z2, tmp1); in crypto_scalarmult_curve25519_ref10()
100 fe25519_add(x3, z3, z2); in crypto_scalarmult_curve25519_ref10()
101 fe25519_sub(z2, z3, z2); in crypto_scalarmult_curve25519_ref10()
104 fe25519_sq(z2, z2); in crypto_scalarmult_curve25519_ref10()
108 fe25519_mul(z3, x1, z2); in crypto_scalarmult_curve25519_ref10()
114 fe25519_invert(z2, z2); in crypto_scalarmult_curve25519_ref10()
[all …]
/freebsd-13.1/contrib/bearssl/src/ec/
H A Dec_c25519_i31.c228 br_i31_zero(z2, C255_P[0]); in api_mul()
229 memcpy(x2, z2, sizeof z2); in api_mul()
253 cswap(z2, z3, swap); in api_mul()
263 c255_add(a, x2, z2); in api_mul()
265 c255_sub(b, x2, z2); in api_mul()
292 c255_add(z2, z2, aa); in api_mul()
293 c255_mul(z2, e, z2); in api_mul()
303 cswap(z2, z3, swap); in api_mul()
310 memcpy(a, z2, sizeof z2); in api_mul()
313 c255_mul(a, a, z2); in api_mul()
[all …]
H A Dec_c25519_i15.c237 br_i15_zero(z2, C255_P[0]); in api_mul()
238 memcpy(x2, z2, ILEN); in api_mul()
259 cswap(z2, z3, swap); in api_mul()
269 c255_add(a, x2, z2); in api_mul()
271 c255_sub(b, x2, z2); in api_mul()
298 c255_add(z2, z2, aa); in api_mul()
299 c255_mul(z2, e, z2); in api_mul()
309 cswap(z2, z3, swap); in api_mul()
316 memcpy(a, z2, ILEN); in api_mul()
319 c255_mul(a, a, z2); in api_mul()
[all …]
H A Dec_c25519_m62.c412 memset(z2, 0, sizeof z2); in api_mul()
436 f255_cswap(z2, z3, swap); in api_mul()
451 f255_add(a, x2, z2); in api_mul()
457 f255_sub(b, x2, z2); in api_mul()
490 f255_mul_a24(z2, e); in api_mul()
491 f255_add(z2, aa, z2); in api_mul()
492 f255_mul(z2, e, z2); in api_mul()
496 f255_cswap(z2, z3, swap); in api_mul()
502 memcpy(x1, z2, sizeof z2); in api_mul()
505 f255_mul(x1, x1, z2); in api_mul()
[all …]
H A Dec_c25519_m31.c651 memset(z2, 0, sizeof z2); in api_mul()
674 cswap(z2, z3, swap); in api_mul()
684 f255_add(a, x2, z2); in api_mul()
686 f255_sub(b, x2, z2); in api_mul()
712 f255_mul_a24(z2, e); in api_mul()
713 f255_add(z2, z2, aa); in api_mul()
714 f255_mul(z2, e, z2); in api_mul()
724 cswap(z2, z3, swap); in api_mul()
731 memcpy(a, z2, sizeof z2); in api_mul()
734 f255_mul(a, a, z2); in api_mul()
[all …]
H A Dec_c25519_m64.c658 memset(z2, 0, sizeof z2); in api_mul()
682 f255_cswap(z2, z3, swap); in api_mul()
686 f255_add(a, x2, z2); in api_mul()
692 f255_sub(b, x2, z2); in api_mul()
725 f255_mul_a24(z2, e); in api_mul()
726 f255_add(z2, aa, z2); in api_mul()
727 f255_mul(z2, e, z2); in api_mul()
731 f255_cswap(z2, z3, swap); in api_mul()
737 memcpy(x1, z2, sizeof z2); in api_mul()
740 f255_mul(x1, x1, z2); in api_mul()
[all …]
H A Dec_c25519_m15.c1329 memset(z2, 0, sizeof z2); in api_mul()
1352 cswap(z2, z3, swap); in api_mul()
1362 f255_add(a, x2, z2); in api_mul()
1364 f255_sub(b, x2, z2); in api_mul()
1390 f255_mul_a24(z2, e); in api_mul()
1391 f255_add(z2, z2, aa); in api_mul()
1392 f255_mul(z2, e, z2); in api_mul()
1402 cswap(z2, z3, swap); in api_mul()
1409 memcpy(a, z2, sizeof z2); in api_mul()
1412 f255_mul(a, a, z2); in api_mul()
[all …]
/freebsd-13.1/contrib/bearssl/src/hash/
H A Dghash_ctmul64.c37 uint64_t z0, z1, z2, z3; in bmul64() local
49 z2 = (x0 * y2) ^ (x1 * y1) ^ (x2 * y0) ^ (x3 * y3); in bmul64()
53 z2 &= (uint64_t)0x4444444444444444; in bmul64()
55 return z0 | z1 | z2 | z3; in bmul64()
100 uint64_t z0, z1, z2, z0h, z1h, z2h; in br_ghash_ctmul64() local
123 z2 = bmul64(y2, h2); in br_ghash_ctmul64()
127 z2 ^= z0 ^ z1; in br_ghash_ctmul64()
134 v1 = z0h ^ z2; in br_ghash_ctmul64()
H A Dghash_ctmul32.c53 uint32_t z0, z1, z2, z3; in bmul32() local
65 z2 = (x0 * y2) ^ (x1 * y1) ^ (x2 * y0) ^ (x3 * y3); in bmul32()
69 z2 &= (uint32_t)0x44444444; in bmul32()
71 return z0 | z1 | z2 | z3; in bmul32()
H A Dghash_pclmul.c220 __m128i z0, z1, z2, z3; \
224 z2 = _mm_shuffle_epi32(z3, 0x0E); \
225 SL_256(z0, z1, z2, z3); \
226 REDUCE_F128(z0, z1, z2, z3); \
/freebsd-13.1/crypto/openssl/crypto/ec/curve448/
H A Dcurve448.c383 gf x1, x2, z2, x3, z3, t1, t2; in x448_int() local
390 gf_copy(z2, ZERO); in x448_int()
409 gf_cond_swap(z2, z3, swap); in x448_int()
420 gf_mul(x2, t1, z2); /* DA */ in x448_int()
422 gf_mul(x3, t2, z2); /* CB */ in x448_int()
424 gf_sqr(z2, z3); /* (DA-CB)^2 */ in x448_int()
429 gf_sqr(z2, t1); /* AA = A^2 */ in x448_int()
441 gf_cond_swap(z2, z3, swap); in x448_int()
442 gf_invert(z2, z2, 0); in x448_int()
443 gf_mul(x1, x2, z2); in x448_int()
[all …]
/freebsd-13.1/lib/libc/softfloat/bits32/
H A Dsoftfloat-macros172 z2 = a2;
202 *z2Ptr = z2;
258 *z2Ptr = z2;
309 z2 = a2 + b2;
317 *z2Ptr = z2;
367 z2 = a2 - b2;
375 *z2Ptr = z2;
434 *z2Ptr = z2;
465 add64( z1, more2, 0, z2, &z1, &z2 );
469 add64( more1, more2, 0, z2, &more1, &z2 );
[all …]
/freebsd-13.1/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/
H A Du4.h26 z7 = _mm_shuffle_epi32(z2, 0xff);
27 z13 = _mm_shuffle_epi32(z2, 0x55);
28 z2 = _mm_shuffle_epi32(z2, 0xaa);
37 orig2 = z2;
92 z2 = orig2;
189 z2 = _mm_xor_si128(z2, y2);
191 z2 = _mm_xor_si128(z2, r2);
217 y10 = z2;
253 z2 = _mm_xor_si128(z2, y2);
255 z2 = _mm_xor_si128(z2, r2);
[all …]
H A Du8.h16 __m256i z2 = _mm256_set1_epi32(x[10]); variable
25 __m256i orig2 = z2;
92 z2 = orig2;
189 z2 = _mm256_xor_si256(z2, y2);
191 z2 = _mm256_xor_si256(z2, r2);
202 y6 = _mm256_add_epi32(y6, z2);
217 y10 = z2;
253 z2 = _mm256_xor_si256(z2, y2);
255 z2 = _mm256_xor_si256(z2, r2);
266 y3 = _mm256_add_epi32(y3, z2);
[all …]
/freebsd-13.1/lib/libc/softfloat/bits64/
H A Dsoftfloat-macros247 z2 = a2;
277 *z2Ptr = z2;
333 *z2Ptr = z2;
384 z2 = a2 + b2;
392 *z2Ptr = z2;
442 z2 = a2 - b2;
450 *z2Ptr = z2;
509 *z2Ptr = z2;
540 add128( z1, more2, 0, z2, &z1, &z2 );
544 add128( more1, more2, 0, z2, &more1, &z2 );
[all …]
/freebsd-13.1/lib/libc/iconv/
H A Dcitrus_csmapper.c191 struct zone z1, z2; in parse_line() local
202 z2.begin = _bcs_skip_ws_len(z1.end, &len); in parse_line()
205 z2.end = _bcs_skip_nonws_len(z2.begin, &len); in parse_line()
211 "%.*s", (int)(z2.end-z2.begin), z2.begin); in parse_line()
/freebsd-13.1/crypto/openssh/
H A Dfe25519.c220 fe25519 z2; in fe25519_invert() local
232 /* 2 */ fe25519_square(&z2,x); in fe25519_invert()
233 /* 4 */ fe25519_square(&t1,&z2); in fe25519_invert()
236 /* 11 */ fe25519_mul(&z11,&z9,&z2); in fe25519_invert()
287 fe25519 z2; in fe25519_pow2523() local
298 /* 2 */ fe25519_square(&z2,x); in fe25519_pow2523()
299 /* 4 */ fe25519_square(&t,&z2); in fe25519_pow2523()
302 /* 11 */ fe25519_mul(&z11,&z9,&z2); in fe25519_pow2523()
/freebsd-13.1/lib/libmp/
H A Dmpasbn.c375 MINT *z1, *z2, *z3; in mp_msqrt() local
385 z2 = _itom("msqrt", 0); in mp_msqrt()
389 _mdiv("msqrt", nmp, x, z1, z2, c); in mp_msqrt()
390 _madd("msqrt", x, z1, z2); in mp_msqrt()
391 _sdiv("msqrt", z2, 2, x, &i, c); in mp_msqrt()
396 _msub("msqrt", nmp, z1, z2); in mp_msqrt()
397 _movem("msqrt", z2, rmp); in mp_msqrt()
402 _mfree("msqrt", z2); in mp_msqrt()
/freebsd-13.1/crypto/openssl/crypto/ec/
H A Dcurve25519.c231 fe64_mul(z2, z2, tmp1); in x25519_scalar_mulx()
235 fe64_sub(z2, z3, z2); in x25519_scalar_mulx()
238 fe64_sqr(z2, z2); in x25519_scalar_mulx()
246 fe64_invert(z2, z2); in x25519_scalar_mulx()
723 fe51_mul(z2, z2, tmp1); in x25519_scalar_mult()
727 fe51_sub(z2, z3, z2); in x25519_scalar_mult()
730 fe51_sq(z2, z2); in x25519_scalar_mult()
738 fe51_invert(z2, z2); in x25519_scalar_mult()
4400 fe_sub(z2, z3, z2); in x25519_scalar_mult_generic()
4403 fe_sq(z2, z2); in x25519_scalar_mult_generic()
[all …]
/freebsd-13.1/contrib/gdtoa/
H A Dmisc.c281 ULong z2; local
329 z2 = (*x++ >> 16) * y + (*xc >> 16) + carry;
330 carry = z2 >> 16;
331 Storeinc(xc, z2, z);
340 z2 = *xc;
344 Storeinc(xc, z, z2);
345 z2 = (*x++ >> 16) * y + (*xc & 0xffff) + carry;
346 carry = z2 >> 16;
349 *xc = z2;
/freebsd-13.1/sys/contrib/device-tree/Bindings/clock/
H A Drenesas,r8a73a4-cpg-clocks.txt17 "pll0", "pll1", "pll2", "pll2s", "pll2h", "z", "z2", "i", "m3", "b",
30 "pll2s", "pll2h", "z", "z2",
/freebsd-13.1/lib/libc/string/
H A Dstrstr.c154 const unsigned char *z2 = memchr(z, 0, grow); in twoway_strstr() local
155 if (z2) { in twoway_strstr()
156 z = z2; in twoway_strstr()
/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_split/
H A Dzpool_split_vdevs.ksh65 disks[z2]="z1 z2 z3"
79 z2) # raidz2

123