aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac/x919_mac/x919_mac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mac/x919_mac/x919_mac.cpp')
-rw-r--r--src/mac/x919_mac/x919_mac.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mac/x919_mac/x919_mac.cpp b/src/mac/x919_mac/x919_mac.cpp
index 42e039d60..f0c2419fa 100644
--- a/src/mac/x919_mac/x919_mac.cpp
+++ b/src/mac/x919_mac/x919_mac.cpp
@@ -46,7 +46,7 @@ void ANSI_X919_MAC::final_result(byte mac[])
e->encrypt(state);
d->decrypt(state, mac);
e->encrypt(mac);
- state.clear();
+ zeroise(state);
position = 0;
}
@@ -67,7 +67,7 @@ void ANSI_X919_MAC::clear()
{
e->clear();
d->clear();
- state.clear();
+ zeroise(state);
position = 0;
}