zephyr/tests/crypto/aes
Niranjhana N 851314ba8e tests: aes: convert to ztest
- replaced test points with ztest APIs wherever possible
- replaced CONFIG_MAIN_STACK_SIZE with CONFIG_ZTEST_STACKSIZE
  in the config file
- split the main file into two files:
    - main.c has ztest entry and runs separate functions for ztest
    - aes.c has the original routines

JIRA: ZEP-2449

Signed-off-by: Niranjhana N <niranjhana.n@intel.com>
2017-08-07 22:39:47 -04:00
..
src tests: aes: convert to ztest 2017-08-07 22:39:47 -04:00
Makefile tests: rename test directory test_aes -> aes 2017-06-17 10:34:24 -04:00
README.txt tests: rename test directory test_aes -> aes 2017-06-17 10:34:24 -04:00
prj.conf tests: aes: convert to ztest 2017-08-07 22:39:47 -04:00
testcase.yaml tests: remove build_only tag 2017-07-05 12:43:13 -04:00

README.txt

Title: test_aes

Description:

This test verifies that the TinyCrypt AES 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 AES128 tests:
AES128 test_1 (NIST key schedule test):
===================================================================
PASS - test_1.
AES128 test_2 (NIST encryption test):
===================================================================
PASS - test_2.
AES128 test_3 (NIST fixed-key and variable-text):
===================================================================
PASS - test_3.
AES128 test #4 (NIST variable-key and fixed-text):
===================================================================
PASS - test_4.
All AES128 tests succeeded!
===================================================================
PASS - RegressionTask.
===================================================================
PROJECT EXECUTION SUCCESSFUL