zephyr/tests/crypto/test_sha256
Anas Nashif 7d76e9619b ext: move tinycrypt to ext/lib
Tinycrypt is maintained at github and thus should be treated as an
external library and hosted under ext/.

Change-Id: I4c4a3bcdacf01d4922919e5ea1f9dec21a19cd37
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-06-01 14:27:41 -04:00
..
src ext: move tinycrypt to ext/lib 2016-06-01 14:27:41 -04: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 arc: support microkernel on ARC 2016-05-25 22:14:18 -04:00

README.txt

Title: test_sha256

Description:

This test verifies that the TinyCrypt SHA256 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 SHA256 tests (NIST tests vectors):
SHA256 test #1:
===================================================================
PASS - test_1.
SHA256 test #2:
===================================================================
PASS - test_2.
SHA256 test #3:
===================================================================
PASS - test_3.
SHA256 test #4:
===================================================================
PASS - test_4.
SHA256 test #5:
===================================================================
PASS - test_5.
SHA256 test #6:
===================================================================
PASS - test_6.
SHA256 test #7:
===================================================================
PASS - test_7.
SHA256 test #8:
===================================================================
PASS - test_8.
SHA256 test #9:
===================================================================
PASS - test_9.
SHA256 test #10:
===================================================================
PASS - test_10.
SHA256 test #11:
===================================================================
PASS - test_11.
SHA256 test #12:
===================================================================
PASS - test_12.
SHA256 test #13:
===================================================================
PASS - test_13.
SHA256 test #14:
===================================================================
PASS - test_14.
All SHA256 tests succeeded!
===================================================================
PASS - mainloop.
===================================================================
PROJECT EXECUTION SUCCESSFUL