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

ECDH Algorithm. More...

#include <ecdhfp.h>

List of all members.

Public Types

typedef OsModel_P OsModel

Public Member Functions

int8_t gen_shared_secret (uint8_t *sharedkey, uint8_t key_length, NN_DIGIT *PrivateKey, Point *PublicKey)
 ECDH Functionality Public Key (Assymetric) Key Agreement Algorithm based on elliptic curve cryptography Alice generates a shared secret key on the agreed elliptic curve by multiplying her private key with Bob's public key.
Construction / Destruction
 ECDH ()
 ~ECDH ()
Control
void enable (void)
void disable (void)

Detailed Description

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

ECDH Algorithm.

An implementation of an elliptic curve based Diffie-Hellman algorithm.


Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename OsModel_P >
void wiselib::ECDH< OsModel_P >::disable ( void  )
template<typename OsModel_P >
void wiselib::ECDH< OsModel_P >::enable ( void  )
template<typename OsModel_P >
int8_t wiselib::ECDH< OsModel_P >::gen_shared_secret ( uint8_t sharedkey,
uint8_t  key_length,
NN_DIGIT PrivateKey,
Point PublicKey 
)

ECDH Functionality Public Key (Assymetric) Key Agreement Algorithm based on elliptic curve cryptography Alice generates a shared secret key on the agreed elliptic curve by multiplying her private key with Bob's public key.


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