aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/xtea/xtea.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/xtea/xtea.cpp')
-rw-r--r--src/block/xtea/xtea.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/block/xtea/xtea.cpp b/src/block/xtea/xtea.cpp
index b0c976b36..165a6ea6a 100644
--- a/src/block/xtea/xtea.cpp
+++ b/src/block/xtea/xtea.cpp
@@ -138,4 +138,9 @@ void XTEA::key_schedule(const byte key[], size_t)
}
}
+void XTEA::clear()
+ {
+ zap(EK);
+ }
+
}