Wiselib
Public Member Functions
wiselib::ECCFP Class Reference

ECCFP Algorithm. More...

#include <eccfp.h>

List of all members.

Public Member Functions

void p_clear (Point *P0)
void p_copy (Point *P0, Point *P1)
bool p_iszero (Point *P0)
bool p_equal (Point *P1, Point *P2)
bool Z_is_one (NN_DIGIT *Z)
int8_t point2octet (uint8_t *octet, NN_UINT octet_len, Point *P, bool compress)
int8_t octet2point (Point *P, uint8_t *octet, int8_t octet_len)
int8_t check_point (Point *P)
void c_dbl_affine (Point *P0, Point *P1)
void c_add_affine (Point *P0, Point *P1, Point *P2)
void c_mul (Point *P0, Point *P1, NN_DIGIT *n)
void gen_private_key (NN_DIGIT *PrivateKey, uint8_t b)
void gen_public_key (Point *PublicKey, NN_DIGIT *PrivateKey)
void init128 ()
void init160 ()
void init192 ()

Detailed Description

ECCFP Algorithm.

An implementation of the ECC Algorithm.


Member Function Documentation

void wiselib::ECCFP::c_add_affine ( Point P0,
Point P1,
Point P2 
) [inline]
void wiselib::ECCFP::c_dbl_affine ( Point P0,
Point P1 
) [inline]
void wiselib::ECCFP::c_mul ( Point P0,
Point P1,
NN_DIGIT n 
) [inline]
int8_t wiselib::ECCFP::check_point ( Point P) [inline]
void wiselib::ECCFP::gen_private_key ( NN_DIGIT PrivateKey,
uint8_t  b 
) [inline]
void wiselib::ECCFP::gen_public_key ( Point PublicKey,
NN_DIGIT PrivateKey 
) [inline]
void wiselib::ECCFP::init128 ( ) [inline]
void wiselib::ECCFP::init160 ( ) [inline]
void wiselib::ECCFP::init192 ( ) [inline]
int8_t wiselib::ECCFP::octet2point ( Point P,
uint8_t octet,
int8_t  octet_len 
) [inline]
void wiselib::ECCFP::p_clear ( Point P0) [inline]
void wiselib::ECCFP::p_copy ( Point P0,
Point P1 
) [inline]
bool wiselib::ECCFP::p_equal ( Point P1,
Point P2 
) [inline]
bool wiselib::ECCFP::p_iszero ( Point P0) [inline]
int8_t wiselib::ECCFP::point2octet ( uint8_t octet,
NN_UINT  octet_len,
Point P,
bool  compress 
) [inline]
bool wiselib::ECCFP::Z_is_one ( NN_DIGIT Z) [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines