• Home
  • Raw
  • Download

Lines Matching refs:EC_POINT

66     int (*point_init) (EC_POINT *);
67 void (*point_finish) (EC_POINT *);
68 void (*point_clear_finish) (EC_POINT *);
69 int (*point_copy) (EC_POINT *, const EC_POINT *);
78 int (*point_set_to_infinity) (const EC_GROUP *, EC_POINT *);
80 EC_POINT *, const BIGNUM *x,
84 const EC_POINT *, BIGNUM *x,
87 int (*point_set_affine_coordinates) (const EC_GROUP *, EC_POINT *,
90 int (*point_get_affine_coordinates) (const EC_GROUP *, const EC_POINT *,
92 int (*point_set_compressed_coordinates) (const EC_GROUP *, EC_POINT *,
96 size_t (*point2oct) (const EC_GROUP *, const EC_POINT *,
99 int (*oct2point) (const EC_GROUP *, EC_POINT *, const unsigned char *buf,
102 int (*add) (const EC_GROUP *, EC_POINT *r, const EC_POINT *a,
103 const EC_POINT *b, BN_CTX *);
104 int (*dbl) (const EC_GROUP *, EC_POINT *r, const EC_POINT *a, BN_CTX *);
105 int (*invert) (const EC_GROUP *, EC_POINT *, BN_CTX *);
109 int (*is_at_infinity) (const EC_GROUP *, const EC_POINT *);
110 int (*is_on_curve) (const EC_GROUP *, const EC_POINT *, BN_CTX *);
111 int (*point_cmp) (const EC_GROUP *, const EC_POINT *a, const EC_POINT *b,
114 int (*make_affine) (const EC_GROUP *, EC_POINT *, BN_CTX *);
115 int (*points_make_affine) (const EC_GROUP *, size_t num, EC_POINT *[],
139 int (*mul) (const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
140 size_t num, const EC_POINT *points[], const BIGNUM *scalars[],
181 const EC_POINT *pub_key, const EC_KEY *ecdh);
185 int (*blind_coordinates)(const EC_GROUP *group, EC_POINT *p, BN_CTX *ctx);
187 EC_POINT *r, EC_POINT *s,
188 EC_POINT *p, BN_CTX *ctx);
190 EC_POINT *r, EC_POINT *s,
191 EC_POINT *p, BN_CTX *ctx);
193 EC_POINT *r, EC_POINT *s,
194 EC_POINT *p, BN_CTX *ctx);
208 EC_POINT *generator; /* optional */
285 EC_POINT *pub_key;
311 static ossl_inline int ec_point_is_compat(const EC_POINT *point, in ec_point_is_compat()
341 int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
342 size_t num, const EC_POINT *points[], const BIGNUM *scalars[],
358 int ec_GFp_simple_point_init(EC_POINT *);
359 void ec_GFp_simple_point_finish(EC_POINT *);
360 void ec_GFp_simple_point_clear_finish(EC_POINT *);
361 int ec_GFp_simple_point_copy(EC_POINT *, const EC_POINT *);
362 int ec_GFp_simple_point_set_to_infinity(const EC_GROUP *, EC_POINT *);
364 EC_POINT *, const BIGNUM *x,
368 const EC_POINT *, BIGNUM *x,
371 int ec_GFp_simple_point_set_affine_coordinates(const EC_GROUP *, EC_POINT *,
375 const EC_POINT *, BIGNUM *x,
377 int ec_GFp_simple_set_compressed_coordinates(const EC_GROUP *, EC_POINT *,
380 size_t ec_GFp_simple_point2oct(const EC_GROUP *, const EC_POINT *,
383 int ec_GFp_simple_oct2point(const EC_GROUP *, EC_POINT *,
385 int ec_GFp_simple_add(const EC_GROUP *, EC_POINT *r, const EC_POINT *a,
386 const EC_POINT *b, BN_CTX *);
387 int ec_GFp_simple_dbl(const EC_GROUP *, EC_POINT *r, const EC_POINT *a,
389 int ec_GFp_simple_invert(const EC_GROUP *, EC_POINT *, BN_CTX *);
390 int ec_GFp_simple_is_at_infinity(const EC_GROUP *, const EC_POINT *);
391 int ec_GFp_simple_is_on_curve(const EC_GROUP *, const EC_POINT *, BN_CTX *);
392 int ec_GFp_simple_cmp(const EC_GROUP *, const EC_POINT *a, const EC_POINT *b,
394 int ec_GFp_simple_make_affine(const EC_GROUP *, EC_POINT *, BN_CTX *);
396 EC_POINT *[], BN_CTX *);
403 int ec_GFp_simple_blind_coordinates(const EC_GROUP *group, EC_POINT *p,
406 EC_POINT *r, EC_POINT *s,
407 EC_POINT *p, BN_CTX *ctx);
409 EC_POINT *r, EC_POINT *s,
410 EC_POINT *p, BN_CTX *ctx);
412 EC_POINT *r, EC_POINT *s,
413 EC_POINT *p, BN_CTX *ctx);
455 int ec_GF2m_simple_point_init(EC_POINT *);
456 void ec_GF2m_simple_point_finish(EC_POINT *);
457 void ec_GF2m_simple_point_clear_finish(EC_POINT *);
458 int ec_GF2m_simple_point_copy(EC_POINT *, const EC_POINT *);
459 int ec_GF2m_simple_point_set_to_infinity(const EC_GROUP *, EC_POINT *);
460 int ec_GF2m_simple_point_set_affine_coordinates(const EC_GROUP *, EC_POINT *,
464 const EC_POINT *, BIGNUM *x,
466 int ec_GF2m_simple_set_compressed_coordinates(const EC_GROUP *, EC_POINT *,
469 size_t ec_GF2m_simple_point2oct(const EC_GROUP *, const EC_POINT *,
472 int ec_GF2m_simple_oct2point(const EC_GROUP *, EC_POINT *,
474 int ec_GF2m_simple_add(const EC_GROUP *, EC_POINT *r, const EC_POINT *a,
475 const EC_POINT *b, BN_CTX *);
476 int ec_GF2m_simple_dbl(const EC_GROUP *, EC_POINT *r, const EC_POINT *a,
478 int ec_GF2m_simple_invert(const EC_GROUP *, EC_POINT *, BN_CTX *);
479 int ec_GF2m_simple_is_at_infinity(const EC_GROUP *, const EC_POINT *);
480 int ec_GF2m_simple_is_on_curve(const EC_GROUP *, const EC_POINT *, BN_CTX *);
481 int ec_GF2m_simple_cmp(const EC_GROUP *, const EC_POINT *a, const EC_POINT *b,
483 int ec_GF2m_simple_make_affine(const EC_GROUP *, EC_POINT *, BN_CTX *);
485 EC_POINT *[], BN_CTX *);
500 const EC_POINT *point,
503 int ec_GFp_nistp224_mul(const EC_GROUP *group, EC_POINT *r,
505 const EC_POINT *points[], const BIGNUM *scalars[],
507 int ec_GFp_nistp224_points_mul(const EC_GROUP *group, EC_POINT *r,
509 const EC_POINT *points[],
520 const EC_POINT *point,
523 int ec_GFp_nistp256_mul(const EC_GROUP *group, EC_POINT *r,
525 const EC_POINT *points[], const BIGNUM *scalars[],
527 int ec_GFp_nistp256_points_mul(const EC_GROUP *group, EC_POINT *r,
529 const EC_POINT *points[],
540 const EC_POINT *point,
543 int ec_GFp_nistp521_mul(const EC_GROUP *group, EC_POINT *r,
545 const EC_POINT *points[], const BIGNUM *scalars[],
547 int ec_GFp_nistp521_points_mul(const EC_GROUP *group, EC_POINT *r,
549 const EC_POINT *points[],
612 int (*set_public)(EC_KEY *key, const EC_POINT *pub_key);
615 const EC_POINT *pub_key, const EC_KEY *ecdh);
635 const EC_POINT *pub_key, const EC_KEY *ecdh);
637 const EC_POINT *pub_key, const EC_KEY *ecdh);
698 int ec_scalar_mul_ladder(const EC_GROUP *group, EC_POINT *r,
699 const BIGNUM *scalar, const EC_POINT *point,
702 int ec_point_blind_coordinates(const EC_GROUP *group, EC_POINT *p, BN_CTX *ctx);
705 EC_POINT *r, EC_POINT *s, in ec_point_ladder_pre()
706 EC_POINT *p, BN_CTX *ctx) in ec_point_ladder_pre()
719 EC_POINT *r, EC_POINT *s, in ec_point_ladder_step()
720 EC_POINT *p, BN_CTX *ctx) in ec_point_ladder_step()
734 EC_POINT *r, EC_POINT *s, in ec_point_ladder_post()
735 EC_POINT *p, BN_CTX *ctx) in ec_point_ladder_post()