zephyr/tests/crypto/tinycrypt_hmac_prng
Kumar Gala a1b77fd589 zephyr: replace zephyr integer types with C99 types
git grep -l 'u\(8\|16\|32\|64\)_t' | \
		xargs sed -i "s/u\(8\|16\|32\|64\)_t/uint\1_t/g"
	git grep -l 's\(8\|16\|32\|64\)_t' | \
		xargs sed -i "s/s\(8\|16\|32\|64\)_t/int\1_t/g"

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-06-08 08:23:57 -05:00
..
src zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
CMakeLists.txt tests: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
prj.conf tests: CONFIG_TEST_USERSPACE now off by default 2019-04-06 14:30:42 -04:00
README.txt tests: crypto: rename hmac_prng 2018-09-11 17:25:00 -04:00
testcase.yaml tests: updated names for the tests 2019-10-23 23:15:41 -04:00

Title: test_hmac_prng

Description:

This test verifies that the TinyCrypt PRNG APIs operate as expected.

--------------------------------------------------------------------------------
Building and Running Project:

This project outputs to the console.  It can be built and executed
on QEMU as follows:

    make run

--------------------------------------------------------------------------------

Troubleshooting:

Problems caused by out-dated project information can be addressed by
issuing one of the following commands then rebuilding the project:

    make clean          # discard results of previous builds
                        # but keep existing configuration info
or
    make pristine       # discard results of previous builds
                        # and restore pre-defined configuration info

--------------------------------------------------------------------------------

Sample Output:
tc_start() - Performing HMAC-PRNG tests:
HMAC-PRNG test#1 (init, reseed, generate):
HMAC-PRNG test#1 (init):
===================================================================
PASS - main.
HMAC-PRNG test#1 (reseed):
===================================================================
PASS - main.
HMAC-PRNG test#1 (generate):
===================================================================
PASS - main.
All HMAC tests succeeded!
===================================================================
PASS - main.
===================================================================
PROJECT EXECUTION SUCCESSFUL