aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/gost_3411/gost_3411.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-12-11 15:28:38 -0500
committerJack Lloyd <[email protected]>2016-12-18 16:48:24 -0500
commitf3cb3edb512bdcab498d825886c3366c341b3f78 (patch)
tree645c73ec295a5a34f25d99903b6d9fa9751e86d3 /src/lib/hash/gost_3411/gost_3411.h
parentc1dd21253c1f3188ff45d3ad47698efd08235ae8 (diff)
Convert to using standard uintN_t integer types
Renames a couple of functions for somewhat better name consistency, eg make_u32bit becomes make_uint32. The old typedefs remain for now since probably lots of application code uses them.
Diffstat (limited to 'src/lib/hash/gost_3411/gost_3411.h')
-rw-r--r--src/lib/hash/gost_3411/gost_3411.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/hash/gost_3411/gost_3411.h b/src/lib/hash/gost_3411/gost_3411.h
index 16f6a4954..e18ab56fa 100644
--- a/src/lib/hash/gost_3411/gost_3411.h
+++ b/src/lib/hash/gost_3411/gost_3411.h
@@ -28,15 +28,15 @@ class BOTAN_DLL GOST_34_11 final : public HashFunction
GOST_34_11();
private:
- void compress_n(const byte input[], size_t blocks);
+ void compress_n(const uint8_t input[], size_t blocks);
- void add_data(const byte[], size_t) override;
- void final_result(byte[]) override;
+ void add_data(const uint8_t[], size_t) override;
+ void final_result(uint8_t[]) override;
GOST_28147_89 m_cipher;
- secure_vector<byte> m_buffer, m_sum, m_hash;
+ secure_vector<uint8_t> m_buffer, m_sum, m_hash;
size_t m_position;
- u64bit m_count;
+ uint64_t m_count;
};
}