OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Typedefs | Functions
ecp_nistp224.c File Reference
#include <openssl/opensslconf.h>
#include <stdint.h>
#include <string.h>
#include <openssl/err.h>
#include "ec_lcl.h"

Go to the source code of this file.

Classes

struct  NISTP224_PRE_COMP
 

Typedefs

typedef uint8_t u8
 
typedef uint64_t u64
 
typedef int64_t s64
 
typedef uint64_t limb
 
typedef uint128_t widelimb
 
typedef limb felem [4]
 
typedef widelimb widefelem [7]
 
typedef u8 felem_bytearray [28]
 

Functions

const EC_METHODEC_GFp_nistp224_method (void)
 
int ec_GFp_nistp224_group_init (EC_GROUP *group)
 
int ec_GFp_nistp224_group_set_curve (EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
 
int ec_GFp_nistp224_point_get_affine_coordinates (const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx)
 
int ec_GFp_nistp224_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_GFp_nistp224_precompute_mult (EC_GROUP *group, BN_CTX *ctx)
 
int ec_GFp_nistp224_have_precompute_mult (const EC_GROUP *group)
 

Typedef Documentation

typedef limb felem[4]

Definition at line 75 of file ecp_nistp224.c.

typedef u8 felem_bytearray[28]

Definition at line 82 of file ecp_nistp224.c.

typedef uint64_t limb

Definition at line 72 of file ecp_nistp224.c.

typedef int64_t s64

Definition at line 50 of file ecp_nistp224.c.

typedef uint64_t u64

Definition at line 49 of file ecp_nistp224.c.

typedef uint8_t u8

Definition at line 48 of file ecp_nistp224.c.

typedef widelimb widefelem[7]

Definition at line 76 of file ecp_nistp224.c.

typedef uint128_t widelimb

Definition at line 73 of file ecp_nistp224.c.

Function Documentation

int ec_GFp_nistp224_group_init ( EC_GROUP group)

Definition at line 1207 of file ecp_nistp224.c.

int ec_GFp_nistp224_group_set_curve ( EC_GROUP group,
const BIGNUM p,
const BIGNUM a,
const BIGNUM b,
BN_CTX ctx 
)

Definition at line 1215 of file ecp_nistp224.c.

int ec_GFp_nistp224_have_precompute_mult ( const EC_GROUP group)

Definition at line 1646 of file ecp_nistp224.c.

const EC_METHOD* EC_GFp_nistp224_method ( void  )

Returns 64-bit optimized methods for nistp224

Returns
EC_METHOD object

Definition at line 236 of file ecp_nistp224.c.

int ec_GFp_nistp224_point_get_affine_coordinates ( const EC_GROUP group,
const EC_POINT point,
BIGNUM x,
BIGNUM y,
BN_CTX ctx 
)

Definition at line 1249 of file ecp_nistp224.c.

int ec_GFp_nistp224_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 
)

Definition at line 1309 of file ecp_nistp224.c.

int ec_GFp_nistp224_precompute_mult ( EC_GROUP group,
BN_CTX ctx 
)

Definition at line 1517 of file ecp_nistp224.c.