aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/xtea/xtea.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/xtea/xtea.h')
-rw-r--r--src/block/xtea/xtea.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/block/xtea/xtea.h b/src/block/xtea/xtea.h
index b16cdf555..d15108939 100644
--- a/src/block/xtea/xtea.h
+++ b/src/block/xtea/xtea.h
@@ -27,6 +27,12 @@ class BOTAN_DLL XTEA : public BlockCipher
XTEA() : BlockCipher(8, 16) {}
protected:
+ /**
+ * @return const reference to the key schedule
+ */
+ const SecureVector<u32bit, 64>& get_EK() const { return EK; }
+
+ private:
void key_schedule(const byte[], u32bit);
SecureVector<u32bit, 64> EK;
};