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

Funciones

const EC_METHODEC_GFp_simple_method (void)
int ec_GFp_simple_group_init (EC_GROUP *group)
void ec_GFp_simple_group_finish (EC_GROUP *group)
void ec_GFp_simple_group_clear_finish (EC_GROUP *group)
int ec_GFp_simple_group_copy (EC_GROUP *dest, const EC_GROUP *src)
int ec_GFp_simple_group_set_curve (EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
int ec_GFp_simple_group_get_curve (const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx)
int ec_GFp_simple_group_get_degree (const EC_GROUP *group)
int ec_GFp_simple_group_check_discriminant (const EC_GROUP *group, BN_CTX *ctx)
int ec_GFp_simple_point_init (EC_POINT *point)
void ec_GFp_simple_point_finish (EC_POINT *point)
void ec_GFp_simple_point_clear_finish (EC_POINT *point)
int ec_GFp_simple_point_copy (EC_POINT *dest, const EC_POINT *src)
int ec_GFp_simple_point_set_to_infinity (const EC_GROUP *group, EC_POINT *point)
int ec_GFp_simple_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_GFp_simple_get_Jprojective_coordinates_GFp (const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx)
int ec_GFp_simple_point_set_affine_coordinates (const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx)
int ec_GFp_simple_point_get_affine_coordinates (const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx)
int ec_GFp_simple_set_compressed_coordinates (const EC_GROUP *group, EC_POINT *point, const BIGNUM *x_, int y_bit, BN_CTX *ctx)
size_t ec_GFp_simple_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_GFp_simple_oct2point (const EC_GROUP *group, EC_POINT *point, const unsigned char *buf, size_t len, BN_CTX *ctx)
int ec_GFp_simple_add (const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx)
int ec_GFp_simple_dbl (const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *ctx)
int ec_GFp_simple_invert (const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx)
int ec_GFp_simple_is_at_infinity (const EC_GROUP *group, const EC_POINT *point)
int ec_GFp_simple_is_on_curve (const EC_GROUP *group, const EC_POINT *point, BN_CTX *ctx)
int ec_GFp_simple_cmp (const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx)
int ec_GFp_simple_make_affine (const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx)
int ec_GFp_simple_points_make_affine (const EC_GROUP *group, size_t num, EC_POINT *points[], BN_CTX *ctx)
int ec_GFp_simple_field_mul (const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
int ec_GFp_simple_field_sqr (const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)

Documentación de las funciones

int ec_GFp_simple_add ( const EC_GROUP group,
EC_POINT r,
const EC_POINT a,
const EC_POINT b,
BN_CTX ctx 
)
int ec_GFp_simple_cmp ( const EC_GROUP group,
const EC_POINT a,
const EC_POINT b,
BN_CTX ctx 
)
int ec_GFp_simple_dbl ( const EC_GROUP group,
EC_POINT r,
const EC_POINT a,
BN_CTX ctx 
)
int ec_GFp_simple_field_mul ( const EC_GROUP group,
BIGNUM r,
const BIGNUM a,
const BIGNUM b,
BN_CTX ctx 
)
int ec_GFp_simple_field_sqr ( const EC_GROUP group,
BIGNUM r,
const BIGNUM a,
BN_CTX ctx 
)
int ec_GFp_simple_get_Jprojective_coordinates_GFp ( const EC_GROUP group,
const EC_POINT point,
BIGNUM x,
BIGNUM y,
BIGNUM z,
BN_CTX ctx 
)
int ec_GFp_simple_group_check_discriminant ( const EC_GROUP group,
BN_CTX ctx 
)
void ec_GFp_simple_group_clear_finish ( EC_GROUP group)
int ec_GFp_simple_group_copy ( EC_GROUP dest,
const EC_GROUP src 
)
void ec_GFp_simple_group_finish ( EC_GROUP group)
int ec_GFp_simple_group_get_curve ( const EC_GROUP group,
BIGNUM p,
BIGNUM a,
BIGNUM b,
BN_CTX ctx 
)
int ec_GFp_simple_group_get_degree ( const EC_GROUP group)
int ec_GFp_simple_group_init ( EC_GROUP group)
int ec_GFp_simple_group_set_curve ( EC_GROUP group,
const BIGNUM p,
const BIGNUM a,
const BIGNUM b,
BN_CTX ctx 
)
int ec_GFp_simple_invert ( const EC_GROUP group,
EC_POINT point,
BN_CTX ctx 
)
int ec_GFp_simple_is_at_infinity ( const EC_GROUP group,
const EC_POINT point 
)
int ec_GFp_simple_is_on_curve ( const EC_GROUP group,
const EC_POINT point,
BN_CTX ctx 
)
int ec_GFp_simple_make_affine ( const EC_GROUP group,
EC_POINT point,
BN_CTX ctx 
)
const EC_METHOD* EC_GFp_simple_method ( void  )
int ec_GFp_simple_oct2point ( const EC_GROUP group,
EC_POINT point,
const unsigned char *  buf,
size_t  len,
BN_CTX ctx 
)
size_t ec_GFp_simple_point2oct ( const EC_GROUP group,
const EC_POINT point,
point_conversion_form_t  form,
unsigned char *  buf,
size_t  len,
BN_CTX ctx 
)
void ec_GFp_simple_point_clear_finish ( EC_POINT point)
int ec_GFp_simple_point_copy ( EC_POINT dest,
const EC_POINT src 
)
void ec_GFp_simple_point_finish ( EC_POINT point)
int ec_GFp_simple_point_get_affine_coordinates ( const EC_GROUP group,
const EC_POINT point,
BIGNUM x,
BIGNUM y,
BN_CTX ctx 
)
int ec_GFp_simple_point_init ( EC_POINT point)
int ec_GFp_simple_point_set_affine_coordinates ( const EC_GROUP group,
EC_POINT point,
const BIGNUM x,
const BIGNUM y,
BN_CTX ctx 
)
int ec_GFp_simple_point_set_to_infinity ( const EC_GROUP group,
EC_POINT point 
)
int ec_GFp_simple_points_make_affine ( const EC_GROUP group,
size_t  num,
EC_POINT points[],
BN_CTX ctx 
)
int ec_GFp_simple_set_compressed_coordinates ( const EC_GROUP group,
EC_POINT point,
const BIGNUM x_,
int  y_bit,
BN_CTX ctx 
)
int ec_GFp_simple_set_Jprojective_coordinates_GFp ( const EC_GROUP group,
EC_POINT point,
const BIGNUM x,
const BIGNUM y,
const BIGNUM z,
BN_CTX ctx 
)
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'