• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/ec/

Lines Matching refs:NISTP

1676     EC_GROUP *NISTP;
1691 NISTP = EC_GROUP_new(test->meth());
1692 if (!NISTP)
1702 if (!EC_GROUP_set_curve_GFp(NISTP, p, a, b, ctx))
1704 G = EC_POINT_new(NISTP);
1705 P = EC_POINT_new(NISTP);
1706 Q = EC_POINT_new(NISTP);
1707 Q_CHECK = EC_POINT_new(NISTP);
1712 if (!EC_POINT_set_affine_coordinates_GFp(NISTP, Q_CHECK, x, y, ctx))
1718 if (!EC_POINT_set_affine_coordinates_GFp(NISTP, G, x, y, ctx))
1722 if (!EC_GROUP_set_generator(NISTP, G, order, BN_value_one()))
1726 if (EC_GROUP_get_degree(NISTP) != test->degree)
1734 EC_POINT_mul(NISTP, Q, n, NULL, NULL, ctx);
1735 if (0 != EC_POINT_cmp(NISTP, Q, Q_CHECK, ctx))
1738 EC_POINT_mul(NISTP, Q, NULL, G, n, ctx);
1739 if (0 != EC_POINT_cmp(NISTP, Q, Q_CHECK, ctx))
1743 if (!EC_POINT_dbl(NISTP, P, G, ctx))
1745 if (!EC_GROUP_set_generator(NISTP, P, order, BN_value_one()))
1753 EC_POINT_mul(NISTP, Q, m, NULL, NULL, ctx);
1754 if (0 != EC_POINT_cmp(NISTP, Q, Q_CHECK, ctx))
1757 EC_POINT_mul(NISTP, Q, NULL, P, m, ctx);
1758 if (0 != EC_POINT_cmp(NISTP, Q, Q_CHECK, ctx))
1765 if (EC_GROUP_have_precompute_mult(NISTP))
1769 if (!EC_GROUP_precompute_mult(NISTP, ctx))
1771 if (!EC_GROUP_have_precompute_mult(NISTP))
1775 EC_POINT_mul(NISTP, Q, m, NULL, NULL, ctx);
1776 if (0 != EC_POINT_cmp(NISTP, Q, Q_CHECK, ctx))
1779 EC_POINT_mul(NISTP, Q, NULL, P, m, ctx);
1780 if (0 != EC_POINT_cmp(NISTP, Q, Q_CHECK, ctx))
1784 if (!EC_GROUP_set_generator(NISTP, G, order, BN_value_one()))
1787 EC_POINT_mul(NISTP, Q, n, NULL, NULL, ctx);
1788 if (0 != EC_POINT_cmp(NISTP, Q, Q_CHECK, ctx))
1791 EC_POINT_mul(NISTP, Q, NULL, G, n, ctx);
1792 if (0 != EC_POINT_cmp(NISTP, Q, Q_CHECK, ctx))
1796 group_order_tests(NISTP);
1798 timings(NISTP, TIMING_BASE_PT, ctx);
1799 timings(NISTP, TIMING_RAND_PT, ctx);
1801 EC_GROUP_free(NISTP);