Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/crypto/ec/
H A Decp_nistp224.c1127 const unsigned num_points, const u8 *g_scalar, in batch_mul() argument
1148 for (i = (num_points ? 220 : 27); i >= 0; --i) { in batch_mul()
1185 if (num_points && (i % 5 == 0)) { in batch_mul()
1187 for (num = 0; num < num_points; ++num) { in batch_mul()
1406 size_t num_points = num; in ossl_ec_GFp_nistp224_points_mul() local
1450 num_points = num_points + 1; in ossl_ec_GFp_nistp224_points_mul()
1453 if (num_points > 0) { in ossl_ec_GFp_nistp224_points_mul()
1454 if (num_points >= 3) { in ossl_ec_GFp_nistp224_points_mul()
1461 secrets = OPENSSL_zalloc(sizeof(*secrets) * num_points); in ossl_ec_GFp_nistp224_points_mul()
1462 pre_comp = OPENSSL_zalloc(sizeof(*pre_comp) * num_points); in ossl_ec_GFp_nistp224_points_mul()
[all …]
H A Decp_nistp384.c1407 const unsigned int num_points, const u8 *g_scalar, in batch_mul() argument
1427 for (i = (num_points ? 380 : 98); i >= 0; --i) { in batch_mul()
1454 if (num_points && (i % 5 == 0)) { in batch_mul()
1456 for (num = 0; num < num_points; ++num) { in batch_mul()
1746 size_t num_points = num; in ossl_ec_GFp_nistp384_points_mul() local
1790 num_points++; in ossl_ec_GFp_nistp384_points_mul()
1793 if (num_points > 0) { in ossl_ec_GFp_nistp384_points_mul()
1794 if (num_points >= 2) { in ossl_ec_GFp_nistp384_points_mul()
1801 secrets = OPENSSL_zalloc(sizeof(*secrets) * num_points); in ossl_ec_GFp_nistp384_points_mul()
1802 pre_comp = OPENSSL_zalloc(sizeof(*pre_comp) * num_points); in ossl_ec_GFp_nistp384_points_mul()
[all …]
H A Decp_nistp256.c1669 const unsigned num_points, const u8 *g_scalar, in batch_mul() argument
1690 for (i = (num_points ? 255 : 31); i >= 0; --i) { in batch_mul()
1729 if (num_points && (i % 5 == 0)) { in batch_mul()
1731 for (num = 0; num < num_points; ++num) { in batch_mul()
2025 size_t num_points = num; in ossl_ec_GFp_nistp256_points_mul() local
2070 num_points++; in ossl_ec_GFp_nistp256_points_mul()
2072 if (num_points > 0) { in ossl_ec_GFp_nistp256_points_mul()
2073 if (num_points >= 3) { in ossl_ec_GFp_nistp256_points_mul()
2080 secrets = OPENSSL_malloc(sizeof(*secrets) * num_points); in ossl_ec_GFp_nistp256_points_mul()
2081 pre_comp = OPENSSL_malloc(sizeof(*pre_comp) * num_points); in ossl_ec_GFp_nistp256_points_mul()
[all …]
H A Decp_nistp521.c1500 const unsigned num_points, const u8 *g_scalar, in batch_mul() argument
1520 for (i = (num_points ? 520 : 130); i >= 0; --i) { in batch_mul()
1546 if (num_points && (i % 5 == 0)) { in batch_mul()
1548 for (num = 0; num < num_points; ++num) { in batch_mul()
1840 size_t num_points = num; in ossl_ec_GFp_nistp521_points_mul() local
1884 num_points++; in ossl_ec_GFp_nistp521_points_mul()
1887 if (num_points > 0) { in ossl_ec_GFp_nistp521_points_mul()
1888 if (num_points >= 2) { in ossl_ec_GFp_nistp521_points_mul()
1895 secrets = OPENSSL_zalloc(sizeof(*secrets) * num_points); in ossl_ec_GFp_nistp521_points_mul()
1896 pre_comp = OPENSSL_zalloc(sizeof(*pre_comp) * num_points); in ossl_ec_GFp_nistp521_points_mul()
[all …]