Fix typo in test_suite_common
@@ -74,9 +74,9 @@ void mbedtls_xor( int len )
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 );
