aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_handshake_hash.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-01-28 02:57:30 +0000
committerlloyd <[email protected]>2012-01-28 02:57:30 +0000
commit6e1544d590826b48aaf44273373a3fe58fa3df7d (patch)
tree8580b977bc53a19c3ef961f32a4566e48506f861 /src/tls/tls_handshake_hash.h
parent467d07f38e31d5df6d12ae85ef68ba4317b10b68 (diff)
Support alternate PRF hashes in TLS 1.2. Add support for the SHA-384
ciphersuites.
Diffstat (limited to 'src/tls/tls_handshake_hash.h')
-rw-r--r--src/tls/tls_handshake_hash.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tls/tls_handshake_hash.h b/src/tls/tls_handshake_hash.h
index 20f3c51fc..c13f97aa8 100644
--- a/src/tls/tls_handshake_hash.h
+++ b/src/tls/tls_handshake_hash.h
@@ -36,7 +36,9 @@ class Handshake_Hash
void update(Handshake_Type handshake_type,
const MemoryRegion<byte>& handshake_msg);
- SecureVector<byte> final(Protocol_Version version);
+ SecureVector<byte> final(Protocol_Version version,
+ const std::string& mac_algo);
+
SecureVector<byte> final_ssl3(const MemoryRegion<byte>& master_secret);
const SecureVector<byte>& get_contents() const