Pass correct arguments in test
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
diff --git a/tests/suites/test_suite_bignum_mod_raw.function b/tests/suites/test_suite_bignum_mod_raw.function
index cf385e0..c510ac5 100644
--- a/tests/suites/test_suite_bignum_mod_raw.function
+++ b/tests/suites/test_suite_bignum_mod_raw.function
@@ -344,9 +344,9 @@
mbedtls_mpi_mod_raw_add( X, A, A, &m );
ASSERT_COMPARE( X, bytes, S, bytes );
- /* A + A, alias X to A => Correct result */
+ /* A + A: X, A, B all aliased together => Correct result */
memcpy( X, A, bytes );
- mbedtls_mpi_mod_raw_add( X, A, A, &m );
+ mbedtls_mpi_mod_raw_add( X, X, X, &m );
ASSERT_COMPARE( X, bytes, S, bytes );
}
else