zephyr/tests/crypto/ecc_dh
Leandro Pereira e2ad85b696 tests: crypto: Update ECC Diffie-Hellman and DSA tests
These tests have been copied over from TinyCrypt and modified slightly
so that they compile on a non-POSIX system, with a minimal C library:
that's why it doesn't comply with Zephyr's coding style.

Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-08-01 10:35:06 -04:00
..
src tests: crypto: Update ECC Diffie-Hellman and DSA tests 2017-08-01 10:35:06 -04:00
Makefile
README.txt
prj.conf
testcase.yaml tests: crypto: include back riscv32 arch for ecc_dh, ecc_dsa and mbedtls 2017-06-30 06:31:51 -04:00

README.txt

Title: test_ecc_dh

Description:

This test verifies that the TinyCrypt ECC DH 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() - TinyCrypt ECC DH tests
[PASS] Test #1: ECDH - NIST-p256
[PASS] Test #2: ECC KeyGen - NIST-p256
[PASS] Test #3: PubKeyVerify - NIST-p256-SHA2-256
[PASS] Test #4: Monte Carlo (Randomized EC-DH key-exchange) - NIST-p256

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