aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/keccak/keccak.h
diff options
context:
space:
mode:
authorDaniel Neus <[email protected]>2016-01-09 12:37:13 +0100
committerDaniel Neus <[email protected]>2016-01-09 12:37:13 +0100
commitf391635f202cf6f83539bd69688975a30f5f874f (patch)
tree206459e94ab379ba18a8e8035b1855327aa02126 /src/lib/hash/keccak/keccak.h
parent52afcc69d97621e5a3880798d7814a474e71c03b (diff)
parent791b3dc9947a94d35e6d54b274b0512fb0ebd09c (diff)
Merge remote-tracking branch 'remotes/github/master' into noreturn
# Conflicts: # src/build-data/cc/gcc.txt
Diffstat (limited to 'src/lib/hash/keccak/keccak.h')
-rw-r--r--src/lib/hash/keccak/keccak.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/hash/keccak/keccak.h b/src/lib/hash/keccak/keccak.h
index 0e7d3d5d1..c08b6c4e4 100644
--- a/src/lib/hash/keccak/keccak.h
+++ b/src/lib/hash/keccak/keccak.h
@@ -27,8 +27,8 @@ class BOTAN_DLL Keccak_1600 : public HashFunction
*/
Keccak_1600(size_t output_bits = 512);
- size_t hash_block_size() const override { return bitrate / 8; }
- size_t output_length() const override { return output_bits / 8; }
+ size_t hash_block_size() const override { return m_bitrate / 8; }
+ size_t output_length() const override { return m_output_bits / 8; }
HashFunction* clone() const override;
std::string name() const override;
@@ -37,9 +37,9 @@ class BOTAN_DLL Keccak_1600 : public HashFunction
void add_data(const byte input[], size_t length) override;
void final_result(byte out[]) override;
- size_t output_bits, bitrate;
- secure_vector<u64bit> S;
- size_t S_pos;
+ size_t m_output_bits, m_bitrate;
+ secure_vector<u64bit> m_S;
+ size_t m_S_pos;
};
}