zephyr/tests/crypto/test_cmac_mode
Kumar Gala 7dcbbc39e7 build: move from srctree to ZEPHYR_BASE for app include paths
$srctree for the application might not be set to be $ZEPHYR_BASE, use
$ZEPHYR_BASE instead to be more explicit in the build.

Change-Id: Iefa5ff59f246b584949329044f7a6531adc6ed62
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2016-06-30 14:36:39 +00:00
..
src build: move from srctree to ZEPHYR_BASE for app include paths 2016-06-30 14:36:39 +00:00
Makefile samples: get rid of obsolete usage of ARCH variable 2016-05-12 10:57:28 +00:00
README.txt tests: move crypto tests to tests/crypto 2016-02-11 18:00:35 +00:00
prj.conf samples: get rid of obsolete usage of ARCH variable 2016-05-12 10:57:28 +00:00
prj.mdef tests: move crypto tests to tests/crypto 2016-02-11 18:00:35 +00:00
testcase.ini testcases: sanity check TCs get more language for real HW 2016-06-14 23:49:56 +00:00

README.txt

Title: test_aes_cmac

Description:

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

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

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

    make qemu

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

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 CMAC tests:
Performing CMAC test #1 (GF(2^128) double):
===================================================================
PASS - verify_gf_2_128_double.
Performing CMAC test #2 (SP 800-38B test vector #1):
===================================================================
PASS - verify_cmac_null_msg.
Performing CMAC test #3 (SP 800-38B test vector #2):
===================================================================
PASS - verify_cmac_1_block_msg.
Performing CMAC test #4 (SP 800-38B test vector #3):
===================================================================
PASS - verify_cmac_320_bit_msg.
Performing CMAC test #5 (SP 800-38B test vector #4)
===================================================================
PASS - verify_cmac_512_bit_msg.
All CMAC tests succeeded!
===================================================================
PASS - mainloop.
===================================================================
PROJECT EXECUTION SUCCESSFUL