Home
last modified time | relevance | path

Searched refs:TC_FAIL (Results 1 – 13 of 13) sorted by relevance

/mcuboot-3.7.0/ext/tinycrypt/tests/
Dtest_ctr_prng.c298 result = TC_FAIL; in executePRNG_TestVector()
330 result = TC_FAIL; in test_reseed()
337 result = TC_FAIL; in test_reseed()
346 result = TC_FAIL; in test_reseed()
352 result = TC_FAIL; in test_reseed()
364 result = TC_FAIL; in test_reseed()
373 result = TC_FAIL; in test_reseed()
386 result = TC_FAIL; in test_reseed()
395 result = TC_FAIL; in test_reseed()
402 if (TC_FAIL == result) { in test_reseed()
[all …]
Dtest_aes.c96 result = TC_FAIL; in test_1()
135 result = TC_FAIL; in test_2()
158 if (result != TC_FAIL) { in var_text_test()
161 result = TC_FAIL; in var_text_test()
1088 if (result == TC_FAIL) { in test_3()
2028 if (result == TC_FAIL) { in test_4()
2049 if (result == TC_FAIL) { /* terminate test */ in main()
2054 if (result == TC_FAIL) { /* terminate test */ in main()
2059 if (result == TC_FAIL) { /* terminate test */ in main()
2065 if (result == TC_FAIL) { /* terminate test */ in main()
Dtest_ccm_mode.c90 result = TC_FAIL; in do_test()
99 result = TC_FAIL; in do_test()
110 result = TC_FAIL; in do_test()
121 result = TC_FAIL; in do_test()
393 result = TC_FAIL; in test_vector_7()
402 result = TC_FAIL; in test_vector_7()
413 result = TC_FAIL; in test_vector_7()
457 result = TC_FAIL; in test_vector_8()
466 result = TC_FAIL; in test_vector_8()
477 result = TC_FAIL; in test_vector_8()
[all …]
Dtest_ecc_dh.c103 result = TC_FAIL; in ecdh_vectors()
110 if (result == TC_FAIL) { in ecdh_vectors()
239 if(result == TC_FAIL) { in cavp_ecdh()
297 if(result == TC_FAIL) { in cavp_keygen()
323 result = TC_FAIL; in pkv_vectors()
354 if(result == TC_FAIL) { in pkv_vectors()
439 result = TC_FAIL; in montecarlo_ecdh()
445 result = TC_FAIL; in montecarlo_ecdh()
451 result = TC_FAIL; in montecarlo_ecdh()
493 if (result == TC_FAIL) { /* terminate test */ in main()
[all …]
Dtest_cmac_mode.c95 return TC_FAIL; in verify_gf_2_128_double()
103 return TC_FAIL; in verify_gf_2_128_double()
111 return TC_FAIL; in verify_gf_2_128_double()
138 return TC_FAIL; in verify_cmac_null_msg()
170 return TC_FAIL; in verify_cmac_1_block_msg()
205 return TC_FAIL; in verify_cmac_320_bit_msg()
243 return TC_FAIL; in verify_cmac_512_bit_msg()
273 if (result == TC_FAIL) { in main()
280 if (result == TC_FAIL) { in main()
287 if (result == TC_FAIL) { in main()
[all …]
Dtest_ctr_mode.c93 result = TC_FAIL; in test_1_and_2()
99 result = TC_FAIL; in test_1_and_2()
111 result = TC_FAIL; in test_1_and_2()
117 result = TC_FAIL; in test_1_and_2()
140 if (result == TC_FAIL) { /* terminate test */ in main()
Dtest_ecc_dsa.c114 result = TC_FAIL; in sign_vectors()
136 result = TC_FAIL; in sign_vectors()
144 if(result == TC_FAIL) { in sign_vectors()
148 if(result == TC_FAIL) { in sign_vectors()
372 result = TC_FAIL; in vrfy_vectors()
381 result = TC_FAIL; in vrfy_vectors()
424 if(result == TC_FAIL) { in vrfy_vectors()
614 return TC_FAIL; in montecarlo_signverify()
619 return TC_FAIL; in montecarlo_signverify()
624 return TC_FAIL; in montecarlo_signverify()
[all …]
Dtest_sha256.c420 if (result == TC_FAIL) { in main()
426 if (result == TC_FAIL) { in main()
432 if (result == TC_FAIL) { in main()
438 if (result == TC_FAIL) { in main()
444 if (result == TC_FAIL) { in main()
450 if (result == TC_FAIL) { in main()
456 if (result == TC_FAIL) { in main()
462 if (result == TC_FAIL) { in main()
468 if (result == TC_FAIL) { in main()
474 if (result == TC_FAIL) { in main()
[all …]
Dtest_hmac.c315 if (result == TC_FAIL) { in main()
321 if (result == TC_FAIL) { in main()
327 if (result == TC_FAIL) { in main()
333 if (result == TC_FAIL) { in main()
339 if (result == TC_FAIL) { in main()
345 if (result == TC_FAIL) { in main()
351 if (result == TC_FAIL) { in main()
Dtest_cbc_mode.c123 result = TC_FAIL; in test_1_and_2()
141 result = TC_FAIL; in test_1_and_2()
164 if (result == TC_FAIL) { in main()
Dtest_hmac_prng.c102 result = TC_FAIL; in main()
111 result = TC_FAIL; in main()
120 result = TC_FAIL; in main()
Dtest_ecc_utils.c195 return TC_FAIL; in check_ecc_result()
210 return TC_FAIL; in check_code()
258 if (result == TC_FAIL) { in keygen_vectors()
262 if (result == TC_FAIL) { in keygen_vectors()
266 if (result == TC_FAIL) { in keygen_vectors()
/mcuboot-3.7.0/ext/tinycrypt/tests/include/
Dtest_utils.h59 #define TC_FAIL 1 macro
116 result = TC_FAIL; in check_result()
119 result = TC_FAIL; in check_result()