Wiselib
|
#include <harps.h>
Public Types | |
typedef OsModel_P | OsModel |
typedef Radio_P | Radio |
typedef Debug_P | Debug |
typedef KeyPool_P | KeyPool |
typedef HashAlgo_P | HashAlgo |
typedef Radio::node_id_t | node_id_t |
typedef Radio::size_t | size_t |
typedef Radio::block_data_t | block_data_t |
typedef wiselib::HARPSUTILS < HashAlgo > | HarpsUtils |
Public Member Functions | |
bool | key_setup (node_id_t comPartner_ID, uint8_t *sessionKey, KeyPool pool) |
Construction / Destruction | |
HARPS () | |
~HARPS () | |
Crypto Control | |
void | enable (void) |
void | disable (void) |
HARPS Algorithm.
This class implements HARPS a key distribution scheme based on on symmetric crypto primitives for more information see http://eprint.iacr.org/2003/170.pdf
typedef Radio::block_data_t wiselib::HARPS< OsModel_P, Radio_P, Debug_P, KeyPool_P, HashAlgo_P >::block_data_t |
typedef Debug_P wiselib::HARPS< OsModel_P, Radio_P, Debug_P, KeyPool_P, HashAlgo_P >::Debug |
typedef wiselib::HARPSUTILS<HashAlgo> wiselib::HARPS< OsModel_P, Radio_P, Debug_P, KeyPool_P, HashAlgo_P >::HarpsUtils |
typedef HashAlgo_P wiselib::HARPS< OsModel_P, Radio_P, Debug_P, KeyPool_P, HashAlgo_P >::HashAlgo |
typedef KeyPool_P wiselib::HARPS< OsModel_P, Radio_P, Debug_P, KeyPool_P, HashAlgo_P >::KeyPool |
typedef Radio::node_id_t wiselib::HARPS< OsModel_P, Radio_P, Debug_P, KeyPool_P, HashAlgo_P >::node_id_t |
typedef OsModel_P wiselib::HARPS< OsModel_P, Radio_P, Debug_P, KeyPool_P, HashAlgo_P >::OsModel |
typedef Radio_P wiselib::HARPS< OsModel_P, Radio_P, Debug_P, KeyPool_P, HashAlgo_P >::Radio |
typedef Radio::size_t wiselib::HARPS< OsModel_P, Radio_P, Debug_P, KeyPool_P, HashAlgo_P >::size_t |
wiselib::HARPS< OsModel_P, Radio_P, Debug_P, KeyPool_P, HashAlgo_P >::HARPS | ( | ) |
wiselib::HARPS< OsModel_P, Radio_P, Debug_P, KeyPool_P, HashAlgo_P >::~HARPS | ( | ) |
void wiselib::HARPS< OsModel_P, Radio_P, Debug_P, KeyPool_P, HashAlgo_P >::disable | ( | void | ) |
void wiselib::HARPS< OsModel_P, Radio_P, Debug_P, KeyPool_P, HashAlgo_P >::enable | ( | void | ) |
bool wiselib::HARPS< OsModel_P, Radio_P, Debug_P, KeyPool_P, HashAlgo_P >::key_setup | ( | node_id_t | comPartner_ID, |
uint8_t * | sessionKey, | ||
KeyPool | pool | ||
) |