Lines Matching refs:EC_GROUP
335 EC_GROUP *ec_group_new(const EC_METHOD *meth) {
336 EC_GROUP *ret;
348 ret = OPENSSL_malloc(sizeof(EC_GROUP));
353 OPENSSL_memset(ret, 0, sizeof(EC_GROUP));
366 EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a,
368 EC_GROUP *ret = ec_group_new(&EC_GFp_mont_method);
384 int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator,
387 /* |EC_GROUP_set_generator| may only be used with |EC_GROUP|s returned by
404 static EC_GROUP *ec_group_new_from_data(unsigned built_in_index) {
406 EC_GROUP *group = NULL;
480 EC_GROUP *EC_GROUP_new_by_curve_name(int nid) {
483 EC_GROUP *ret = NULL;
502 void EC_GROUP_free(EC_GROUP *group) {
517 const BN_MONT_CTX *ec_group_get_mont_data(const EC_GROUP *group) {
521 EC_GROUP *EC_GROUP_dup(const EC_GROUP *a) {
531 EC_GROUP *ret = ec_group_new(a->meth);
558 int EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ignored) {
564 const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group) {
568 const BIGNUM *EC_GROUP_get0_order(const EC_GROUP *group) {
573 int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx) {
580 int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor,
582 /* All |EC_GROUP|s have cofactor 1. */
586 int EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *out_p, BIGNUM *out_a,
591 int EC_GROUP_get_curve_name(const EC_GROUP *group) { return group->curve_name; }
593 unsigned EC_GROUP_get_degree(const EC_GROUP *group) {
597 EC_POINT *EC_POINT_new(const EC_GROUP *group) {
653 EC_POINT *EC_POINT_dup(const EC_POINT *a, const EC_GROUP *group) {
668 int EC_POINT_set_to_infinity(const EC_GROUP *group, EC_POINT *point) {
676 int EC_POINT_is_at_infinity(const EC_GROUP *group, const EC_POINT *point) {
684 int EC_POINT_is_on_curve(const EC_GROUP *group, const EC_POINT *point,
693 int EC_POINT_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b,
702 int EC_POINT_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) {
710 int EC_POINTs_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[],
721 int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP *group,
735 int EC_POINT_set_affine_coordinates_GFp(const EC_GROUP *group, EC_POINT *point,
754 int EC_POINT_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a,
765 int EC_POINT_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a,
775 int EC_POINT_invert(const EC_GROUP *group, EC_POINT *a, BN_CTX *ctx) {
783 int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar,
803 int ec_point_set_Jprojective_coordinates_GFp(const EC_GROUP *group, EC_POINT *point,
814 void EC_GROUP_set_asn1_flag(EC_GROUP *group, int flag) {}
816 const EC_METHOD *EC_GROUP_method_of(const EC_GROUP *group) {
824 void EC_GROUP_set_point_conversion_form(EC_GROUP *group,