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>
24 void update(
const uint8_t in[],
size_t length)
25 { m_data += std::make_pair(in, length); }
27 void update(
const std::vector<uint8_t>& in)
32 const std::vector<uint8_t>&
get_contents()
const {
return m_data; }
34 void reset() { m_data.clear(); }
36 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