Lines Matching refs:Y2
640 uECC_word_t * X2, uECC_word_t * Y2, in XYcZ_initial_double() argument
654 uECC_vli_set(Y2, Y1, num_words); in XYcZ_initial_double()
658 apply_z(X2, Y2, z, curve); in XYcZ_initial_double()
662 uECC_word_t * X2, uECC_word_t * Y2, in XYcZ_add() argument
673 uECC_vli_modSub(Y2, Y2, Y1, curve->p, num_words); /* t4 = y2 - y1 */ in XYcZ_add()
674 uECC_vli_modSquare_fast(t5, Y2, curve); /* t5 = (y2 - y1)^2 = D */ in XYcZ_add()
681 uECC_vli_modMult_fast(Y2, Y2, X2, curve); /* t4 = (y2 - y1)*(B - x3) */ in XYcZ_add()
682 uECC_vli_modSub(Y2, Y2, Y1, curve->p, num_words); /* t4 = y3 */ in XYcZ_add()
692 uECC_word_t * X2, uECC_word_t * Y2, 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()
711 uECC_vli_modSquare_fast(X2, Y2, curve); /* t3 = (y2 - y1)^2 = D */ in XYcZ_addC()
715 uECC_vli_modMult_fast(Y2, Y2, t7, curve); /* t4 = (y2 - y1)*(B - x3) */ in XYcZ_addC()
717 uECC_vli_modSub(Y2, Y2, Y1, curve->p, num_words); in XYcZ_addC()