Lines Matching defs:x2
631 struct crypto_bignum *x1 = NULL, *x2, *gx1, *gx2, *v = NULL;
659 x2 = crypto_bignum_init();
663 !x1a || !x1b || !x2 || !gx1 || !gx2)
728 /* x2 = z * u^2 * x1 */
730 crypto_bignum_mulmod(t1, x1, prime, x2) < 0)
732 debug_print_bignum("SSWU: x2 = z * u^2 * x1", x2, prime_len);
734 /* gx2 = x2^3 + a * x2 + b */
735 if (crypto_bignum_exptmod(x2, three, prime, t1) < 0 ||
736 crypto_bignum_mulmod(a, x2, prime, t2) < 0 ||
740 debug_print_bignum("SSWU: gx2 = x2^3 + a * x2 + b", gx2, prime_len);
762 /* x = CSEL(l, x1, x2) */
764 crypto_bignum_to_bin(x2, bin2, sizeof(bin2), prime_len) < 0)
767 wpa_hexdump_key(MSG_DEBUG, "SSWU: x = CSEL(l, x1, x2)", x_y, prime_len);
805 crypto_bignum_deinit(x2, 1);