zephyr/tests/crypto/test_ecc_dsa
Flavio Santes 062489f873 tinycrypt: Add test case for the ECC DSA algorithm
This commit adds the test-case for the ECC DSA algorithm.

Origin: https://github.com/01org/tinycrypt/tree/v0.2.0

The code was refactored to eliminate function calls and checkpatch
errors. Furthermore, the PRNG was replaced by sys_rand32_init.
Refactoring history is available at:

Repo:	https://gitlab.com/santes/tinycrypt/tree/refactoring
Commit:	f71fc46403e90be0c54a77150e0539756d8314e7

Jira: ZEP-614
Jira: ZEP-862

Change-Id: Ief3c317f3d370a073f07307e53018991b03d9229
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2016-09-20 12:54:21 +00:00
..
src tinycrypt: Add test case for the ECC DSA algorithm 2016-09-20 12:54:21 +00:00
Makefile tinycrypt: Add test case for the ECC DSA algorithm 2016-09-20 12:54:21 +00:00
README.txt tinycrypt: Add test case for the ECC DSA algorithm 2016-09-20 12:54:21 +00:00
prj.conf tinycrypt: Add test case for the ECC DSA algorithm 2016-09-20 12:54:21 +00:00
testcase.ini tinycrypt: Add test case for the ECC DSA algorithm 2016-09-20 12:54:21 +00:00

README.txt

Title: test_ecc_dsa

Description:

This test verifies that the TinyCrypt ECC DSA 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() - TinyCrypt ECC DSA test
[PASS] Test #1: ECDSAsign - NIST-p256, SHA2-256
[PASS] Test #2: ECDSAvrfy - NIST-p256, SHA2-256
[PASS] Test #3: Monte Carlo (Randomized EC-DSA signatures) - NIST-p256, SHA2-256

All ECC-DSA tests succeeded.
===================================================================
PASS - main.
===================================================================
PROJECT EXECUTION SUCCESSFUL