Searched refs:pre_comp (Results 1 - 11 of 11) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/ec/
H A Dec_mult.c344 EC_POINT ***val_sub = NULL; /* pointers to sub-arrays of 'val' or 'pre_comp->points' */
345 const EC_PRE_COMP *pre_comp = NULL; local
388 pre_comp = EC_EX_DATA_get_data(group->extra_data, ec_pre_comp_dup, ec_pre_comp_free, ec_pre_comp_clear_free);
390 if (pre_comp && pre_comp->numblocks && (EC_POINT_cmp(group, generator, pre_comp->points[0], ctx) == 0))
392 blocksize = pre_comp->blocksize;
399 if (numblocks > pre_comp->numblocks)
400 numblocks = pre_comp->numblocks;
402 pre_points_per_block = 1u << (pre_comp
743 EC_PRE_COMP *pre_comp; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/ec/
H A Dec_mult.c352 * 'pre_comp->points' */
353 const EC_PRE_COMP *pre_comp = NULL; local
390 pre_comp =
394 if (pre_comp && pre_comp->numblocks
395 && (EC_POINT_cmp(group, generator, pre_comp->points[0], ctx) ==
397 blocksize = pre_comp->blocksize;
408 if (numblocks > pre_comp->numblocks)
409 numblocks = pre_comp->numblocks;
411 pre_points_per_block = (size_t)1 << (pre_comp
749 EC_PRE_COMP *pre_comp; local
[all...]
H A Decp_nistp224.c1099 * The pre_comp array argument should be size of |size| argument
1102 const felem pre_comp[][3], felem out[3])
1109 const limb *inlimbs = &pre_comp[i][0][0];
1131 * small point multiples 0*P, 1*P, ..., 16*P are in pre_comp[], the scalars
1139 const int mixed, const felem pre_comp[][17][3],
1208 select_point(digit, 17, pre_comp[num], tmp);
1429 felem(*pre_comp)[17][3] = NULL;
1497 pre_comp = OPENSSL_malloc(num_points * 17 * 3 * sizeof(felem));
1501 if ((secrets == NULL) || (pre_comp == NULL)
1512 memset(pre_comp,
1101 select_point(const u64 idx, unsigned int size, const felem pre_comp[][3], felem out[3]) argument
1136 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 Decp_nistp256.c1628 const smallfelem pre_comp[16][3], smallfelem out[3])
1635 const u64 *inlimbs = (u64 *)&pre_comp[i][0][0];
1657 * small point multiples 0*P, 1*P, ..., 17*P are in pre_comp[], the scalars
1665 const int mixed, const smallfelem pre_comp[][17][3],
1738 select_point(digit, 17, pre_comp[num], tmp);
2015 smallfelem(*pre_comp)[17][3] = NULL;
2083 pre_comp = OPENSSL_malloc(num_points * 17 * 3 * sizeof(smallfelem));
2087 if ((secrets == NULL) || (pre_comp == NULL)
2098 memset(pre_comp, 0, num_points * 17 * 3 * sizeof(smallfelem));
2135 felem_shrink(pre_comp[
1627 select_point(const u64 idx, unsigned int size, const smallfelem pre_comp[16][3], smallfelem out[3]) argument
1662 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 Decp_nistp521.c1452 /* pre_comp below is of the size provided in |size| */
1454 const felem pre_comp[][3], felem out[3])
1461 const limb *inlimbs = &pre_comp[i][0][0];
1483 * small point multiples 0*P, 1*P, ..., 16*P are in pre_comp[], the scalars
1491 const int mixed, const felem pre_comp[][17][3],
1550 select_point(digit, 17, pre_comp[num], tmp);
1824 felem(*pre_comp)[17][3] = NULL;
1892 pre_comp = OPENSSL_malloc(num_points * 17 * 3 * sizeof(felem));
1896 if ((secrets == NULL) || (pre_comp == NULL)
1907 memset(pre_comp,
1453 select_point(const limb idx, unsigned int size, const felem pre_comp[][3], felem out[3]) argument
1488 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 Decp_nistz256.c760 EC_PRE_COMP *pre_comp; local
787 if ((pre_comp = ecp_nistz256_pre_comp_new(group)) == NULL)
859 pre_comp->group = group;
860 pre_comp->w = w;
861 pre_comp->precomp = preComputedTable;
862 pre_comp->precomp_storage = precomp_storage;
866 if (!EC_EX_DATA_set_data(&group->extra_data, pre_comp,
873 pre_comp = NULL;
882 if (pre_comp)
883 ecp_nistz256_pre_comp_free(pre_comp);
1132 const EC_PRE_COMP *pre_comp = NULL; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/ec/
H A Dec_mult.c352 * 'pre_comp->points' */
353 const EC_PRE_COMP *pre_comp = NULL; local
390 pre_comp =
394 if (pre_comp && pre_comp->numblocks
395 && (EC_POINT_cmp(group, generator, pre_comp->points[0], ctx) ==
397 blocksize = pre_comp->blocksize;
408 if (numblocks > pre_comp->numblocks)
409 numblocks = pre_comp->numblocks;
411 pre_points_per_block = (size_t)1 << (pre_comp
749 EC_PRE_COMP *pre_comp; local
[all...]
H A Decp_nistp224.c1099 * The pre_comp array argument should be size of |size| argument
1102 const felem pre_comp[][3], felem out[3])
1109 const limb *inlimbs = &pre_comp[i][0][0];
1131 * small point multiples 0*P, 1*P, ..., 16*P are in pre_comp[], the scalars
1139 const int mixed, const felem pre_comp[][17][3],
1208 select_point(digit, 17, pre_comp[num], tmp);
1429 felem(*pre_comp)[17][3] = NULL;
1497 pre_comp = OPENSSL_malloc(num_points * 17 * 3 * sizeof(felem));
1501 if ((secrets == NULL) || (pre_comp == NULL)
1512 memset(pre_comp,
1101 select_point(const u64 idx, unsigned int size, const felem pre_comp[][3], felem out[3]) argument
1136 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 Decp_nistp256.c1628 const smallfelem pre_comp[16][3], smallfelem out[3])
1635 const u64 *inlimbs = (u64 *)&pre_comp[i][0][0];
1657 * small point multiples 0*P, 1*P, ..., 17*P are in pre_comp[], the scalars
1665 const int mixed, const smallfelem pre_comp[][17][3],
1738 select_point(digit, 17, pre_comp[num], tmp);
2015 smallfelem(*pre_comp)[17][3] = NULL;
2083 pre_comp = OPENSSL_malloc(num_points * 17 * 3 * sizeof(smallfelem));
2087 if ((secrets == NULL) || (pre_comp == NULL)
2098 memset(pre_comp, 0, num_points * 17 * 3 * sizeof(smallfelem));
2135 felem_shrink(pre_comp[
1627 select_point(const u64 idx, unsigned int size, const smallfelem pre_comp[16][3], smallfelem out[3]) argument
1662 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 Decp_nistp521.c1452 /* pre_comp below is of the size provided in |size| */
1454 const felem pre_comp[][3], felem out[3])
1461 const limb *inlimbs = &pre_comp[i][0][0];
1483 * small point multiples 0*P, 1*P, ..., 16*P are in pre_comp[], the scalars
1491 const int mixed, const felem pre_comp[][17][3],
1550 select_point(digit, 17, pre_comp[num], tmp);
1824 felem(*pre_comp)[17][3] = NULL;
1892 pre_comp = OPENSSL_malloc(num_points * 17 * 3 * sizeof(felem));
1896 if ((secrets == NULL) || (pre_comp == NULL)
1907 memset(pre_comp,
1453 select_point(const limb idx, unsigned int size, const felem pre_comp[][3], felem out[3]) argument
1488 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 Decp_nistz256.c760 EC_PRE_COMP *pre_comp; local
787 if ((pre_comp = ecp_nistz256_pre_comp_new(group)) == NULL)
859 pre_comp->group = group;
860 pre_comp->w = w;
861 pre_comp->precomp = preComputedTable;
862 pre_comp->precomp_storage = precomp_storage;
866 if (!EC_EX_DATA_set_data(&group->extra_data, pre_comp,
873 pre_comp = NULL;
882 if (pre_comp)
883 ecp_nistz256_pre_comp_free(pre_comp);
1132 const EC_PRE_COMP *pre_comp = NULL; local
[all...]

Completed in 193 milliseconds