aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/block/lion/lion.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/block/lion/lion.h')
-rw-r--r--src/lib/block/lion/lion.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/block/lion/lion.h b/src/lib/block/lion/lion.h
index e6ecca64f..5d82370ae 100644
--- a/src/lib/block/lion/lion.h
+++ b/src/lib/block/lion/lion.h
@@ -25,8 +25,8 @@ namespace Botan {
class BOTAN_DLL Lion final : public BlockCipher
{
public:
- void encrypt_n(const byte in[], byte out[], size_t blocks) const override;
- void decrypt_n(const byte in[], byte out[], size_t blocks) const override;
+ void encrypt_n(const uint8_t in[], uint8_t out[], size_t blocks) const override;
+ void decrypt_n(const uint8_t in[], uint8_t out[], size_t blocks) const override;
size_t block_size() const override { return m_block_size; }
@@ -48,7 +48,7 @@ class BOTAN_DLL Lion final : public BlockCipher
StreamCipher* cipher,
size_t block_size);
private:
- void key_schedule(const byte[], size_t) override;
+ void key_schedule(const uint8_t[], size_t) override;
size_t left_size() const { return m_hash->output_length(); }
size_t right_size() const { return m_block_size - left_size(); }
@@ -56,7 +56,7 @@ class BOTAN_DLL Lion final : public BlockCipher
const size_t m_block_size;
std::unique_ptr<HashFunction> m_hash;
std::unique_ptr<StreamCipher> m_cipher;
- secure_vector<byte> m_key1, m_key2;
+ secure_vector<uint8_t> m_key1, m_key2;
};
}