Lines Matching refs:pre

1926     NISTP521_PRE_COMP *pre = NULL;  in ossl_ec_GFp_nistp521_points_mul()  local
1941 pre = group->pre_comp.nistp521; in ossl_ec_GFp_nistp521_points_mul()
1942 if (pre) in ossl_ec_GFp_nistp521_points_mul()
1944 g_pre_comp = &pre->g_pre_comp[0]; in ossl_ec_GFp_nistp521_points_mul()
2111 NISTP521_PRE_COMP *pre = NULL; in ossl_ec_GFp_nistp521_precompute_mult() local
2145 if ((pre = nistp521_pre_comp_new()) == NULL) in ossl_ec_GFp_nistp521_precompute_mult()
2151 memcpy(pre->g_pre_comp, gmul, sizeof(pre->g_pre_comp)); in ossl_ec_GFp_nistp521_precompute_mult()
2154 if ((!BN_to_felem(pre->g_pre_comp[1][0], group->generator->X)) || in ossl_ec_GFp_nistp521_precompute_mult()
2155 (!BN_to_felem(pre->g_pre_comp[1][1], group->generator->Y)) || in ossl_ec_GFp_nistp521_precompute_mult()
2156 (!BN_to_felem(pre->g_pre_comp[1][2], group->generator->Z))) in ossl_ec_GFp_nistp521_precompute_mult()
2160 point_double(pre->g_pre_comp[2 * i][0], pre->g_pre_comp[2 * i][1], in ossl_ec_GFp_nistp521_precompute_mult()
2161 pre->g_pre_comp[2 * i][2], pre->g_pre_comp[i][0], in ossl_ec_GFp_nistp521_precompute_mult()
2162 pre->g_pre_comp[i][1], pre->g_pre_comp[i][2]); in ossl_ec_GFp_nistp521_precompute_mult()
2164 point_double(pre->g_pre_comp[2 * i][0], in ossl_ec_GFp_nistp521_precompute_mult()
2165 pre->g_pre_comp[2 * i][1], in ossl_ec_GFp_nistp521_precompute_mult()
2166 pre->g_pre_comp[2 * i][2], in ossl_ec_GFp_nistp521_precompute_mult()
2167 pre->g_pre_comp[2 * i][0], in ossl_ec_GFp_nistp521_precompute_mult()
2168 pre->g_pre_comp[2 * i][1], in ossl_ec_GFp_nistp521_precompute_mult()
2169 pre->g_pre_comp[2 * i][2]); in ossl_ec_GFp_nistp521_precompute_mult()
2173 memset(pre->g_pre_comp[0], 0, sizeof(pre->g_pre_comp[0])); in ossl_ec_GFp_nistp521_precompute_mult()
2176 point_add(pre->g_pre_comp[6][0], pre->g_pre_comp[6][1], in ossl_ec_GFp_nistp521_precompute_mult()
2177 pre->g_pre_comp[6][2], pre->g_pre_comp[4][0], in ossl_ec_GFp_nistp521_precompute_mult()
2178 pre->g_pre_comp[4][1], pre->g_pre_comp[4][2], in ossl_ec_GFp_nistp521_precompute_mult()
2179 0, pre->g_pre_comp[2][0], pre->g_pre_comp[2][1], in ossl_ec_GFp_nistp521_precompute_mult()
2180 pre->g_pre_comp[2][2]); in ossl_ec_GFp_nistp521_precompute_mult()
2182 point_add(pre->g_pre_comp[10][0], pre->g_pre_comp[10][1], in ossl_ec_GFp_nistp521_precompute_mult()
2183 pre->g_pre_comp[10][2], pre->g_pre_comp[8][0], in ossl_ec_GFp_nistp521_precompute_mult()
2184 pre->g_pre_comp[8][1], pre->g_pre_comp[8][2], in ossl_ec_GFp_nistp521_precompute_mult()
2185 0, pre->g_pre_comp[2][0], pre->g_pre_comp[2][1], in ossl_ec_GFp_nistp521_precompute_mult()
2186 pre->g_pre_comp[2][2]); in ossl_ec_GFp_nistp521_precompute_mult()
2188 point_add(pre->g_pre_comp[12][0], pre->g_pre_comp[12][1], in ossl_ec_GFp_nistp521_precompute_mult()
2189 pre->g_pre_comp[12][2], pre->g_pre_comp[8][0], in ossl_ec_GFp_nistp521_precompute_mult()
2190 pre->g_pre_comp[8][1], pre->g_pre_comp[8][2], in ossl_ec_GFp_nistp521_precompute_mult()
2191 0, pre->g_pre_comp[4][0], pre->g_pre_comp[4][1], in ossl_ec_GFp_nistp521_precompute_mult()
2192 pre->g_pre_comp[4][2]); in ossl_ec_GFp_nistp521_precompute_mult()
2194 point_add(pre->g_pre_comp[14][0], pre->g_pre_comp[14][1], in ossl_ec_GFp_nistp521_precompute_mult()
2195 pre->g_pre_comp[14][2], pre->g_pre_comp[12][0], in ossl_ec_GFp_nistp521_precompute_mult()
2196 pre->g_pre_comp[12][1], pre->g_pre_comp[12][2], in ossl_ec_GFp_nistp521_precompute_mult()
2197 0, pre->g_pre_comp[2][0], pre->g_pre_comp[2][1], in ossl_ec_GFp_nistp521_precompute_mult()
2198 pre->g_pre_comp[2][2]); in ossl_ec_GFp_nistp521_precompute_mult()
2201 point_add(pre->g_pre_comp[2 * i + 1][0], in ossl_ec_GFp_nistp521_precompute_mult()
2202 pre->g_pre_comp[2 * i + 1][1], in ossl_ec_GFp_nistp521_precompute_mult()
2203 pre->g_pre_comp[2 * i + 1][2], pre->g_pre_comp[2 * i][0], in ossl_ec_GFp_nistp521_precompute_mult()
2204 pre->g_pre_comp[2 * i][1], pre->g_pre_comp[2 * i][2], 0, in ossl_ec_GFp_nistp521_precompute_mult()
2205 pre->g_pre_comp[1][0], pre->g_pre_comp[1][1], in ossl_ec_GFp_nistp521_precompute_mult()
2206 pre->g_pre_comp[1][2]); in ossl_ec_GFp_nistp521_precompute_mult()
2208 make_points_affine(15, &(pre->g_pre_comp[1]), tmp_felems); in ossl_ec_GFp_nistp521_precompute_mult()
2211 SETPRECOMP(group, nistp521, pre); in ossl_ec_GFp_nistp521_precompute_mult()
2213 pre = NULL; in ossl_ec_GFp_nistp521_precompute_mult()
2220 EC_nistp521_pre_comp_free(pre); in ossl_ec_GFp_nistp521_precompute_mult()