Searched refs:pre_comp (Results 1 – 8 of 8) sorted by relevance
/openssl/crypto/ec/ |
H A D | ec_mult.c | 471 pre_comp = group->pre_comp.ec; in ossl_ec_wNAF_mul() 472 if (pre_comp && pre_comp->numblocks in ossl_ec_wNAF_mul() 492 if (pre_comp->num != (pre_comp->numblocks * pre_points_per_block)) { in ossl_ec_wNAF_mul() 498 pre_comp = NULL; in ossl_ec_wNAF_mul() 544 if (pre_comp == NULL) { in ossl_ec_wNAF_mul() 826 EC_PRE_COMP *pre_comp; in ossl_ec_wNAF_precompute_mult() local 948 pre_comp->group = group; in ossl_ec_wNAF_precompute_mult() 951 pre_comp->w = w; in ossl_ec_wNAF_precompute_mult() 952 pre_comp->points = points; in ossl_ec_wNAF_precompute_mult() 954 pre_comp->num = num; in ossl_ec_wNAF_precompute_mult() [all …]
|
H A D | ecp_nistp224.c | 1111 const limb *inlimbs = &pre_comp[i][0][0]; in select_point() 1417 felem (*pre_comp)[17][3] = NULL; in ossl_ec_GFp_nistp224_points_mul() local 1438 pre = group->pre_comp.nistp224; in ossl_ec_GFp_nistp224_points_mul() 1479 pre_comp = OPENSSL_zalloc(sizeof(*pre_comp) * num_points); in ossl_ec_GFp_nistp224_points_mul() 1483 if ((secrets == NULL) || (pre_comp == NULL) in ossl_ec_GFp_nistp224_points_mul() 1533 point_add(pre_comp[i][j][0], pre_comp[i][j][1], in ossl_ec_GFp_nistp224_points_mul() 1534 pre_comp[i][j][2], pre_comp[i][1][0], in ossl_ec_GFp_nistp224_points_mul() 1535 pre_comp[i][1][1], pre_comp[i][1][2], 0, in ossl_ec_GFp_nistp224_points_mul() 1540 point_double(pre_comp[i][j][0], pre_comp[i][j][1], in ossl_ec_GFp_nistp224_points_mul() 1541 pre_comp[i][j][2], pre_comp[i][j / 2][0], in ossl_ec_GFp_nistp224_points_mul() [all …]
|
H A D | ecp_nistp384.c | 1345 const limb *inlimbs = &pre_comp[i][0][0]; in select_point() 1710 felem (*pre_comp)[17][3] = NULL; in ossl_ec_GFp_nistp384_points_mul() local 1732 pre = group->pre_comp.nistp384; in ossl_ec_GFp_nistp384_points_mul() 1773 pre_comp = OPENSSL_zalloc(sizeof(*pre_comp) * num_points); in ossl_ec_GFp_nistp384_points_mul() 1777 if ((secrets == NULL) || (pre_comp == NULL) in ossl_ec_GFp_nistp384_points_mul() 1830 point_add(pre_comp[i][j][0], pre_comp[i][j][1], pre_comp[i][j][2], in ossl_ec_GFp_nistp384_points_mul() 1831 … pre_comp[i][1][0], pre_comp[i][1][1], pre_comp[i][1][2], 0, in ossl_ec_GFp_nistp384_points_mul() 1832 … pre_comp[i][j - 1][0], pre_comp[i][j - 1][1], pre_comp[i][j - 1][2]); in ossl_ec_GFp_nistp384_points_mul() 1834 … point_double(pre_comp[i][j][0], pre_comp[i][j][1], pre_comp[i][j][2], in ossl_ec_GFp_nistp384_points_mul() 1835 … pre_comp[i][j / 2][0], pre_comp[i][j / 2][1], pre_comp[i][j / 2][2]); in ossl_ec_GFp_nistp384_points_mul() [all …]
|
H A D | ecp_nistp521.c | 1554 const limb *inlimbs = &pre_comp[i][0][0]; in select_point() 1919 felem (*pre_comp)[17][3] = NULL; in ossl_ec_GFp_nistp521_points_mul() local 1941 pre = group->pre_comp.nistp521; in ossl_ec_GFp_nistp521_points_mul() 1982 pre_comp = OPENSSL_zalloc(sizeof(*pre_comp) * num_points); in ossl_ec_GFp_nistp521_points_mul() 1986 if ((secrets == NULL) || (pre_comp == NULL) in ossl_ec_GFp_nistp521_points_mul() 2039 point_add(pre_comp[i][j][0], pre_comp[i][j][1], in ossl_ec_GFp_nistp521_points_mul() 2040 pre_comp[i][j][2], pre_comp[i][1][0], in ossl_ec_GFp_nistp521_points_mul() 2041 pre_comp[i][1][1], pre_comp[i][1][2], 0, in ossl_ec_GFp_nistp521_points_mul() 2046 point_double(pre_comp[i][j][0], pre_comp[i][j][1], in ossl_ec_GFp_nistp521_points_mul() 2047 pre_comp[i][j][2], pre_comp[i][j / 2][0], in ossl_ec_GFp_nistp521_points_mul() [all …]
|
H A D | ecp_nistp256.c | 1647 const u64 *inlimbs = (u64 *)&pre_comp[i][0][0]; in select_point() 2029 smallfelem (*pre_comp)[17][3] = NULL; in ossl_ec_GFp_nistp256_points_mul() local 2052 pre = group->pre_comp.nistp256; in ossl_ec_GFp_nistp256_points_mul() 2092 pre_comp = OPENSSL_malloc(sizeof(*pre_comp) * num_points); in ossl_ec_GFp_nistp256_points_mul() 2096 if ((secrets == NULL) || (pre_comp == NULL) in ossl_ec_GFp_nistp256_points_mul() 2105 memset(pre_comp, 0, sizeof(*pre_comp) * num_points); in ossl_ec_GFp_nistp256_points_mul() 2146 felem_shrink(pre_comp[i][1][0], x_out); in ossl_ec_GFp_nistp256_points_mul() 2151 point_add_small(pre_comp[i][j][0], pre_comp[i][j][1], in ossl_ec_GFp_nistp256_points_mul() 2152 pre_comp[i][j][2], pre_comp[i][1][0], in ossl_ec_GFp_nistp256_points_mul() 2153 pre_comp[i][1][1], pre_comp[i][1][2], in ossl_ec_GFp_nistp256_points_mul() [all …]
|
H A D | ec_lib.c | 92 EC_nistz256_pre_comp_free(group->pre_comp.nistz256); in EC_pre_comp_free() 97 EC_nistp224_pre_comp_free(group->pre_comp.nistp224); in EC_pre_comp_free() 116 EC_ec_pre_comp_free(group->pre_comp.ec); in EC_pre_comp_free() 119 group->pre_comp.ec = NULL; in EC_pre_comp_free() 181 dest->pre_comp.ec = NULL; in EC_GROUP_copy() 185 dest->pre_comp.nistz256 = EC_nistz256_pre_comp_dup(src->pre_comp.nistz256); in EC_GROUP_copy() 190 dest->pre_comp.nistp224 = EC_nistp224_pre_comp_dup(src->pre_comp.nistp224); in EC_GROUP_copy() 193 dest->pre_comp.nistp256 = EC_nistp256_pre_comp_dup(src->pre_comp.nistp256); in EC_GROUP_copy() 196 dest->pre_comp.nistp384 = ossl_ec_nistp384_pre_comp_dup(src->pre_comp.nistp384); in EC_GROUP_copy() 199 dest->pre_comp.nistp521 = EC_nistp521_pre_comp_dup(src->pre_comp.nistp521); in EC_GROUP_copy() [all …]
|
H A D | ecp_nistz256.c | 813 NISTZ256_PRE_COMP *pre_comp; in ecp_nistz256_mult_precompute() local 904 pre_comp->group = group; in ecp_nistz256_mult_precompute() 905 pre_comp->w = w; in ecp_nistz256_mult_precompute() 906 pre_comp->precomp = preComputedTable; in ecp_nistz256_mult_precompute() 907 pre_comp->precomp_storage = precomp_storage; in ecp_nistz256_mult_precompute() 909 SETPRECOMP(group, nistz256, pre_comp); in ecp_nistz256_mult_precompute() 910 pre_comp = NULL; in ecp_nistz256_mult_precompute() 917 EC_nistz256_pre_comp_free(pre_comp); in ecp_nistz256_mult_precompute() 949 const NISTZ256_PRE_COMP *pre_comp = NULL; in ecp_nistz256_points_mul() local 979 pre_comp = group->pre_comp.nistz256; in ecp_nistz256_points_mul() [all …]
|
H A D | ec_local.h | 279 } pre_comp; member 286 g->pre_comp_type = PCT_##type, g->pre_comp.type = pre 288 g->pre_comp_type == PCT_##type && g->pre_comp.type != NULL
|
Completed in 69 milliseconds