8#ifndef BOTAN_TLS_HANDSHAKE_HASH_H_
9#define BOTAN_TLS_HANDSHAKE_HASH_H_
11#include <botan/secmem.h>
12#include <botan/tls_version.h>
23 void update(
const uint8_t in[],
size_t length) { m_data += std::make_pair(in, length); }
25 void update(
const std::vector<uint8_t>& in) { m_data += in; }
29 const std::vector<uint8_t>&
get_contents()
const {
return m_data; }
31 void reset() { m_data.clear(); }
34 std::vector<uint8_t> m_data;
const std::vector< uint8_t > & get_contents() const
void update(const uint8_t in[], size_t length)
void update(const std::vector< uint8_t > &in)
int(* final)(unsigned char *, CTX *)
std::vector< T, secure_allocator< T > > secure_vector