Go to the source code of this file.
Namespaces | |
namespace | vistle |
namespace | vistle::crypto |
Functions | |
bool | vistle::crypto::initialize (size_t secret_size) |
bool | vistle::crypto::set_session_key (const std::string &hex_key) |
std::string | vistle::crypto::get_session_key () |
const std::vector< uint8_t > & | vistle::crypto::session_data () |
const std::vector< uint8_t > & | vistle::crypto::session_key () |
std::vector< uint8_t > | vistle::crypto::random_data (size_t length) |
std::vector< uint8_t > | vistle::crypto::compute_mac (const void *data, size_t length, const std::vector< uint8_t > &key) |
bool | vistle::crypto::verify_mac (const void *data, size_t length, const std::vector< uint8_t > &key, const std::vector< uint8_t > &mac) |