zephyr/tests/crypto/ecc_dh
Leandro Pereira dd740c164b tests: crypto: Do not use unitialized variable
The `z` vector was not initialized in the call to
uECC_vli_nativeToBytes(), resulting in undefined behavior.  Use the
properly initialized `exp_z` array instead.

Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
2017-08-19 07:48:07 -04:00
..
src tests: crypto: Do not use unitialized variable 2017-08-19 07:48:07 -04:00
Makefile
README.txt
prj.conf tests: ecc_dh: convert to ztest 2017-08-07 22:39:47 -04:00
testcase.yaml tests: update min ram requirements and filters 2017-08-14 13:28:42 -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