Searched refs:gx1 (Results 1 – 4 of 4) sorted by relevance
/external/boringssl/src/crypto/ec_extra/ |
D | hash_to_curve.c | 254 EC_FELEM tv1, tv2, tv3, tv4, xd, x1n, x2n, tmp, gxd, gx1, y1, y2; in map_to_curve_simple_swu() local 268 felem_sqr(group, &gx1, &x1n); // gx1 = x1n^2 in map_to_curve_simple_swu() 269 ec_felem_add(group, &gx1, &gx1, &tv2); // gx1 = gx1 + tv2 in map_to_curve_simple_swu() 270 felem_mul(group, &gx1, &gx1, &x1n); // gx1 = gx1 * x1n in map_to_curve_simple_swu() 272 ec_felem_add(group, &gx1, &gx1, &tv2); // gx1 = gx1 + tv2 in map_to_curve_simple_swu() 274 felem_mul(group, &tv2, &gx1, &gxd); // tv2 = gx1 * gxd in map_to_curve_simple_swu() 284 ec_felem_sub(group, &tv3, &tv2, &gx1); in map_to_curve_simple_swu()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/ec_extra/ |
D | hash_to_curve.c | 260 EC_FELEM tv1, tv2, tv3, tv4, xd, x1n, x2n, tmp, gxd, gx1, y1, y2; in map_to_curve_simple_swu() local 274 felem_sqr(group, &gx1, &x1n); // gx1 = x1n^2 in map_to_curve_simple_swu() 275 ec_felem_add(group, &gx1, &gx1, &tv2); // gx1 = gx1 + tv2 in map_to_curve_simple_swu() 276 felem_mul(group, &gx1, &gx1, &x1n); // gx1 = gx1 * x1n in map_to_curve_simple_swu() 278 ec_felem_add(group, &gx1, &gx1, &tv2); // gx1 = gx1 + tv2 in map_to_curve_simple_swu() 280 felem_mul(group, &tv2, &gx1, &gxd); // tv2 = gx1 * gxd in map_to_curve_simple_swu() 290 ec_felem_sub(group, &tv3, &tv2, &gx1); in map_to_curve_simple_swu()
|
/external/oboe/samples/RhythmGame/third_party/glm/gtc/ |
D | noise.inl | 91 tvec4<T, P> gx1 = ixy1 * T(1.0 / 7.0); local 92 tvec4<T, P> gy1 = fract(floor(gx1) * T(1.0 / 7.0)) - T(0.5); 93 gx1 = fract(gx1); 94 tvec4<T, P> gz1 = tvec4<T, P>(0.5) - abs(gx1) - abs(gy1); 96 gx1 -= sz1 * (step(T(0), gx1) - T(0.5)); 103 tvec3<T, P> g001(gx1.x, gy1.x, gz1.x); 104 tvec3<T, P> g101(gx1.y, gy1.y, gz1.y); 105 tvec3<T, P> g011(gx1.z, gy1.z, gz1.z); 106 tvec3<T, P> g111(gx1.w, gy1.w, gz1.w); 162 tvec4<T, P> gx1 = ixy1 / T(7); [all …]
|
/external/wpa_supplicant_8/src/common/ |
D | sae.c | 631 struct crypto_bignum *x1 = NULL, *x2, *gx1, *gx2, *v = NULL; in sswu() local 660 gx1 = crypto_bignum_init(); in sswu() 663 !x1a || !x1b || !x2 || !gx1 || !gx2) in sswu() 724 crypto_bignum_addmod(t1, b, prime, gx1) < 0) in sswu() 726 debug_print_bignum("SSWU: gx1 = x1^3 + a * x1 + b", gx1, prime_len); in sswu() 746 crypto_bignum_exptmod(gx1, t1, prime, t1) < 0) in sswu() 753 if (crypto_bignum_to_bin(gx1, bin1, sizeof(bin1), prime_len) < 0 || in sswu() 816 crypto_bignum_deinit(gx1, 1); in sswu()
|