Searched refs:precomp (Results 1 – 1 of 1) sorted by relevance
/system/core/libmincrypt/ |
D | p256_ec.c | 1118 felem precomp[16][3]; in scalar_mult() local 1122 memset(precomp, 0, sizeof(felem) * 3); in scalar_mult() 1123 memcpy(&precomp[1][0], x, sizeof(felem)); in scalar_mult() 1124 memcpy(&precomp[1][1], y, sizeof(felem)); in scalar_mult() 1125 memcpy(&precomp[1][2], kOne, sizeof(felem)); in scalar_mult() 1128 point_double(precomp[i][0], precomp[i][1], precomp[i][2], in scalar_mult() 1129 precomp[i / 2][0], precomp[i / 2][1], precomp[i / 2][2]); in scalar_mult() 1131 point_add_mixed(precomp[i + 1][0], precomp[i + 1][1], precomp[i + 1][2], in scalar_mult() 1132 precomp[i][0], precomp[i][1], precomp[i][2], x, y); in scalar_mult() 1155 select_jacobian_point(px, py, pz, precomp[0][0], index); in scalar_mult()
|