Wiselib
Public Types | Public Member Functions
wiselib::ECDSA< OsModel_P > Class Template Reference

ECDSA Algorithm. More...

#include <ecdsafp.h>

List of all members.

Public Types

typedef OsModel_P OsModel

Public Member Functions

void sign (uint8_t *msg, uint8_t len, NN_DIGIT *r, NN_DIGIT *s, NN_DIGIT *d)
 ECDSA Functionality Public Key (Assymetric) Digital Signature Algorithm based on elliptic curve cryptography Alice generates a signature (r,s) on message m using her private key Bob verifies the signature (r,s) on message m using alice's public key.
uint8_t verify (uint8_t *msg, uint8_t len, NN_DIGIT *r, NN_DIGIT *s, Point *Q)
void key_setup (uint8_t seed)
Construction / Destruction
 ECDSA ()
 ~ECDSA ()
Control
void enable (void)
void disable (void)

Detailed Description

template<typename OsModel_P>
class wiselib::ECDSA< OsModel_P >

ECDSA Algorithm.

A Public Key (Assymetric) Digital Signature Algorithm based on elliptic curve cryptography.


Member Typedef Documentation

template<typename OsModel_P >
typedef OsModel_P wiselib::ECDSA< OsModel_P >::OsModel

Constructor & Destructor Documentation

template<typename OsModel_P >
wiselib::ECDSA< OsModel_P >::ECDSA ( )
template<typename OsModel_P >
wiselib::ECDSA< OsModel_P >::~ECDSA ( )

Member Function Documentation

template<typename OsModel_P >
void wiselib::ECDSA< OsModel_P >::disable ( void  )
template<typename OsModel_P >
void wiselib::ECDSA< OsModel_P >::enable ( void  )
template<typename OsModel_P >
void wiselib::ECDSA< OsModel_P >::key_setup ( uint8_t  seed)
template<typename OsModel_P >
void wiselib::ECDSA< OsModel_P >::sign ( uint8_t msg,
uint8_t  len,
NN_DIGIT r,
NN_DIGIT s,
NN_DIGIT d 
)

ECDSA Functionality Public Key (Assymetric) Digital Signature Algorithm based on elliptic curve cryptography Alice generates a signature (r,s) on message m using her private key Bob verifies the signature (r,s) on message m using alice's public key.

template<typename OsModel_P >
uint8_t wiselib::ECDSA< OsModel_P >::verify ( uint8_t msg,
uint8_t  len,
NN_DIGIT r,
NN_DIGIT s,
Point Q 
)

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