aboutsummaryrefslogtreecommitdiffstats
path: root/src/stream/turing/turing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream/turing/turing.cpp')
-rw-r--r--src/stream/turing/turing.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/stream/turing/turing.cpp b/src/stream/turing/turing.cpp
index 159c262fd..bfb2166d8 100644
--- a/src/stream/turing/turing.cpp
+++ b/src/stream/turing/turing.cpp
@@ -300,12 +300,12 @@ void Turing::set_iv(const byte iv[], u32bit length)
*/
void Turing::clear()
{
- S0.clear();
- S1.clear();
- S2.clear();
- S3.clear();
+ zeroise(S0);
+ zeroise(S1);
+ zeroise(S2);
+ zeroise(S3);
- buffer.clear();
+ zeroise(buffer);
position = 0;
}