1Title: test_aes_ccm 2 3Description: 4 5This test verifies that the TinyCrypt AES APIs operate as expected. 6 7-------------------------------------------------------------------------------- 8Building and Running Project: 9 10This project outputs to the console. It can be built and executed 11on QEMU as follows: 12 13 make run 14 15-------------------------------------------------------------------------------- 16 17Troubleshooting: 18 19Problems caused by out-dated project information can be addressed by 20issuing one of the following commands then rebuilding the project: 21 22 make clean # discard results of previous builds 23 # but keep existing configuration info 24or 25 make pristine # discard results of previous builds 26 # and restore pre-defined configuration info 27 28-------------------------------------------------------------------------------- 29 30Sample Output: 31tc_start() - Performing CCM tests: 32Performing CCM test #1 (RFC 3610 test vector #1): 33=================================================================== 34PASS - do_test. 35Performing CCM test #2 (RFC 3610 test vector #2): 36=================================================================== 37PASS - do_test. 38Performing CCM test #3 (RFC 3610 test vector #3): 39=================================================================== 40PASS - do_test. 41Performing CCM test #4 (RFC 3610 test vector #7): 42=================================================================== 43PASS - do_test. 44Performing CCM test #5 (RFC 3610 test vector #8): 45=================================================================== 46PASS - do_test. 47Performing CCM test #6 (RFC 3610 test vector #9): 48=================================================================== 49PASS - do_test. 50Performing CCM test #7 (no associated data): 51=================================================================== 52PASS - test_ccm_vector_7. 53Performing CCM test #8 (no payload data): 54=================================================================== 55PASS - test_ccm_vector_8. 56All CCM tests succeeded! 57=================================================================== 58PASS - main. 59=================================================================== 60PROJECT EXECUTION SUCCESSFUL 61