Skip to content

Commit 2386ca6

Browse files
author
Ben Taylor
committed
Correct style issue in test_suite_pk
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
1 parent 0c2e8cc commit 2386ca6

1 file changed

Lines changed: 14 additions & 5 deletions

File tree

tests/suites/test_suite_pk.function

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,10 +1164,19 @@ exit:
11641164
/* END_CASE */
11651165

11661166
/* BEGIN_CASE depends_on:MBEDTLS_ECP_RESTARTABLE:PSA_ALG_DETERMINISTIC_ECDSA */
1167-
void pk_sign_verify_restart(int pk_type, int grp_id, data_t *d_str,
1168-
char *QX_str, char *QY_str,
1169-
int md_alg, data_t *hash, data_t *sig_check,
1170-
int max_ops, int min_restart, int max_restart, int pub_key_test, int sign_ret)
1167+
void pk_sign_verify_restart(int pk_type,
1168+
int grp_id,
1169+
data_t *d_str,
1170+
char *QX_str,
1171+
char *QY_str,
1172+
int md_alg,
1173+
data_t *hash,
1174+
data_t *sig_check,
1175+
int max_ops,
1176+
int min_restart,
1177+
int max_restart,
1178+
int pub_key_test,
1179+
int sign_ret)
11711180
{
11721181
int ret, cnt_restart;
11731182
mbedtls_pk_restart_ctx rs_ctx;
@@ -1214,7 +1223,7 @@ void pk_sign_verify_restart(int pk_type, int grp_id, data_t *d_str,
12141223
&rs_ctx);
12151224
} while (ret == MBEDTLS_ERR_ECP_IN_PROGRESS && ++cnt_restart);
12161225
}
1217-
if(ret != PSA_SUCCESS) {
1226+
if (ret != PSA_SUCCESS) {
12181227
TEST_ASSERT(ret == sign_ret);
12191228
goto exit;
12201229
}

0 commit comments

Comments
 (0)