tests: tinycrypt: do not use TC_START for debugging

TC_START is used to evaluate output of tests and is used internally by
ztest when a test starts, no need to call this manually here.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2023-04-04 11:48:24 +00:00 committed by Carles Cufí
commit 693e9915fd
8 changed files with 0 additions and 9 deletions

View file

@ -104,8 +104,6 @@ const uint8_t ciphertext[80] = {
ZTEST(tinycrypt, test_cbc_sp_800_38a_encrypt_decrypt)
{
TC_START("Performing AES128 tests:");
TC_PRINT("Performing CBC tests:\n");
struct tc_aes_key_sched_struct a;

View file

@ -265,7 +265,6 @@ ZTEST(tinycrypt, test_cmac_mode)
};
uint8_t K1[BUF_LEN], K2[BUF_LEN];
TC_START("Performing CMAC tests:");
(void) tc_cmac_setup(&state, key, &sched);
result = verify_gf_2_128_double(K1, K2, state);

View file

@ -51,7 +51,6 @@
*/
void test_ctr_sp_800_38a_encrypt_decrypt(void)
{
TC_START("Performing AES128-CTR mode tests:");
TC_PRINT("Performing CTR tests:\n");

View file

@ -544,7 +544,6 @@ ZTEST(tinycrypt, test_ctr_prng_vector)
int rc;
int i;
TC_START("Performing CTR-PRNG tests:");
elements = (int)sizeof(vectors) / sizeof(vectors[0]);
for (i = 0; i < elements; i++) {

View file

@ -450,7 +450,6 @@ ZTEST(tinycrypt, test_ecc_dh)
{
unsigned int result = TC_PASS;
TC_START("Performing ECC-DH tests:");
/* Setup of the Cryptographically Secure PRNG. */
uECC_set_rng(&default_CSPRNG);

View file

@ -632,7 +632,6 @@ ZTEST(tinycrypt, test_ecc_dsa)
{
unsigned int result = TC_PASS;
TC_START("Performing ECC-DSA tests:");
/* Setup of the Cryptographically Secure PRNG. */
uECC_set_rng(&default_CSPRNG);

View file

@ -64,7 +64,6 @@ ZTEST(tinycrypt, test_hmac_1)
{
uint32_t result = TC_PASS;
TC_START("Performing HMAC tests (RFC4231 test vectors):");
TC_PRINT("HMAC %s:\n", __func__);

View file

@ -52,7 +52,6 @@
*/
ZTEST(tinycrypt, test_sha256_1)
{
TC_START("Performing SHA256 tests (NIST tests vectors):");
uint32_t result = TC_PASS;