1Title: test_hmac_prng 2 3Description: 4 5This test verifies that the TinyCrypt PRNG 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 HMAC-PRNG tests: 32HMAC-PRNG test#1 (init, reseed, generate): 33HMAC-PRNG test#1 (init): 34=================================================================== 35PASS - main. 36HMAC-PRNG test#1 (reseed): 37=================================================================== 38PASS - main. 39HMAC-PRNG test#1 (generate): 40=================================================================== 41PASS - main. 42All HMAC tests succeeded! 43=================================================================== 44PASS - main. 45=================================================================== 46PROJECT EXECUTION SUCCESSFUL 47