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:
parent
e7af676be9
commit
693e9915fd
8 changed files with 0 additions and 9 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
|
@ -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++) {
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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__);
|
||||
|
||||
|
|
|
@ -52,7 +52,6 @@
|
|||
*/
|
||||
ZTEST(tinycrypt, test_sha256_1)
|
||||
{
|
||||
TC_START("Performing SHA256 tests (NIST tests vectors):");
|
||||
|
||||
uint32_t result = TC_PASS;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue