Home
last modified time | relevance | path

Searched refs:num_points (Results 1 – 3 of 3) sorted by relevance

/NextBSD/crypto/openssl/crypto/ec/
HDecp_nistp224.c1138 const unsigned num_points, const u8 *g_scalar, in batch_mul() argument
1159 for (i = (num_points ? 220 : 27); i >= 0; --i) { in batch_mul()
1196 if (num_points && (i % 5 == 0)) { in batch_mul()
1198 for (num = 0; num < num_points; ++num) { in batch_mul()
1434 size_t num_points = num; in ec_GFp_nistp224_points_mul() local
1485 num_points = num_points + 1; in ec_GFp_nistp224_points_mul()
1488 if (num_points > 0) { in ec_GFp_nistp224_points_mul()
1489 if (num_points >= 3) { in ec_GFp_nistp224_points_mul()
1496 secrets = OPENSSL_malloc(num_points * sizeof(felem_bytearray)); in ec_GFp_nistp224_points_mul()
1497 pre_comp = OPENSSL_malloc(num_points * 17 * 3 * sizeof(felem)); in ec_GFp_nistp224_points_mul()
[all …]
HDecp_nistp521.c1490 const unsigned num_points, const u8 *g_scalar, in batch_mul() argument
1510 for (i = (num_points ? 520 : 130); i >= 0; --i) { in batch_mul()
1536 if (num_points && (i % 5 == 0)) { in batch_mul()
1538 for (num = 0; num < num_points; ++num) { in batch_mul()
1829 size_t num_points = num; in ec_GFp_nistp521_points_mul() local
1880 num_points++; in ec_GFp_nistp521_points_mul()
1883 if (num_points > 0) { in ec_GFp_nistp521_points_mul()
1884 if (num_points >= 2) { in ec_GFp_nistp521_points_mul()
1891 secrets = OPENSSL_malloc(num_points * sizeof(felem_bytearray)); in ec_GFp_nistp521_points_mul()
1892 pre_comp = OPENSSL_malloc(num_points * 17 * 3 * sizeof(felem)); in ec_GFp_nistp521_points_mul()
[all …]
HDecp_nistp256.c1664 const unsigned num_points, const u8 *g_scalar, in batch_mul() argument
1685 for (i = (num_points ? 255 : 31); i >= 0; --i) { in batch_mul()
1724 if (num_points && (i % 5 == 0)) { in batch_mul()
1726 for (num = 0; num < num_points; ++num) { in batch_mul()
2020 size_t num_points = num; in ec_GFp_nistp256_points_mul() local
2072 num_points++; in ec_GFp_nistp256_points_mul()
2074 if (num_points > 0) { in ec_GFp_nistp256_points_mul()
2075 if (num_points >= 3) { in ec_GFp_nistp256_points_mul()
2082 secrets = OPENSSL_malloc(num_points * sizeof(felem_bytearray)); in ec_GFp_nistp256_points_mul()
2083 pre_comp = OPENSSL_malloc(num_points * 17 * 3 * sizeof(smallfelem)); in ec_GFp_nistp256_points_mul()
[all …]