aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/mac/poly1305/poly1305.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/mac/poly1305/poly1305.cpp b/src/lib/mac/poly1305/poly1305.cpp
index 5241afcd7..01f84cb32 100644
--- a/src/lib/mac/poly1305/poly1305.cpp
+++ b/src/lib/mac/poly1305/poly1305.cpp
@@ -135,7 +135,7 @@ void poly1305_finish(secure_vector<u64bit>& X, byte mac[16])
store_le(&mac[0], h0, h1);
/* zero out the state */
- zero_mem(&X[0], X.size());
+ clear_mem(&X[0], X.size());
}
}