From 68b6d88f5e574fedbb1a379a40831473182bac58 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Sat, 8 Sep 2012 14:04:13 +0000
Subject: [PATCH] - Clear all memory
---
tests/suites/test_suite_gcm.function | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/suites/test_suite_gcm.function b/tests/suites/test_suite_gcm.function
index 17d3c1bf6..0a854e231 100644
--- a/tests/suites/test_suite_gcm.function
+++ b/tests/suites/test_suite_gcm.function
@@ -23,7 +23,7 @@ gcm_encrypt_and_tag:hex_key_string:hex_src_string:hex_iv_string:hex_add_string:h
memset(key_str, 0x00, 128);
memset(src_str, 0x00, 128);
- memset(dst_str, 0x00, 256);
+ memset(dst_str, 0x00, 257);
memset(iv_str, 0x00, 128);
memset(add_str, 0x00, 128);
memset(tag_str, 0x00, 128);
@@ -65,7 +65,7 @@ gcm_decrypt_and_verify:hex_key_string:hex_src_string:hex_iv_string:hex_add_strin
memset(key_str, 0x00, 128);
memset(src_str, 0x00, 128);
- memset(dst_str, 0x00, 256);
+ memset(dst_str, 0x00, 257);
memset(iv_str, 0x00, 128);
memset(add_str, 0x00, 128);
memset(tag_str, 0x00, 128);