#include <keylevels_share.h>
List of all members.
Public Types |
enum | ReturnValues { SUCCESS = OsModel::SUCCESS,
ERR_UNSPEC = OsModel::ERR_UNSPEC,
SUCCESS = OsModel::SUCCESS,
ERR_UNSPEC = OsModel::ERR_UNSPEC
} |
enum | ReturnValues { SUCCESS = OsModel::SUCCESS,
ERR_UNSPEC = OsModel::ERR_UNSPEC,
SUCCESS = OsModel::SUCCESS,
ERR_UNSPEC = OsModel::ERR_UNSPEC
} |
typedef OsModel_P | OsModel |
typedef Radio_P | Radio |
typedef Debug_P | Debug |
typedef Radio::node_id_t | node_id_t |
typedef
wiselib::MapStaticVector
< OsModel, node_id_t, key,
NODES_MAX > | trusted_links_t |
typedef OsModel_P | OsModel |
typedef Radio_P | Radio |
typedef Debug_P | Debug |
typedef Radio::node_id_t | node_id_t |
typedef
wiselib::MapStaticVector
< OsModel, node_id_t, key,
NODES_MAX > | trusted_links_t |
typedef trusted_links_t::iterator | trusted_links_it |
Public Member Functions |
| KeyShare () |
void | variation_on_SDBMHash (uint8_t *data, unsigned int len) |
int | init (Radio &radio, Debug &debug, Random &random) |
void | fillKeyshareWithKeys (Random *random) |
void | fillKeyshareWithKeyIndexesAndLevels (Random *random) |
void | fillKeyshareWithKeyValues (Random *random) |
void | fillKeyshareWithTestKeyIndexesAndLevels () |
void | fillKeyshareWithFakeKeys () |
void | fillKeyshareWithTestKeys (Random *random) |
int | random () |
unsigned int | get_keyshare_size () |
void | listKeyshare () |
key * | get_key (uint16_t key_index) |
bool | owns_key (uint16_t key_index) |
bool | trusted_link_exists (node_id_t node) |
void | put_trusted_link (node_id_t node, key link) |
key * | get_key_info (node_id_t node) |
void | print_key (uint8_t *key, int size) |
void | print_key_value (uint8_t *value, uint8_t size) |
void | print_all_key_info (key *k) |
| KeyShare () |
trusted_links_it | tl_start () |
trusted_links_it | tl_end () |
void | variation_on_SDBMHash (uint8_t *data, unsigned int len) |
int | init (Radio &radio, Debug &debug, Random &random) |
void | fillKeyshareWithKeys (Random *random) |
void | fillKeyshareWithKeyIndexesAndLevels (Random *random) |
void | fillKeyshareWithKeyValues (Random *random) |
unsigned int | get_keyshare_size () |
key * | get_key (uint16_t key_index) |
bool | owns_key (uint16_t key_index) |
bool | trusted_link_exists (node_id_t node) |
void | put_trusted_link (node_id_t node, key link) |
key * | get_key_info (node_id_t node) |
void | print_key (uint8_t *key, int size) |
void | print_key_value (uint8_t *value, uint8_t size) |
void | print_all_key_info (key *k) |
Public Attributes |
key | keyshare [KEYSHARE_SIZE] |
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
class wiselib::KeyShare< OsModel_P, Radio_P, Debug_P >
Member Typedef Documentation
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
Member Enumeration Documentation
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
- Enumerator:
SUCCESS |
|
ERR_UNSPEC |
|
SUCCESS |
|
ERR_UNSPEC |
|
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
- Enumerator:
SUCCESS |
|
ERR_UNSPEC |
|
SUCCESS |
|
ERR_UNSPEC |
|
Constructor & Destructor Documentation
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
Member Function Documentation
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
void wiselib::KeyShare< OsModel_P, Radio_P, Debug_P >::fillKeyshareWithFakeKeys |
( |
| ) |
[inline] |
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
void wiselib::KeyShare< OsModel_P, Radio_P, Debug_P >::fillKeyshareWithKeyIndexesAndLevels |
( |
Random * |
random | ) |
[inline] |
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
void wiselib::KeyShare< OsModel_P, Radio_P, Debug_P >::fillKeyshareWithKeyIndexesAndLevels |
( |
Random * |
random | ) |
[inline] |
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
void wiselib::KeyShare< OsModel_P, Radio_P, Debug_P >::fillKeyshareWithTestKeyIndexesAndLevels |
( |
| ) |
[inline] |
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
unsigned int wiselib::KeyShare< OsModel_P, Radio_P, Debug_P >::get_keyshare_size |
( |
| ) |
[inline] |
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
unsigned int wiselib::KeyShare< OsModel_P, Radio_P, Debug_P >::get_keyshare_size |
( |
| ) |
[inline] |
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
void wiselib::KeyShare< OsModel_P, Radio_P, Debug_P >::variation_on_SDBMHash |
( |
uint8_t * |
data, |
|
|
unsigned int |
len |
|
) |
| [inline] |
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
void wiselib::KeyShare< OsModel_P, Radio_P, Debug_P >::variation_on_SDBMHash |
( |
uint8_t * |
data, |
|
|
unsigned int |
len |
|
) |
| [inline] |
Member Data Documentation
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
The documentation for this class was generated from the following files: