Lines Matching refs:Y1
455 void double_jacobian_default(uECC_word_t * X1, uECC_word_t * Y1, in double_jacobian_default() argument
467 uECC_vli_modSquare_fast(t4, Y1, curve); /* t4 = y1^2 */ in double_jacobian_default()
470 uECC_vli_modMult_fast(Y1, Y1, Z1, curve); /* t2 = y1*z1 = z3 */ in double_jacobian_default()
498 uECC_vli_set(Z1, Y1, num_words); in double_jacobian_default()
499 uECC_vli_set(Y1, t4, num_words); in double_jacobian_default()
627 void apply_z(uECC_word_t * X1, uECC_word_t * Y1, const uECC_word_t * const Z, in apply_z() argument
635 uECC_vli_modMult_fast(Y1, Y1, t1, curve); /* y1 * z^3 */ in apply_z()
639 static void XYcZ_initial_double(uECC_word_t * X1, uECC_word_t * Y1, in XYcZ_initial_double() argument
654 uECC_vli_set(Y2, Y1, num_words); in XYcZ_initial_double()
656 apply_z(X1, Y1, z, curve); in XYcZ_initial_double()
657 curve->double_jacobian(X1, Y1, z, curve); in XYcZ_initial_double()
661 void XYcZ_add(uECC_word_t * X1, uECC_word_t * Y1, in XYcZ_add() argument
673 uECC_vli_modSub(Y2, Y2, Y1, curve->p, num_words); /* t4 = y2 - y1 */ in XYcZ_add()
679 uECC_vli_modMult_fast(Y1, Y1, X2, curve); /* t2 = y1*(C - B) */ in XYcZ_add()
682 uECC_vli_modSub(Y2, Y2, Y1, curve->p, num_words); /* t4 = y3 */ in XYcZ_add()
691 static void XYcZ_addC(uECC_word_t * X1, uECC_word_t * Y1, in XYcZ_addC() argument
705 uECC_vli_modAdd(t5, Y2, Y1, curve->p, num_words); /* t5 = y2 + y1 */ in XYcZ_addC()
706 uECC_vli_modSub(Y2, Y2, Y1, curve->p, num_words); /* t4 = y2 - y1 */ in XYcZ_addC()
709 uECC_vli_modMult_fast(Y1, Y1, t6, curve); /* t2 = y1 * (C - B) = E */ in XYcZ_addC()
717 uECC_vli_modSub(Y2, Y2, Y1, curve->p, num_words); in XYcZ_addC()
724 uECC_vli_modSub(Y1, t6, Y1, curve->p, num_words); in XYcZ_addC()