1#ifndef VISTLE_UTIL_CRYPTO_H
2#define VISTLE_UTIL_CRYPTO_H
24 const std::vector<uint8_t> &mac);
const std::vector< uint8_t > & session_data()
Definition: crypto.cpp:163
std::vector< uint8_t > random_data(size_t length)
Definition: crypto.cpp:110
bool set_session_key(const std::string &hex_key)
Definition: crypto.cpp:88
const std::vector< uint8_t > & session_key()
Definition: crypto.cpp:174
std::string get_session_key()
Definition: crypto.cpp:103
bool verify_mac(const void *data, size_t length, const std::vector< uint8_t > &key, const std::vector< uint8_t > &mac)
Definition: crypto.cpp:143
bool initialize(size_t secret_size)
Definition: crypto.cpp:40
std::vector< uint8_t > compute_mac(const void *data, size_t length, const std::vector< uint8_t > &key)
Definition: crypto.cpp:122
Definition: allobjects.cpp:30
#define V_UTILEXPORT
Definition: export.h:19