OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Attributes | List of all members
ec_method_st Struct Reference

#include <ec_lcl.h>

Public Attributes

int flags
 
int field_type
 
int(* group_init )(EC_GROUP *)
 
void(* group_finish )(EC_GROUP *)
 
void(* group_clear_finish )(EC_GROUP *)
 
int(* group_copy )(EC_GROUP *, const EC_GROUP *)
 
int(* group_set_curve )(EC_GROUP *, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *)
 
int(* group_get_curve )(const EC_GROUP *, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *)
 
int(* group_get_degree )(const EC_GROUP *)
 
int(* group_check_discriminant )(const EC_GROUP *, BN_CTX *)
 
int(* point_init )(EC_POINT *)
 
void(* point_finish )(EC_POINT *)
 
void(* point_clear_finish )(EC_POINT *)
 
int(* point_copy )(EC_POINT *, const EC_POINT *)
 
int(* point_set_to_infinity )(const EC_GROUP *, EC_POINT *)
 
int(* point_set_Jprojective_coordinates_GFp )(const EC_GROUP *, EC_POINT *, const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *)
 
int(* point_get_Jprojective_coordinates_GFp )(const EC_GROUP *, const EC_POINT *, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *)
 
int(* point_set_affine_coordinates )(const EC_GROUP *, EC_POINT *, const BIGNUM *x, const BIGNUM *y, BN_CTX *)
 
int(* point_get_affine_coordinates )(const EC_GROUP *, const EC_POINT *, BIGNUM *x, BIGNUM *y, BN_CTX *)
 
int(* point_set_compressed_coordinates )(const EC_GROUP *, EC_POINT *, const BIGNUM *x, int y_bit, BN_CTX *)
 
size_t(* point2oct )(const EC_GROUP *, const EC_POINT *, point_conversion_form_t form, unsigned char *buf, size_t len, BN_CTX *)
 
int(* oct2point )(const EC_GROUP *, EC_POINT *, const unsigned char *buf, size_t len, BN_CTX *)
 
int(* add )(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *)
 
int(* dbl )(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, BN_CTX *)
 
int(* invert )(const EC_GROUP *, EC_POINT *, BN_CTX *)
 
int(* is_at_infinity )(const EC_GROUP *, const EC_POINT *)
 
int(* is_on_curve )(const EC_GROUP *, const EC_POINT *, BN_CTX *)
 
int(* point_cmp )(const EC_GROUP *, const EC_POINT *a, const EC_POINT *b, BN_CTX *)
 
int(* make_affine )(const EC_GROUP *, EC_POINT *, BN_CTX *)
 
int(* points_make_affine )(const EC_GROUP *, size_t num, EC_POINT *[], BN_CTX *)
 
int(* mul )(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *)
 
int(* precompute_mult )(EC_GROUP *group, BN_CTX *)
 
int(* have_precompute_mult )(const EC_GROUP *group)
 
int(* field_mul )(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *)
 
int(* field_sqr )(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *)
 
int(* field_div )(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *)
 
int(* field_encode )(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *)
 
int(* field_decode )(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *)
 
int(* field_set_to_one )(const EC_GROUP *, BIGNUM *r, BN_CTX *)
 

Detailed Description

Definition at line 91 of file ec_lcl.h.

Member Data Documentation

int(* ec_method_st::add)(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *)

Definition at line 146 of file ec_lcl.h.

int(* ec_method_st::dbl)(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, BN_CTX *)

Definition at line 147 of file ec_lcl.h.

int(* ec_method_st::field_decode)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *)

Definition at line 177 of file ec_lcl.h.

int(* ec_method_st::field_div)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *)

Definition at line 174 of file ec_lcl.h.

int(* ec_method_st::field_encode)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *)

Definition at line 176 of file ec_lcl.h.

int(* ec_method_st::field_mul)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *)

Definition at line 172 of file ec_lcl.h.

int(* ec_method_st::field_set_to_one)(const EC_GROUP *, BIGNUM *r, BN_CTX *)

Definition at line 178 of file ec_lcl.h.

int(* ec_method_st::field_sqr)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *)

Definition at line 173 of file ec_lcl.h.

int ec_method_st::field_type

Definition at line 95 of file ec_lcl.h.

int ec_method_st::flags

Definition at line 93 of file ec_lcl.h.

int(* ec_method_st::group_check_discriminant)(const EC_GROUP *, BN_CTX *)

