| /freebsd-src/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ |
| H A D | curve25519_sandy2x.c | 22 #define z2 var[2] macro 45 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 68 #define z2 var[1] macro 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() [all …]
|
| /freebsd-src/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/ |
| H A D | x25519_ref10.c | 60 fe25519 z2; in crypto_scalarmult_curve25519_ref10() local 80 fe25519_0(z2); in crypto_scalarmult_curve25519_ref10() 90 fe25519_cswap(z2, z3, swap); in crypto_scalarmult_curve25519_ref10() 93 fe25519_sub(tmp1, x2, 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() [all …]
|
| /freebsd-src/contrib/bearssl/src/ec/ |
| H A D | ec_c25519_i31.c | 179 uint32_t x1[10], x2[10], x3[10], z2[10], z3[10]; in api_mul() local 228 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() 291 c255_mul(z2, C255_A24, e); 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() [all …]
|
| H A D | ec_c25519_i15.c | 188 uint16_t x1[18], x2[18], x3[18], z2[18], z3[18]; in api_mul() local 237 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() 297 c255_mul(z2, C255_A24, e); 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() [all …]
|
| H A D | ec_c25519_m62.c | 380 uint64_t x1[5], x2[5], z2[5], x3[5], z3[5]; in api_mul() local 412 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() [all …]
|
| H A D | ec_c25519_m31.c | 625 uint32_t x1[9], x2[9], x3[9], z2[9], z3[9]; in api_mul() local 651 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() [all …]
|
| /freebsd-src/contrib/arm-optimized-routines/pl/math/ |
| H A D | atanf_common.h | |
| H A D | atan_common.h | |
| H A D | v_tanf_3u5.c | |
| H A D | asin_3u.c | |
| H A D | acos_2u.c | |
| H A D | sv_asin_3u.c | |
| H A D | sv_atan_2u5.c | |
| H A D | sv_acos_2u.c | |
| H A D | sv_tanf_3u5.c | |
| H A D | v_atanf_3u.c | |
| H A D | v_asin_3u.c | |
| H A D | v_atan_2u5.c | |
| H A D | sv_atanf_2u9.c | |
| H A D | v_acos_2u.c | |
| H A D | v_atan2f_3u.c | |
| H A D | v_atan2_3u.c | |
| H A D | sv_atan2_2u5.c | |
| /freebsd-src/contrib/bearssl/src/hash/ |
| H A D | ghash_ctmul64.c | 37 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()
|
| /freebsd-src/crypto/openssl/crypto/ec/curve448/ |
| H A D | curve448.c | 390 gf x1, x2, z2, x3, z3, t1, t2; in ossl_x448_int() local 397 gf_copy(z2, ZERO); in ossl_x448_int() 416 gf_cond_swap(z2, z3, swap); in ossl_x448_int() 424 gf_add_nr(t1, x2, z2); /* A = x2 + z2 */ /* 2+e */ in ossl_x448_int() 425 gf_sub_nr(t2, x2, z2); /* B = x2 - z2 */ /* 3+e */ in ossl_x448_int() 426 gf_sub_nr(z2, x3, z3); /* D = x3 - z3 */ /* 3+e */ in ossl_x448_int() 427 gf_mul(x2, t1, z2); /* DA */ in ossl_x448_int() 428 gf_add_nr(z2, z3, x3); /* C = x3 + z3 */ /* 2+e */ in ossl_x448_int() 429 gf_mul(x3, t2, z2); /* CB */ in ossl_x448_int() 431 gf_sqr(z2, z3); /* (DA-CB)^2 */ in ossl_x448_int() [all …]
|