/freebsd/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/ |
H A D | x25519_ref10.c | 62 fe25519 z3; in crypto_scalarmult_curve25519_ref10() local 82 fe25519_1(z3); in crypto_scalarmult_curve25519_ref10() 90 fe25519_cswap(z2, z3, swap); in crypto_scalarmult_curve25519_ref10() 92 fe25519_sub(tmp0, x3, z3); in crypto_scalarmult_curve25519_ref10() 95 fe25519_add(z2, x3, z3); in crypto_scalarmult_curve25519_ref10() 96 fe25519_mul(z3, tmp0, x2); 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() 105 fe25519_scalar_product(z3, tmp1, 121666); in crypto_scalarmult_curve25519_ref10() 107 fe25519_add(tmp0, tmp0, z3); in crypto_scalarmult_curve25519_ref10() [all …]
|
/freebsd/contrib/bearssl/src/ec/ |
H A D | ec_c25519_i15.c | 188 uint16_t x1[18], x2[18], x3[18], z2[18], z3[18]; in api_mul() local 240 memcpy(z3, x2, ILEN); in api_mul() 259 cswap(z2, z3, swap); in api_mul() 274 c255_add(c, x3, z3); in api_mul() 275 c255_sub(d, x3, z3); in api_mul() 293 c255_sub(z3, da, cb); in api_mul() 294 c255_mul(z3, z3, z3); in api_mul() 295 c255_mul(z3, z3, x1); in api_mul() 309 cswap(z2, z3, swap); in api_mul()
|
H A D | ec_c25519_i31.c | 179 uint32_t x1[10], x2[10], x3[10], z2[10], z3[10]; in api_mul() local 231 memcpy(z3, x2, sizeof x2); in api_mul() 253 cswap(z2, z3, swap); in api_mul() 268 c255_add(c, x3, z3); in api_mul() 269 c255_sub(d, x3, z3); in api_mul() 287 c255_sub(z3, da, cb); in api_mul() 288 c255_mul(z3, z3, z3); in api_mul() 289 c255_mul(z3, z3, x1); in api_mul() 303 cswap(z2, z3, swap); in api_mul()
|
H A D | ec_c25519_m62.c | 380 uint64_t x1[5], x2[5], z2[5], x3[5], z3[5]; in api_mul() local 414 memcpy(z3, x2, sizeof x2); in api_mul() 436 f255_cswap(z2, z3, swap); in api_mul() 466 f255_add(c, x3, z3); in api_mul() 469 f255_sub(d, x3, z3); in api_mul() 482 f255_sub(z3, da, cb); in api_mul() 483 f255_mul(z3, z3, z3); in api_mul() 484 f255_mul(z3, x1, z3); in api_mul() 496 f255_cswap(z2, z3, swap); in api_mul()
|
H A D | ec_c25519_m31.c | 625 uint32_t x1[9], x2[9], x3[9], z2[9], z3[9]; in api_mul() local 654 memset(z3, 0, sizeof z3); in api_mul() 655 z3[0] = 1; in api_mul() 674 cswap(z2, z3, swap); in api_mul() 689 f255_add(c, x3, z3); in api_mul() 690 f255_sub(d, x3, z3); in api_mul() 708 f255_sub(z3, da, cb); in api_mul() 709 f255_square(z3, z3); in api_mul() 710 f255_mul(z3, z3, x1); in api_mul() 724 cswap(z2, z3, swap); in api_mul()
|
H A D | ec_c25519_m64.c | 624 uint64_t x1[4], x2[4], z2[4], x3[4], z3[4]; in api_mul() local 656 memcpy(z3, x2, sizeof x2); in api_mul() 678 f255_cswap(z2, z3, swap); in api_mul() 697 f255_add(c, x3, z3); in api_mul() 700 f255_sub(d, x3, z3); in api_mul() 713 f255_sub(z3, da, cb); in api_mul() 714 f255_mul(z3, z3, z3); in api_mul() 715 f255_mul(z3, x1, z3); in api_mul() 727 f255_cswap(z2, z3, swap); in api_mul()
|
H A D | ec_c25519_m15.c | 1303 uint32_t x1[20], x2[20], x3[20], z2[20], z3[20]; in api_mul() local 1332 memset(z3, 0, sizeof z3); in api_mul() 1333 z3[0] = 1; in api_mul() 1352 cswap(z2, z3, swap); in api_mul() 1367 f255_add(c, x3, z3); in api_mul() 1368 f255_sub(d, x3, z3); in api_mul() 1386 f255_sub(z3, da, cb); in api_mul() 1387 f255_square(z3, z3); in api_mul() 1388 f255_mul(z3, z3, x1); in api_mul() 1402 cswap(z2, z3, swap); in api_mul()
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/ |
H A D | u4.h | 4 __m128i z0, z1, z2, z3, z4, z5, z6, z7, z8, z9, z10, z11, z12, z13, z14, variable 30 z3 = _mm_loadu_si128((__m128i *) (x + 12)); 31 z4 = _mm_shuffle_epi32(z3, 0x00); 32 z14 = _mm_shuffle_epi32(z3, 0xaa); 33 z3 = _mm_shuffle_epi32(z3, 0xff); 38 orig3 = z3; 85 z3 = orig3; 181 z3 = _mm_xor_si128(z3, y3); 183 z3 = _mm_xor_si128(z3, r3); 194 y7 = _mm_add_epi32(y7, z3); [all …]
|
H A D | u8.h | 21 __m256i z3 = _mm256_set1_epi32(x[15]); variable 26 __m256i orig3 = z3; 85 z3 = orig3; 181 z3 = _mm256_xor_si256(z3, y3); 183 z3 = _mm256_xor_si256(z3, r3); 194 y7 = _mm256_add_epi32(y7, z3); 209 y11 = z3; 225 y1 = z3; 269 z3 = _mm256_xor_si256(z3, y3); 271 z3 = _mm256_xor_si256(z3, r3); [all …]
|
/freebsd/sys/contrib/openzfs/module/icp/algs/edonr/ |
H A D | edonr.c | 77 s2 = rotl64(z5 + x6, 15); z3 = x2 + x3; \ 78 s5 = rotl64(z1 + z3 + x5, 40); z4 = x5 + x6; \ 79 s6 = rotl64(z2 + z4 + x0, 50); z6 = z3 + z4; \ 90 z3 = y3 + y4, z5 = z1 + z3; \ 93 z4 = y6 + y7, z8 = z3 + z4; \ 104 r1 = (z1 ^ s7) + (t2 ^ z8); z3 = s2 ^ s3; \ 105 r7 = (z3 ^ s5) + (t4 ^ z8); z7 = t3 ^ t4; \ 106 r3 = (z3 ^ s4) + (t0 ^ z7); z4 = s5 ^ s6; \ 124 uint64_t z1, z2, z3, z4, z5, z6, z7, z8; in Q512() local
|
/freebsd/contrib/bearssl/src/hash/ |
H A D | ghash_ctmul64.c | 37 uint64_t z0, z1, z2, z3; in bmul64() local 50 z3 = (x0 * y3) ^ (x1 * y2) ^ (x2 * y1) ^ (x3 * y0); in bmul64() 54 z3 &= (uint64_t)0x8888888888888888; in bmul64() 55 return z0 | z1 | z2 | z3; in bmul64()
|
H A D | ghash_pclmul.c | 220 __m128i z0, z1, z2, z3; \ 222 z3 = pclmulqdq00(kw, kw); \ 224 z2 = _mm_shuffle_epi32(z3, 0x0E); \ 225 SL_256(z0, z1, z2, z3); \ 226 REDUCE_F128(z0, z1, z2, z3); \
|
H A D | ghash_ctmul32.c | 53 uint32_t z0, z1, z2, z3; in bmul32() local 66 z3 = (x0 * y3) ^ (x1 * y2) ^ (x2 * y1) ^ (x3 * y0); in bmul32() 70 z3 &= (uint32_t)0x88888888; in bmul32() 71 return z0 | z1 | z2 | z3; in bmul32()
|
H A D | ghash_ctmul.c | 169 uint64_t z0, z1, z2, z3; in bmul() local 183 z3 = MUL(x0, y3) ^ MUL(x1, y2) ^ MUL(x2, y1) ^ MUL(x3, y0); in bmul() 187 z3 &= (uint64_t)0x8888888888888888; in bmul() 188 z = z0 | z1 | z2 | z3; in bmul()
|
/freebsd/crypto/openssl/crypto/ec/curve448/ |
H A D | curve448.c | 390 gf x1, x2, z2, x3, z3, t1, t2; in ossl_x448_int() local 399 gf_copy(z3, ONE); in ossl_x448_int() 416 gf_cond_swap(z2, z3, swap); in ossl_x448_int() 426 gf_sub_nr(z2, x3, z3); /* D = x3 - z3 */ /* 3+e */ in ossl_x448_int() 428 gf_add_nr(z2, z3, x3); /* C = x3 + z3 */ /* 2+e */ in ossl_x448_int() 430 gf_sub_nr(z3, x2, x3); /* DA-CB */ /* 3+e */ in ossl_x448_int() 431 gf_sqr(z2, z3); /* (DA-CB)^2 */ in ossl_x448_int() 432 gf_mul(z3, x1, z2); /* z3 = x1(DA-CB)^2 */ in ossl_x448_int() 448 gf_cond_swap(z2, z3, swap); in ossl_x448_int() 458 OPENSSL_cleanse(z3, sizeof(z3)); in ossl_x448_int()
|
/freebsd/contrib/arm-optimized-routines/math/aarch64/sve/ |
H A D | atanf.c | 61 svfloat32_t z3 = svmul_x (pg, z2, az); in SV_NAME_F1() local 62 y = svmla_x (pg, az, z3, y); in SV_NAME_F1()
|
H A D | atan.c | 70 svfloat64_t z3 = svmul_x (pg, z2, az); in SV_NAME_D1() local 71 y = svmla_x (pg, az, z3, y); in SV_NAME_D1()
|
H A D | atan2f.c | 89 svfloat32_t z3 = svmul_x (pg, z2, z); in SV_NAME_F2() local 90 ret = svmla_x (pg, z, z3, ret); in SV_NAME_F2()
|
H A D | atan2.c | 96 svfloat64_t z3 = svmul_x (pg, z2, z); in SV_NAME_D2() local 97 ret = svmla_x (pg, z, z3, ret); in SV_NAME_D2()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_split/ |
H A D | zpool_split_vdevs.ksh | 66 disks[z3]="z1 z2 z3 z4" 81 z3) # raidz3
|
/freebsd/contrib/wireguard-tools/ |
H A D | curve25519-fiat32.h | 756 fe x1, x2, z2, x3, z3; in curve25519_generic() local 794 fe_1(&z3); in curve25519_generic() 813 fe_cswap(&z2, &z3, swap); in curve25519_generic() 822 fe_sub(&tmp0l, &x3, &z3); in curve25519_generic() 825 fe_add(&z2l, &x3, &z3); in curve25519_generic() 826 fe_mul_tll(&z3, &tmp0l, &x2l); in curve25519_generic() 830 fe_add(&x3l, &z3, &z2); in curve25519_generic() 831 fe_sub(&z2l, &z3, &z2); in curve25519_generic() 835 fe_mul121666(&z3, &tmp1l); in curve25519_generic() 837 fe_add(&tmp0l, &tmp0, &z3); in curve25519_generic() [all …]
|
/freebsd/lib/libmp/ |
H A D | mpasbn.c | 373 MINT *z1, *z2, *z3; in mp_msqrt() local 384 z3 = _itom("msqrt", 0); in mp_msqrt() 390 _msub("msqrt", ox, x, z3); in mp_msqrt() 391 } while (_mcmpa("msqrt", z3, tolerance) == 1); in mp_msqrt() 401 _mfree("msqrt", z3); in mp_msqrt()
|
/freebsd/contrib/bearssl/src/symcipher/ |
H A D | aes_ct.c | 45 uint32_t z0, z1, z2, z3, z4, z5, z6, z7, z8, z9; in br_aes_ct_bitslice_Sbox() local 144 z3 = t43 & y16; in br_aes_ct_bitslice_Sbox() 170 t53 = z0 ^ z3; in br_aes_ct_bitslice_Sbox() 176 t59 = z3 ^ t54; in br_aes_ct_bitslice_Sbox()
|
H A D | aes_ct64.c | 45 uint64_t z0, z1, z2, z3, z4, z5, z6, z7, z8, z9; in br_aes_ct64_bitslice_Sbox() local 144 z3 = t43 & y16; in br_aes_ct64_bitslice_Sbox() 170 t53 = z0 ^ z3; in br_aes_ct64_bitslice_Sbox() 176 t59 = z3 ^ t54; in br_aes_ct64_bitslice_Sbox()
|
/freebsd/crypto/openssl/crypto/ec/ |
H A D | curve25519.c | 214 fe64 x1, x2, z2, x3, z3, tmp0, tmp1; in x25519_scalar_mulx() local 227 fe64_1(z3); in x25519_scalar_mulx() 234 fe64_cswap(z2, z3, swap); in x25519_scalar_mulx() 236 fe64_sub(tmp0, x3, z3); in x25519_scalar_mulx() 239 fe64_add(z2, x3, z3); in x25519_scalar_mulx() 240 fe64_mul(z3, x2, tmp0); in x25519_scalar_mulx() 244 fe64_add(x3, z3, z2); in x25519_scalar_mulx() 245 fe64_sub(z2, z3, z2); in x25519_scalar_mulx() 249 fe64_mul121666(z3, tmp1); in x25519_scalar_mulx() 251 fe64_add(tmp0, tmp0, z3); in x25519_scalar_mulx() [all …]
|