Lines Matching refs:t

729 	uint128_t t;  in sp_256_mul_add_4()
731 t = 0; in sp_256_mul_add_4()
735 t += m; in sp_256_mul_add_4()
736 t_hi = (t < m); in sp_256_mul_add_4()
737 r[i] = (uint64_t)t; in sp_256_mul_add_4()
738 t = (t >> 64) | ((uint128_t)t_hi << 64); in sp_256_mul_add_4()
740 r[4] += (uint64_t)t; in sp_256_mul_add_4()
741 return (r[4] < (uint64_t)t); /* 1 if addition overflowed */ in sp_256_mul_add_4()
859 uint64_t t; in sp_256_mul_add_8() local
865 t = 0; in sp_256_mul_add_8()
869 t += m; in sp_256_mul_add_8()
870 t_hi = (t < m); in sp_256_mul_add_8()
871 r[i] = (sp_digit)t; in sp_256_mul_add_8()
872 t = (t >> 32) | ((uint64_t)t_hi << 32); in sp_256_mul_add_8()
874 r[8] += (sp_digit)t; in sp_256_mul_add_8()
875 return (r[8] < (sp_digit)t); /* 1 if addition overflowed */ in sp_256_mul_add_8()
963 t = t32 + (uint64_t)b + r[6]; in sp_256_mul_add_8()
966 r[6] = (sp_digit)t; in sp_256_mul_add_8()
968 t = (t >> 32); in sp_256_mul_add_8()
974 t += m; in sp_256_mul_add_8()
977 r[7] = (sp_digit)t; in sp_256_mul_add_8()
979 t = (t >> 32); in sp_256_mul_add_8()
981 r[8] += (sp_digit)t; in sp_256_mul_add_8()
982 return (r[8] < (sp_digit)t); /* 1 if addition overflowed */ in sp_256_mul_add_8()
1074 sp_digit t[2 * 8]; in sp_256_mont_mul_8() local
1075 sp_256to512_mul_8(t, a, b); in sp_256_mont_mul_8()
1076 sp_512to256_mont_reduce_8(r, t /*, m, mp*/); in sp_256_mont_mul_8()
1139 int64_t t[8]; in sp_256_mod_mul_norm_8() local
1144 t[0] = 0 + A(0) + A(1) - A(3) - A(4) - A(5) - A(6); in sp_256_mod_mul_norm_8()
1146 t[1] = 0 + A(1) + A(2) - A(4) - A(5) - A(6) - A(7); in sp_256_mod_mul_norm_8()
1148 t[2] = 0 + A(2) + A(3) - A(5) - A(6) - A(7); in sp_256_mod_mul_norm_8()
1150 t[3] = 0 - A(0) - A(1) + 2 * A(3) + 2 * A(4) + A(5) - A(7); in sp_256_mod_mul_norm_8()
1152 t[4] = 0 - A(1) - A(2) + 2 * A(4) + 2 * A(5) + A(6); in sp_256_mod_mul_norm_8()
1154 t[5] = 0 - A(2) - A(3) + 2 * A(5) + 2 * A(6) + A(7); in sp_256_mod_mul_norm_8()
1156 t[6] = 0 - A(0) - A(1) + A(5) + 3 * A(6) + 2 * A(7); in sp_256_mod_mul_norm_8()
1158 t[7] = 0 + A(0) - A(2) - A(3) - A(4) - A(5) + 3 * A(7); in sp_256_mod_mul_norm_8()
1161 t[1] += t[0] >> 32; t[0] &= 0xffffffff; in sp_256_mod_mul_norm_8()
1162 t[2] += t[1] >> 32; t[1] &= 0xffffffff; in sp_256_mod_mul_norm_8()
1163 t[3] += t[2] >> 32; t[2] &= 0xffffffff; in sp_256_mod_mul_norm_8()
1164 t[4] += t[3] >> 32; t[3] &= 0xffffffff; in sp_256_mod_mul_norm_8()
1165 t[5] += t[4] >> 32; t[4] &= 0xffffffff; in sp_256_mod_mul_norm_8()
1166 t[6] += t[5] >> 32; t[5] &= 0xffffffff; in sp_256_mod_mul_norm_8()
1167 t[7] += t[6] >> 32; t[6] &= 0xffffffff; in sp_256_mod_mul_norm_8()
1168 o = t[7] >> 32; //t[7] &= 0xffffffff; in sp_256_mod_mul_norm_8()
1169 t[0] += o; in sp_256_mod_mul_norm_8()
1170 t[3] -= o; in sp_256_mod_mul_norm_8()
1171 t[6] -= o; in sp_256_mod_mul_norm_8()
1172 t[7] += o; in sp_256_mod_mul_norm_8()
1173 r[0] = (sp_digit)t[0]; in sp_256_mod_mul_norm_8()
1174 t[1] += t[0] >> 32; in sp_256_mod_mul_norm_8()
1175 r[1] = (sp_digit)t[1]; in sp_256_mod_mul_norm_8()
1176 t[2] += t[1] >> 32; in sp_256_mod_mul_norm_8()
1177 r[2] = (sp_digit)t[2]; in sp_256_mod_mul_norm_8()
1178 t[3] += t[2] >> 32; in sp_256_mod_mul_norm_8()
1179 r[3] = (sp_digit)t[3]; in sp_256_mod_mul_norm_8()
1180 t[4] += t[3] >> 32; in sp_256_mod_mul_norm_8()
1181 r[4] = (sp_digit)t[4]; in sp_256_mod_mul_norm_8()
1182 t[5] += t[4] >> 32; in sp_256_mod_mul_norm_8()
1183 r[5] = (sp_digit)t[5]; in sp_256_mod_mul_norm_8()
1184 t[6] += t[5] >> 32; in sp_256_mod_mul_norm_8()
1185 r[6] = (sp_digit)t[6]; in sp_256_mod_mul_norm_8()
1188 r[7] = (sp_digit)t[7] + (sp_digit)(t[6] >> 32); in sp_256_mod_mul_norm_8()
1362 sp_point t[3]; in sp_256_ecc_mulmod_8() local
1366 memset(t, 0, sizeof(t)); in sp_256_ecc_mulmod_8()
1369 t[0].infinity = 1; in sp_256_ecc_mulmod_8()
1371 sp_256_mod_mul_norm_8(t[1].x, g->x); in sp_256_ecc_mulmod_8()
1372 sp_256_mod_mul_norm_8(t[1].y, g->y); in sp_256_ecc_mulmod_8()
1373 sp_256_mod_mul_norm_8(t[1].z, g->z); in sp_256_ecc_mulmod_8()
1387 sp_256_proj_point_add_8(&t[y^1], &t[0], &t[1]); in sp_256_ecc_mulmod_8()
1388 dump_512("t[0].x %s\n", t[0].x); in sp_256_ecc_mulmod_8()
1389 dump_512("t[0].y %s\n", t[0].y); in sp_256_ecc_mulmod_8()
1390 dump_512("t[0].z %s\n", t[0].z); in sp_256_ecc_mulmod_8()
1391 dump_512("t[1].x %s\n", t[1].x); in sp_256_ecc_mulmod_8()
1392 dump_512("t[1].y %s\n", t[1].y); in sp_256_ecc_mulmod_8()
1393 dump_512("t[1].z %s\n", t[1].z); in sp_256_ecc_mulmod_8()
1395 t[2] = t[y]; /* struct copy */ in sp_256_ecc_mulmod_8()
1397 sp_256_proj_point_dbl_8(&t[2], &t[2]); in sp_256_ecc_mulmod_8()
1398 dump_512("t[2].x %s\n", t[2].x); in sp_256_ecc_mulmod_8()
1399 dump_512("t[2].y %s\n", t[2].y); in sp_256_ecc_mulmod_8()
1400 dump_512("t[2].z %s\n", t[2].z); in sp_256_ecc_mulmod_8()
1401 t[y] = t[2]; /* struct copy */ in sp_256_ecc_mulmod_8()
1408 sp_256_map_8(r, &t[0]); in sp_256_ecc_mulmod_8()
1410 *r = t[0]; /* struct copy */ in sp_256_ecc_mulmod_8()
1412 memset(t, 0, sizeof(t)); //paranoia in sp_256_ecc_mulmod_8()