Home | History | Annotate | Download | only in ec

Lines Matching refs:group

195  *  \param  group  EC_GROUP object to be freed.
197 void EC_GROUP_free(EC_GROUP *group);
200 * \param group EC_GROUP object to be cleared and freed.
202 void EC_GROUP_clear_free(EC_GROUP *group);
219 * \param group EC_GROUP object
222 const EC_METHOD *EC_GROUP_method_of(const EC_GROUP *group);
231 * \param group EC_GROUP object
233 * \param order the order of the group generated by the generator.
234 * \param cofactor the index of the sub-group generated by the generator
235 * in the group of all points on the elliptic curve.
238 int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator, const BIGNUM *order, const BIGNUM *cofactor);
241 * \param group EC_GROUP object
244 const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group);
247 * \param group EC_GROUP object
252 int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx);
255 * \param group EC_GROUP object
260 int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx);
263 * \param group EC_GROUP object
266 void EC_GROUP_set_curve_name(EC_GROUP *group, int nid);
269 * \param group EC_GROUP object
272 int EC_GROUP_get_curve_name(const EC_GROUP *group);
274 void EC_GROUP_set_asn1_flag(EC_GROUP *group, int flag);
275 int EC_GROUP_get_asn1_flag(const EC_GROUP *group);
285 * \param group EC_GROUP object
292 int EC_GROUP_set_curve_GFp(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
295 * \param group EC_GROUP object
302 int EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx);
306 * \param group EC_GROUP object
313 int EC_GROUP_set_curve_GF2m(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
316 * \param group EC_GROUP object
323 int EC_GROUP_get_curve_GF2m(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx);
326 * \param group EC_GROUP object
329 int EC_GROUP_get_degree(const EC_GROUP *group);
331 /** Checks whether the parameter in the EC_GROUP define a valid ec group
332 * \param group EC_GROUP object
334 * \return 1 if group is a valid ec group and 0 otherwise
336 int EC_GROUP_check(const EC_GROUP *group, BN_CTX *ctx);
339 * \param group EC_GROUP object
343 int EC_GROUP_check_discriminant(const EC_GROUP *group, BN_CTX *ctx);
405 * \param group EC_GROUP the underlying EC_GROUP object
408 EC_POINT *EC_POINT_new(const EC_GROUP *group);
430 * \param group underlying the EC_GROUP object
433 EC_POINT *EC_POINT_dup(const EC_POINT *src, const EC_GROUP *group);
442 * \param group underlying EC_GROUP object
446 int EC_POINT_set_to_infinity(const EC_GROUP *group, EC_POINT *point);
449 * \param group underlying EC_GROUP object
457 int EC_POINT_set_Jprojective_coordinates_GFp(const EC_GROUP *group, EC_POINT *p,
461 * \param group underlying EC_GROUP object
469 int EC_POINT_get_Jprojective_coordinates_GFp(const EC_GROUP *group,
473 * \param group underlying EC_GROUP object
480 int EC_POINT_set_affine_coordinates_GFp(const EC_GROUP *group, EC_POINT *p,
484 * \param group underlying EC_GROUP object
491 int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP *group,
495 * \param group underlying EC_GROUP object
502 int EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP *group, EC_POINT *p,
506 * \param group underlying EC_GROUP object
513 int EC_POINT_set_affine_coordinates_GF2m(const EC_GROUP *group, EC_POINT *p,
517 * \param group underlying EC_GROUP object
524 int EC_POINT_get_affine_coordinates_GF2m(const EC_GROUP *group,
528 * \param group underlying EC_GROUP object
535 int EC_POINT_set_compressed_coordinates_GF2m(const EC_GROUP *group, EC_POINT *p,
539 * \param group underlying EC_GROUP object
548 size_t EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *p,
553 * \param group underlying EC_GROUP object
560 int EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *p,
579 * \param group underlying EC_GROUP object
586 int EC_POINT_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx);
589 * \param group underlying EC_GROUP object
595 int EC_POINT_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *ctx);
598 * \param group underlying EC_GROUP object
603 int EC_POINT_invert(const EC_GROUP *group, EC_POINT *a, BN_CTX *ctx);
605 /** Checks whether the point is the neutral element of the group
606 * \param group the underlying EC_GROUP object
610 int EC_POINT_is_at_infinity(const EC_GROUP *group, const EC_POINT *p);
613 * \param group underlying EC_GROUP object
618 int EC_POINT_is_on_curve(const EC_GROUP *group, const EC_POINT *point, BN_CTX *ctx);
621 * \param group underlying EC_GROUP object
627 int EC_POINT_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx);
633 * \param group underlying EC_GROUP object
635 * \param n BIGNUM with the multiplier for the group generator (optional)
642 int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n, size_t num, const EC_POINT *p[], const BIGNUM *m[], BN_CTX *ctx);
645 * \param group underlying EC_GROUP object
647 * \param n BIGNUM with the multiplier for the group generator (optional)
653 int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n, const EC_POINT *q, const BIGNUM *m, BN_CTX *ctx);
656 * \param group EC_GROUP object
660 int EC_GROUP_precompute_mult(EC_GROUP *group, BN_CTX *ctx);
663 * \param group EC_GROUP object
666 int EC_GROUP_have_precompute_mult(const EC_GROUP *group);
768 * \param group EC_GROUP to use in the EC_KEY object (note: the EC_KEY
772 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);