Eneboo - Documentación para desarrolladores
Funciones
Referencia del Archivo src/libdigidoc/openssl/crypto/ec/ec_lib.c
#include <string.h>
#include <openssl/err.h>
#include <openssl/opensslv.h>
#include "ec_lcl.h"

Funciones

EC_GROUPEC_GROUP_new (const EC_METHOD *meth)
void EC_GROUP_free (EC_GROUP *group)
void EC_GROUP_clear_free (EC_GROUP *group)
int EC_GROUP_copy (EC_GROUP *dest, const EC_GROUP *src)
EC_GROUPEC_GROUP_dup (const EC_GROUP *a)
const EC_METHODEC_GROUP_method_of (const EC_GROUP *group)
int EC_METHOD_get_field_type (const EC_METHOD *meth)
int EC_GROUP_set_generator (EC_GROUP *group, const EC_POINT *generator, const BIGNUM *order, const BIGNUM *cofactor)
const EC_POINTEC_GROUP_get0_generator (const EC_GROUP *group)
int EC_GROUP_get_order (const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx)
int EC_GROUP_get_cofactor (const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx)
void EC_GROUP_set_curve_name (EC_GROUP *group, int nid)
int EC_GROUP_get_curve_name (const EC_GROUP *group)
void EC_GROUP_set_asn1_flag (EC_GROUP *group, int flag)
int EC_GROUP_get_asn1_flag (const EC_GROUP *group)
void EC_GROUP_set_point_conversion_form (EC_GROUP *group, point_conversion_form_t form)
point_conversion_form_t EC_GROUP_get_point_conversion_form (const EC_GROUP *group)
size_t EC_GROUP_set_seed (EC_GROUP *group, const unsigned char *p, size_t len)
unsigned char * EC_GROUP_get0_seed (const EC_GROUP *group)
size_t EC_GROUP_get_seed_len (const EC_GROUP *group)
int EC_GROUP_set_curve_GFp (EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
int EC_GROUP_get_curve_GFp (const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx)
int EC_GROUP_set_curve_GF2m (EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
int EC_GROUP_get_curve_GF2m (const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx)
int EC_GROUP_get_degree (const EC_GROUP *group)
int EC_GROUP_check_discriminant (const EC_GROUP *group, BN_CTX *ctx)
int EC_GROUP_cmp (const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ctx)
int EC_EX_DATA_set_data (EC_EXTRA_DATA **ex_data, void *data, void *(*dup_func)(void *), void(*free_func)(void *), void(*clear_free_func)(void *))
void * EC_EX_DATA_get_data (const EC_EXTRA_DATA *ex_data, void *(*dup_func)(void *), void(*free_func)(void *), void(*clear_free_func)(void *))
void EC_EX_DATA_free_data (EC_EXTRA_DATA **ex_data, void *(*dup_func)(void *), void(*free_func)(void *), void(*clear_free_func)(void *))
void EC_EX_DATA_clear_free_data (EC_EXTRA_DATA **ex_data, void *(*dup_func)(void *), void(*free_func)(void *), void(*clear_free_func)(void *))
void EC_EX_DATA_free_all_data (EC_EXTRA_DATA **ex_data)
void EC_EX_DATA_clear_free_all_data (EC_EXTRA_DATA **ex_data)
EC_POINTEC_POINT_new (const EC_GROUP *group)
void EC_POINT_free (EC_POINT *point)
void EC_POINT_clear_free (EC_POINT *point)
int EC_POINT_copy (EC_POINT *dest, const EC_POINT *src)
EC_POINTEC_POINT_dup (const EC_POINT *a, const EC_GROUP *group)
const EC_METHODEC_POINT_method_of (const EC_POINT *point)
int EC_POINT_set_to_infinity (const EC_GROUP *group, EC_POINT *point)
int EC_POINT_set_Jprojective_coordinates_GFp (const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx)
int EC_POINT_get_Jprojective_coordinates_GFp (const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx)
int EC_POINT_set_affine_coordinates_GFp (const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx)
int EC_POINT_set_affine_coordinates_GF2m (const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx)
int EC_POINT_get_affine_coordinates_GFp (const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx)
int EC_POINT_get_affine_coordinates_GF2m (const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx)
int EC_POINT_set_compressed_coordinates_GFp (const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, int y_bit, BN_CTX *ctx)
int EC_POINT_set_compressed_coordinates_GF2m (const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, int y_bit, BN_CTX *ctx)
size_t EC_POINT_point2oct (const EC_GROUP *group, const EC_POINT *point, point_conversion_form_t form, unsigned char *buf, size_t len, BN_CTX *ctx)
int EC_POINT_oct2point (const EC_GROUP *group, EC_POINT *point, const unsigned char *buf, size_t len, BN_CTX *ctx)
int EC_POINT_add (const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx)
int EC_POINT_dbl (const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *ctx)
int EC_POINT_invert (const EC_GROUP *group, EC_POINT *a, BN_CTX *ctx)
int EC_POINT_is_at_infinity (const EC_GROUP *group, const EC_POINT *point)
int EC_POINT_is_on_curve (const EC_GROUP *group, const EC_POINT *point, BN_CTX *ctx)
int EC_POINT_cmp (const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx)
int EC_POINT_make_affine (const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx)
int EC_POINTs_make_affine (const EC_GROUP *group, size_t num, EC_POINT *points[], BN_CTX *ctx)
int EC_POINTs_mul (const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx)
int EC_POINT_mul (const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar, const EC_POINT *point, const BIGNUM *p_scalar, BN_CTX *ctx)
int EC_GROUP_precompute_mult (EC_GROUP *group, BN_CTX *ctx)
int EC_GROUP_have_precompute_mult (const EC_GROUP *group)

Documentación de las funciones

void EC_EX_DATA_clear_free_all_data ( EC_EXTRA_DATA **  ex_data)
void EC_EX_DATA_clear_free_data ( EC_EXTRA_DATA **  ex_data,
void *(*)(void *)  dup_func,
void(*)(void *)  free_func,
void(*)(void *)  clear_free_func 
)
void EC_EX_DATA_free_all_data ( EC_EXTRA_DATA **  ex_data)
void EC_EX_DATA_free_data ( EC_EXTRA_DATA **  ex_data,
void *(*)(void *)  dup_func,
void(*)(void *)  free_func,
void(*)(void *)  clear_free_func 
)
void* EC_EX_DATA_get_data ( const EC_EXTRA_DATA ex_data,
void *(*)(void *)  dup_func,
void(*)(void *)  free_func,
void(*)(void *)  clear_free_func 
)
int EC_EX_DATA_set_data ( EC_EXTRA_DATA **  ex_data,
void *  data,
void *(*)(void *)  dup_func,
void(*)(void *)  free_func,
void(*)(void *)  clear_free_func 
)
int EC_GROUP_check_discriminant ( const EC_GROUP group,
BN_CTX ctx 
)
void EC_GROUP_clear_free ( EC_GROUP group)
int EC_GROUP_cmp ( const EC_GROUP a,
const EC_GROUP b,
BN_CTX ctx 
)
int EC_GROUP_copy ( EC_GROUP dest,
const EC_GROUP src 
)
EC_GROUP* EC_GROUP_dup ( const EC_GROUP a)
void EC_GROUP_free ( EC_GROUP group)
const EC_POINT* EC_GROUP_get0_generator ( const EC_GROUP group)
unsigned char* EC_GROUP_get0_seed ( const EC_GROUP group)
int EC_GROUP_get_asn1_flag ( const EC_GROUP group)
int EC_GROUP_get_cofactor ( const EC_GROUP group,
BIGNUM cofactor,
BN_CTX ctx 
)
int EC_GROUP_get_curve_GF2m ( const EC_GROUP group,
BIGNUM p,
BIGNUM a,
BIGNUM b,
BN_CTX ctx 
)
int EC_GROUP_get_curve_GFp ( const EC_GROUP group,
BIGNUM p,
BIGNUM a,
BIGNUM b,
BN_CTX ctx 
)
int EC_GROUP_get_curve_name ( const EC_GROUP group)
int EC_GROUP_get_degree ( const EC_GROUP group)
int EC_GROUP_get_order ( const EC_GROUP group,
BIGNUM order,
BN_CTX ctx 
)
point_conversion_form_t EC_GROUP_get_point_conversion_form ( const EC_GROUP group)
size_t EC_GROUP_get_seed_len ( const EC_GROUP group)
int EC_GROUP_have_precompute_mult ( const EC_GROUP group)
const EC_METHOD* EC_GROUP_method_of ( const EC_GROUP group)
EC_GROUP* EC_GROUP_new ( const EC_METHOD meth)
int EC_GROUP_precompute_mult ( EC_GROUP group,
BN_CTX ctx 
)
void EC_GROUP_set_asn1_flag ( EC_GROUP group,
int  flag 
)
int EC_GROUP_set_curve_GF2m ( EC_GROUP group,
const BIGNUM p,
const BIGNUM a,
const BIGNUM b,
BN_CTX ctx 
)
int EC_GROUP_set_curve_GFp ( EC_GROUP group,
const BIGNUM p,
const BIGNUM a,
const BIGNUM b,
BN_CTX ctx 
)
void EC_GROUP_set_curve_name ( EC_GROUP group,
int  nid 
)
int EC_GROUP_set_generator ( EC_GROUP group,
const EC_POINT generator,
const BIGNUM order,
const BIGNUM cofactor 
)
void EC_GROUP_set_point_conversion_form ( EC_GROUP group,
point_conversion_form_t  form 
)
size_t EC_GROUP_set_seed ( EC_GROUP group,
const unsigned char *  p,
size_t  len 
)
int EC_METHOD_get_field_type ( const EC_METHOD meth)
int EC_POINT_add ( const EC_GROUP group,
EC_POINT r,
const EC_POINT a,
const EC_POINT b,
BN_CTX ctx 
)
void EC_POINT_clear_free ( EC_POINT point)
int EC_POINT_cmp ( const EC_GROUP group,
const EC_POINT a,
const EC_POINT b,
BN_CTX ctx 
)
int EC_POINT_copy ( EC_POINT dest,
const EC_POINT src 
)
int EC_POINT_dbl ( const EC_GROUP group,
EC_POINT r,
const EC_POINT a,
BN_CTX ctx 
)
EC_POINT* EC_POINT_dup ( const EC_POINT a,
const EC_GROUP group 
)
void EC_POINT_free ( EC_POINT point)
int EC_POINT_get_affine_coordinates_GF2m ( const EC_GROUP group,
const EC_POINT point,
BIGNUM x,
BIGNUM y,
BN_CTX ctx 
)
int EC_POINT_get_affine_coordinates_GFp ( const EC_GROUP group,
const EC_POINT point,
BIGNUM x,
BIGNUM y,
BN_CTX ctx 
)
int EC_POINT_get_Jprojective_coordinates_GFp ( const EC_GROUP group,
const EC_POINT point,
BIGNUM x,
BIGNUM y,
BIGNUM z,
BN_CTX ctx 
)
int EC_POINT_invert ( const EC_GROUP group,
EC_POINT a,
BN_CTX ctx 
)
int EC_POINT_is_at_infinity ( const EC_GROUP group,
const EC_POINT point 
)
int EC_POINT_is_on_curve ( const EC_GROUP group,
const EC_POINT point,
BN_CTX ctx 
)
int EC_POINT_make_affine ( const EC_GROUP group,
EC_POINT point,
BN_CTX ctx 
)
const EC_METHOD* EC_POINT_method_of ( const EC_POINT point)
int EC_POINT_mul ( const EC_GROUP group,
EC_POINT r,
const BIGNUM g_scalar,
const EC_POINT point,
const BIGNUM p_scalar,
BN_CTX ctx 
)
EC_POINT* EC_POINT_new ( const EC_GROUP group)
int EC_POINT_oct2point ( const EC_GROUP group,
EC_POINT point,
const unsigned char *  buf,
size_t  len,
BN_CTX ctx 
)
size_t EC_POINT_point2oct ( const EC_GROUP group,
const EC_POINT point,
point_conversion_form_t  form,
unsigned char *  buf,
size_t  len,
BN_CTX ctx 
)
int EC_POINT_set_affine_coordinates_GF2m ( const EC_GROUP group,
EC_POINT point,
const BIGNUM x,
const BIGNUM y,
BN_CTX ctx 
)
int EC_POINT_set_affine_coordinates_GFp ( const EC_GROUP group,
EC_POINT point,
const BIGNUM x,
const BIGNUM y,
BN_CTX ctx 
)
int EC_POINT_set_compressed_coordinates_GF2m ( const EC_GROUP group,
EC_POINT point,
const BIGNUM x,
int  y_bit,
BN_CTX ctx 
)
int EC_POINT_set_compressed_coordinates_GFp ( const EC_GROUP group,
EC_POINT point,
const BIGNUM x,
int  y_bit,
BN_CTX ctx 
)
int EC_POINT_set_Jprojective_coordinates_GFp ( const EC_GROUP group,
EC_POINT point,
const BIGNUM x,
const BIGNUM y,
const BIGNUM z,
BN_CTX ctx 
)
int EC_POINT_set_to_infinity ( const EC_GROUP group,
EC_POINT point 
)
int EC_POINTs_make_affine ( const EC_GROUP group,
size_t  num,
EC_POINT points[],
BN_CTX ctx 
)
int EC_POINTs_mul ( const EC_GROUP group,
EC_POINT r,
const BIGNUM scalar,
size_t  num,
const EC_POINT points[],
const BIGNUM scalars[],
BN_CTX ctx 
)
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'