Definition at line 112 of file ec_lcl.h.

void(* ec_method_st::group_clear_finish)(EC_GROUP *)

Definition at line 100 of file ec_lcl.h.

int(* ec_method_st::group_copy)(EC_GROUP *, const EC_GROUP *)

Definition at line 101 of file ec_lcl.h.

void(* ec_method_st::group_finish)(EC_GROUP *)

Definition at line 99 of file ec_lcl.h.

int(* ec_method_st::group_get_curve)(const EC_GROUP *, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *)

Definition at line 106 of file ec_lcl.h.

int(* ec_method_st::group_get_degree)(const EC_GROUP *)

Definition at line 109 of file ec_lcl.h.

int(* ec_method_st::group_init)(EC_GROUP *)

Definition at line 98 of file ec_lcl.h.

int(* ec_method_st::group_set_curve)(EC_GROUP *, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *)

Definition at line 105 of file ec_lcl.h.

int(* ec_method_st::have_precompute_mult)(const EC_GROUP *group)

Definition at line 164 of file ec_lcl.h.

int(* ec_method_st::invert)(const EC_GROUP *, EC_POINT *, BN_CTX *)

Definition at line 148 of file ec_lcl.h.

int(* ec_method_st::is_at_infinity)(const EC_GROUP *, const EC_POINT *)

Definition at line 151 of file ec_lcl.h.

int(* ec_method_st::is_on_curve)(const EC_GROUP *, const EC_POINT *, BN_CTX *)

Definition at line 152 of file ec_lcl.h.

int(* ec_method_st::make_affine)(const EC_GROUP *, EC_POINT *, BN_CTX *)

Definition at line 156 of file ec_lcl.h.

int(* ec_method_st::mul)(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *)

Definition at line 161 of file ec_lcl.h.

int(* ec_method_st::oct2point)(const EC_GROUP *, EC_POINT *, const unsigned char *buf, size_t len, BN_CTX *)

Definition at line 142 of file ec_lcl.h.

size_t(* ec_method_st::point2oct)(const EC_GROUP *, const EC_POINT *, point_conversion_form_t form, unsigned char *buf, size_t len, BN_CTX *)

Definition at line 140 of file ec_lcl.h.

void(* ec_method_st::point_clear_finish)(EC_POINT *)

Definition at line 117 of file ec_lcl.h.

int(* ec_method_st::point_cmp)(const EC_GROUP *, const EC_POINT *a, const EC_POINT *b, BN_CTX *)

Definition at line 153 of file ec_lcl.h.

int(* ec_method_st::point_copy)(EC_POINT *, const EC_POINT *)

Definition at line 118 of file ec_lcl.h.

void(* ec_method_st::point_finish)(EC_POINT *)

Definition at line 116 of file ec_lcl.h.

int(* ec_method_st::point_get_affine_coordinates)(const EC_GROUP *, const EC_POINT *, BIGNUM *x, BIGNUM *y, BN_CTX *)

Definition at line 134 of file ec_lcl.h.

int(* ec_method_st::point_get_Jprojective_coordinates_GFp)(const EC_GROUP *, const EC_POINT *, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *)

Definition at line 130 of file ec_lcl.h.

int(* ec_method_st::point_init)(EC_POINT *)

Definition at line 115 of file ec_lcl.h.

int(* ec_method_st::point_set_affine_coordinates)(const EC_GROUP *, EC_POINT *, const BIGNUM *x, const BIGNUM *y, BN_CTX *)

Definition at line 132 of file ec_lcl.h.

int(* ec_method_st::point_set_compressed_coordinates)(const EC_GROUP *, EC_POINT *, const BIGNUM *x, int y_bit, BN_CTX *)

Definition at line 136 of file ec_lcl.h.

int(* ec_method_st::point_set_Jprojective_coordinates_GFp)(const EC_GROUP *, EC_POINT *, const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *)

Definition at line 128 of file ec_lcl.h.

int(* ec_method_st::point_set_to_infinity)(const EC_GROUP *, EC_POINT *)

Definition at line 127 of file ec_lcl.h.

int(* ec_method_st::points_make_affine)(const EC_GROUP *, size_t num, EC_POINT *[], BN_CTX *)

Definition at line 157 of file ec_lcl.h.

int(* ec_method_st::precompute_mult)(EC_GROUP *group, BN_CTX *)

Definition at line 163 of file ec_lcl.h.


The documentation for this struct was generated from the following file: