diff options
Diffstat (limited to 'src/lib/tls/tls_session_key.h')
-rw-r--r-- | src/lib/tls/tls_session_key.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/tls/tls_session_key.h b/src/lib/tls/tls_session_key.h index 6b74f907d..23c4a78fb 100644 --- a/src/lib/tls/tls_session_key.h +++ b/src/lib/tls/tls_session_key.h @@ -20,16 +20,16 @@ namespace TLS { class Session_Keys { public: - SymmetricKey client_cipher_key() const { return c_cipher; } - SymmetricKey server_cipher_key() const { return s_cipher; } + SymmetricKey client_cipher_key() const { return m_c_cipher; } + SymmetricKey server_cipher_key() const { return m_s_cipher; } - SymmetricKey client_mac_key() const { return c_mac; } - SymmetricKey server_mac_key() const { return s_mac; } + SymmetricKey client_mac_key() const { return m_c_mac; } + SymmetricKey server_mac_key() const { return m_s_mac; } - InitializationVector client_iv() const { return c_iv; } - InitializationVector server_iv() const { return s_iv; } + InitializationVector client_iv() const { return m_c_iv; } + InitializationVector server_iv() const { return m_s_iv; } - const secure_vector<byte>& master_secret() const { return master_sec; } + const secure_vector<byte>& master_secret() const { return m_master_sec; } Session_Keys() {} @@ -38,9 +38,9 @@ class Session_Keys bool resuming); private: - secure_vector<byte> master_sec; - SymmetricKey c_cipher, s_cipher, c_mac, s_mac; - InitializationVector c_iv, s_iv; + secure_vector<byte> m_master_sec; + SymmetricKey m_c_cipher, m_s_cipher, m_c_mac, m_s_mac; + InitializationVector m_c_iv, m_s_iv; }; } |