Lines Matching full:t5
1107 u64 t5[ECC_MAX_DIGITS]; in ecc_point_double_jacobian() local
1116 /* t5 = x1*y1^2 = A */ in ecc_point_double_jacobian()
1117 vli_mod_mult_fast(t5, x1, t4, curve); in ecc_point_double_jacobian()
1151 vli_mod_sub(z1, z1, t5, curve_prime, ndigits); in ecc_point_double_jacobian()
1153 vli_mod_sub(z1, z1, t5, curve_prime, ndigits); in ecc_point_double_jacobian()
1154 /* t5 = A - x3 */ in ecc_point_double_jacobian()
1155 vli_mod_sub(t5, t5, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
1157 vli_mod_mult_fast(x1, x1, t5, curve); in ecc_point_double_jacobian()
1208 u64 t5[ECC_MAX_DIGITS]; in xycz_add() local
1212 /* t5 = x2 - x1 */ in xycz_add()
1213 vli_mod_sub(t5, x2, x1, curve_prime, ndigits); in xycz_add()
1214 /* t5 = (x2 - x1)^2 = A */ in xycz_add()
1215 vli_mod_square_fast(t5, t5, curve); in xycz_add()
1217 vli_mod_mult_fast(x1, x1, t5, curve); in xycz_add()
1219 vli_mod_mult_fast(x2, x2, t5, curve); in xycz_add()
1222 /* t5 = (y2 - y1)^2 = D */ in xycz_add()
1223 vli_mod_square_fast(t5, y2, curve); in xycz_add()
1225 /* t5 = D - B */ in xycz_add()
1226 vli_mod_sub(t5, t5, x1, curve_prime, ndigits); in xycz_add()
1227 /* t5 = D - B - C = x3 */ in xycz_add()
1228 vli_mod_sub(t5, t5, x2, curve_prime, ndigits); in xycz_add()
1234 vli_mod_sub(x2, x1, t5, curve_prime, ndigits); in xycz_add()
1240 vli_set(x2, t5, ndigits); in xycz_add()
1251 u64 t5[ECC_MAX_DIGITS]; in xycz_add_c() local
1257 /* t5 = x2 - x1 */ in xycz_add_c()
1258 vli_mod_sub(t5, x2, x1, curve_prime, ndigits); in xycz_add_c()
1259 /* t5 = (x2 - x1)^2 = A */ in xycz_add_c()
1260 vli_mod_square_fast(t5, t5, curve); in xycz_add_c()
1262 vli_mod_mult_fast(x1, x1, t5, curve); in xycz_add_c()
1264 vli_mod_mult_fast(x2, x2, t5, curve); in xycz_add_c()
1266 vli_mod_add(t5, y2, y1, curve_prime, ndigits); in xycz_add_c()
1289 vli_mod_square_fast(t7, t5, curve); in xycz_add_c()
1295 vli_mod_mult_fast(t6, t6, t5, curve); in xycz_add_c()