aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/block/xtea/xtea.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/block/xtea/xtea.h')
-rw-r--r--src/lib/block/xtea/xtea.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/block/xtea/xtea.h b/src/lib/block/xtea/xtea.h
index 3baccc866..cf9bedc4a 100644
--- a/src/lib/block/xtea/xtea.h
+++ b/src/lib/block/xtea/xtea.h
@@ -18,8 +18,8 @@ namespace Botan {
class BOTAN_DLL XTEA : public Block_Cipher_Fixed_Params<8, 16>
{
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;
void clear() override;
std::string name() const override { return "XTEA"; }
@@ -28,11 +28,11 @@ class BOTAN_DLL XTEA : public Block_Cipher_Fixed_Params<8, 16>
/**
* @return const reference to the key schedule
*/
- const secure_vector<u32bit>& get_EK() const { return m_EK; }
+ const secure_vector<uint32_t>& get_EK() const { return m_EK; }
private:
- void key_schedule(const byte[], size_t) override;
- secure_vector<u32bit> m_EK;
+ void key_schedule(const uint8_t[], size_t) override;
+ secure_vector<uint32_t> m_EK;
};
}