Monero
Loading...
Searching...
No Matches
Namespaces | Functions
hw::trezor::protocol Namespace Reference

Namespaces

namespace  crypto
 
namespace  ki
 
namespace  tx
 

Functions

std::string key_to_string (const ::crypto::ec_point &key)
 
std::string key_to_string (const ::crypto::ec_scalar &key)
 
std::string key_to_string (const ::crypto::hash &key)
 
std::string key_to_string (const ::rct::key &key)
 
void string_to_key (::crypto::ec_scalar &key, const std::string &str)
 
void string_to_key (::crypto::ec_point &key, const std::string &str)
 
void string_to_key (::rct::key &key, const std::string &str)
 
template<class sub_t , class InputIterator >
void assign_to_repeatable (::google::protobuf::RepeatedField< sub_t > *dst, const InputIterator begin, const InputIterator end)
 
template<class sub_t , class InputIterator >
void assign_from_repeatable (std::vector< sub_t > *dst, const InputIterator begin, const InputIterator end)
 
template<typename T >
bool cn_deserialize (const void *buff, size_t len, T &dst)
 
template<typename T >
bool cn_deserialize (const std::string &str, T &dst)
 
template<typename T >
std::string cn_serialize (T &obj)
 

Function Documentation

◆ assign_from_repeatable()

template<class sub_t , class InputIterator >
void hw::trezor::protocol::assign_from_repeatable ( std::vector< sub_t > * dst,
const InputIterator begin,
const InputIterator end )

◆ assign_to_repeatable()

template<class sub_t , class InputIterator >
void hw::trezor::protocol::assign_to_repeatable ( ::google::protobuf::RepeatedField< sub_t > * dst,
const InputIterator begin,
const InputIterator end )

◆ cn_deserialize() [1/2]

template<typename T >
bool hw::trezor::protocol::cn_deserialize ( const std::string & str,
T & dst )

◆ cn_deserialize() [2/2]

template<typename T >
bool hw::trezor::protocol::cn_deserialize ( const void * buff,
size_t len,
T & dst )

◆ cn_serialize()

template<typename T >
std::string hw::trezor::protocol::cn_serialize ( T & obj)

◆ key_to_string() [1/4]

std::string hw::trezor::protocol::key_to_string ( const ::crypto::ec_point & key)

◆ key_to_string() [2/4]

std::string hw::trezor::protocol::key_to_string ( const ::crypto::ec_scalar & key)

◆ key_to_string() [3/4]

std::string hw::trezor::protocol::key_to_string ( const ::crypto::hash & key)

◆ key_to_string() [4/4]

std::string hw::trezor::protocol::key_to_string ( const ::rct::key & key)

◆ string_to_key() [1/3]

void hw::trezor::protocol::string_to_key ( ::crypto::ec_point & key,
const std::string & str )

◆ string_to_key() [2/3]

void hw::trezor::protocol::string_to_key ( ::crypto::ec_scalar & key,
const std::string & str )

◆ string_to_key() [3/3]

void hw::trezor::protocol::string_to_key ( ::rct::key & key,
const std::string & str )