Home | History | Annotate | Download | only in ec

Lines Matching refs:EC_GROUP

321 EC_GROUP *ec_group_new(const EC_METHOD *meth) {
322 EC_GROUP *ret;
334 ret = OPENSSL_malloc(sizeof(EC_GROUP));
339 memset(ret, 0, sizeof(EC_GROUP));
353 EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a,
356 EC_GROUP *ret;
374 int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator,
377 /* |EC_GROUP_set_generator| should only be used with |EC_GROUP|s returned
412 static EC_GROUP *ec_group_new_from_data(unsigned built_in_index) {
414 EC_GROUP *group = NULL;
497 EC_GROUP *EC_GROUP_new_by_curve_name(int nid) {
500 EC_GROUP *ret = NULL;
519 void EC_GROUP_free(EC_GROUP *group) {
535 int ec_group_copy(EC_GROUP *dest, const EC_GROUP *src) {
575 const BN_MONT_CTX *ec_group_get_mont_data(const EC_GROUP *group) {
579 EC_GROUP *EC_GROUP_dup(const EC_GROUP *a) {
580 EC_GROUP *t = NULL;
606 int EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ignored) {
612 const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group) {
616 const BIGNUM *EC_GROUP_get0_order(const EC_GROUP *group) {
621 int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx) {
628 int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor,
637 int EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *out_p, BIGNUM *out_a,
642 int EC_GROUP_get_curve_name(const EC_GROUP *group) { return group->curve_name; }
644 unsigned EC_GROUP_get_degree(const EC_GROUP *group) {
648 EC_POINT *EC_POINT_new(const EC_GROUP *group) {
704 EC_POINT *EC_POINT_dup(const EC_POINT *a, const EC_GROUP *group) {
726 int EC_POINT_set_to_infinity(const EC_GROUP *group, EC_POINT *point) {
734 int EC_POINT_is_at_infinity(const EC_GROUP *group, const EC_POINT *point) {
742 int EC_POINT_is_on_curve(const EC_GROUP *group, const EC_POINT *point,
751 int EC_POINT_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b,
760 int EC_POINT_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) {
768 int EC_POINTs_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[],
781 int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP *group,
795 int EC_POINT_set_affine_coordinates_GFp(const EC_GROUP *group, EC_POINT *point,
814 int EC_POINT_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a,
825 int EC_POINT_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a,
835 int EC_POINT_invert(const EC_GROUP *group, EC_POINT *a, BN_CTX *ctx) {
843 int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar,
863 int ec_point_set_Jprojective_coordinates_GFp(const EC_GROUP *group, EC_POINT *point,
874 void EC_GROUP_set_asn1_flag(EC_GROUP *group, int flag) {}
876 const EC_METHOD *EC_GROUP_method_of(const EC_GROUP *group) {
884 void EC_GROUP_set_point_conversion_form(EC_GROUP *group,