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

/freebsd-10.1-release/crypto/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...]

Completed in 117 milliseconds