Fix code style
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
diff --git a/tests/suites/test_suite_ctr_drbg.function b/tests/suites/test_suite_ctr_drbg.function
index 72cbf7b..5a77c1d 100644
--- a/tests/suites/test_suite_ctr_drbg.function
+++ b/tests/suites/test_suite_ctr_drbg.function
@@ -95,13 +95,13 @@
}
static const int thread_random_reps = 10;
-void *thread_random_function( void* ctx )
+void *thread_random_function(void *ctx)
{
unsigned char out[16];
memset(out, 0, sizeof(out));
- for(int i = 0; i < thread_random_reps; i++) {
- TEST_EQUAL(mbedtls_ctr_drbg_random((mbedtls_ctr_drbg_context*) ctx, out, sizeof(out)), 0);
+ for (int i = 0; i < thread_random_reps; i++) {
+ TEST_EQUAL(mbedtls_ctr_drbg_random((mbedtls_ctr_drbg_context *) ctx, out, sizeof(out)), 0);
}
exit:
@@ -382,7 +382,7 @@
for (size_t i = 0; i < THREAD_CNT; i++) {
TEST_EQUAL(
pthread_create(&threads[i], NULL,
- thread_random_function, (void*) &ctx),
+ thread_random_function, (void *) &ctx),
0);
}