Searched refs:pre_comp (Results 1 - 7 of 7) sorted by relevance
/freebsd-current/crypto/openssl/crypto/ec/ |
H A D | ec_mult.c | 431 * 'pre_comp->points' */ 432 const EC_PRE_COMP *pre_comp = NULL; local 477 pre_comp = group->pre_comp.ec; 478 if (pre_comp && pre_comp->numblocks 479 && (EC_POINT_cmp(group, generator, pre_comp->points[0], ctx) == 481 blocksize = pre_comp->blocksize; 492 if (numblocks > pre_comp->numblocks) 493 numblocks = pre_comp 837 EC_PRE_COMP *pre_comp; local [all...] |
H A D | ecp_nistp224.c | 1102 * The pre_comp array argument should be size of |size| argument 1105 const felem pre_comp[][3], felem out[3]) 1112 const limb *inlimbs = &pre_comp[i][0][0]; 1134 * small point multiples 0*P, 1*P, ..., 16*P are in pre_comp[], the scalars 1142 const int mixed, const felem pre_comp[][17][3], 1211 select_point(digit, 17, pre_comp[num], tmp); 1423 felem (*pre_comp)[17][3] = NULL; 1444 pre = group->pre_comp.nistp224; 1485 pre_comp = OPENSSL_zalloc(sizeof(*pre_comp) * num_point 1104 select_point(const u64 idx, unsigned int size, const felem pre_comp[][3], felem out[3]) argument 1139 batch_mul(felem x_out, felem y_out, felem z_out, const felem_bytearray scalars[], const unsigned num_points, const u8 *g_scalar, const int mixed, const felem pre_comp[][17][3], const felem g_pre_comp[2][16][3]) argument [all...] |
H A D | ecp_nistp256.c | 1637 const smallfelem pre_comp[16][3], smallfelem out[3]) 1645 const u64 *inlimbs = (u64 *)&pre_comp[i][0][0]; 1667 * small point multiples 0*P, 1*P, ..., 17*P are in pre_comp[], the scalars 1675 const int mixed, const smallfelem pre_comp[][17][3], 1748 select_point(digit, 17, pre_comp[num], tmp); 2034 smallfelem (*pre_comp)[17][3] = NULL; 2057 pre = group->pre_comp.nistp256; 2097 pre_comp = OPENSSL_malloc(sizeof(*pre_comp) * num_points); 2101 if ((secrets == NULL) || (pre_comp 1636 select_point(const u64 idx, unsigned int size, const smallfelem pre_comp[16][3], smallfelem out[3]) argument 1672 batch_mul(felem x_out, felem y_out, felem z_out, const felem_bytearray scalars[], const unsigned num_points, const u8 *g_scalar, const int mixed, const smallfelem pre_comp[][17][3], const smallfelem g_pre_comp[2][16][3]) argument [all...] |
H A D | ecp_nistp521.c | 1545 /* pre_comp below is of the size provided in |size| */ 1547 const felem pre_comp[][3], felem out[3]) 1555 const limb *inlimbs = &pre_comp[i][0][0]; 1577 * small point multiples 0*P, 1*P, ..., 16*P are in pre_comp[], the scalars 1585 const int mixed, const felem pre_comp[][17][3], 1644 select_point(digit, 17, pre_comp[num], tmp); 1927 felem (*pre_comp)[17][3] = NULL; 1949 pre = group->pre_comp.nistp521; 1990 pre_comp = OPENSSL_zalloc(sizeof(*pre_comp) * num_point 1546 select_point(const limb idx, unsigned int size, const felem pre_comp[][3], felem out[3]) argument 1582 batch_mul(felem x_out, felem y_out, felem z_out, const felem_bytearray scalars[], const unsigned num_points, const u8 *g_scalar, const int mixed, const felem pre_comp[][17][3], const felem g_pre_comp[16][3]) argument [all...] |
H A D | ec_lib.c | 95 EC_nistz256_pre_comp_free(group->pre_comp.nistz256); 100 EC_nistp224_pre_comp_free(group->pre_comp.nistp224); 103 EC_nistp256_pre_comp_free(group->pre_comp.nistp256); 106 EC_nistp521_pre_comp_free(group->pre_comp.nistp521); 115 EC_ec_pre_comp_free(group->pre_comp.ec); 118 group->pre_comp.ec = NULL; 180 dest->pre_comp.ec = NULL; 184 dest->pre_comp.nistz256 = EC_nistz256_pre_comp_dup(src->pre_comp.nistz256); 189 dest->pre_comp [all...] |
H A D | ecp_nistz256.c | 824 NISTZ256_PRE_COMP *pre_comp; local 848 if ((pre_comp = ecp_nistz256_pre_comp_new(group)) == NULL) 917 pre_comp->group = group; 918 pre_comp->w = w; 919 pre_comp->precomp = preComputedTable; 920 pre_comp->precomp_storage = precomp_storage; 922 SETPRECOMP(group, nistz256, pre_comp); 923 pre_comp = NULL; 930 EC_nistz256_pre_comp_free(pre_comp); 962 const NISTZ256_PRE_COMP *pre_comp local [all...] |
H A D | ec_local.h | 262 * pre_comp.xxx union names; see the SETPRECOMP and HAVEPRECOMP 276 } pre_comp; member in struct:ec_group_st 283 g->pre_comp_type = PCT_##type, g->pre_comp.type = pre 285 g->pre_comp_type == PCT_##type && g->pre_comp.type != NULL
|
Completed in 186 milliseconds