Fix typo in test_suite_common
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
diff --git a/tests/suites/test_suite_common.function b/tests/suites/test_suite_common.function
index 6c0d4af..c8a7a52 100644
--- a/tests/suites/test_suite_common.function
+++ b/tests/suites/test_suite_common.function
@@ -74,9 +74,9 @@
int r_off = i & 1, a_off = (i & 2) >> 1, b_off = (i & 4) >> 2;
fill_arrays( a, b, r1, r2, n + 1 );
- for ( size_t i = 0; i < n; i++ )
+ for ( size_t j = 0; j < n; j++ )
{
- r1[i + r_off] = a[i + a_off] ^ b[i + b_off];
+ r1[j + r_off] = a[j + a_off] ^ b[j + b_off];
}
mbedtls_xor( r2 + r_off, a + a_off, b + b_off, n );
ASSERT_COMPARE( r1 + r_off, n, r2 + r_off, n );