Lines Matching refs:Z1
456 uECC_word_t * Z1, uECC_Curve curve) in double_jacobian_default() argument
463 if (uECC_vli_isZero(Z1, num_words)) { in double_jacobian_default()
470 uECC_vli_modMult_fast(Y1, Y1, Z1, curve); /* t2 = y1*z1 = z3 */ in double_jacobian_default()
471 uECC_vli_modSquare_fast(Z1, Z1, curve); /* t3 = z1^2 */ in double_jacobian_default()
473 uECC_vli_modAdd(X1, X1, Z1, curve->p, num_words); /* t1 = x1 + z1^2 */ in double_jacobian_default()
474 uECC_vli_modAdd(Z1, Z1, Z1, curve->p, num_words); /* t3 = 2*z1^2 */ in double_jacobian_default()
475 uECC_vli_modSub(Z1, X1, Z1, curve->p, num_words); /* t3 = x1 - z1^2 */ in double_jacobian_default()
476 uECC_vli_modMult_fast(X1, X1, Z1, curve); /* t1 = x1^2 - z1^4 */ in double_jacobian_default()
478 uECC_vli_modAdd(Z1, X1, X1, curve->p, num_words); /* t3 = 2*(x1^2 - z1^4) */ in double_jacobian_default()
479 uECC_vli_modAdd(X1, X1, Z1, curve->p, num_words); /* t1 = 3*(x1^2 - z1^4) */ in double_jacobian_default()
489 uECC_vli_modSquare_fast(Z1, X1, curve); /* t3 = B^2 */ in double_jacobian_default()
490 uECC_vli_modSub(Z1, Z1, t5, curve->p, num_words); /* t3 = B^2 - A */ in double_jacobian_default()
491 uECC_vli_modSub(Z1, Z1, t5, curve->p, num_words); /* t3 = B^2 - 2A = x3 */ in double_jacobian_default()
492 uECC_vli_modSub(t5, t5, Z1, curve->p, num_words); /* t5 = A - x3 */ in double_jacobian_default()
497 uECC_vli_set(X1, Z1, num_words); in double_jacobian_default()
498 uECC_vli_set(Z1, Y1, num_words); in double_jacobian_default()