aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/mac/poly1305/poly1305.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2015-02-28 00:16:53 +0000
committerlloyd <[email protected]>2015-02-28 00:16:53 +0000
commit2a4161c4ecb67d184d8e51d32a36aba171897139 (patch)
tree224ab3c981e049dc81613c35ab4239810389bd75 /src/lib/mac/poly1305/poly1305.cpp
parent699fc65b0374d5276bd2065f7f64d9278ab25a16 (diff)
Wrong function
Diffstat (limited to 'src/lib/mac/poly1305/poly1305.cpp')
-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());
}
}