Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/crypto/ecc_dsa hangs in montecarlo_signverify test on nrf51_pca10028:arm #8208

Closed
pswarnak opened this issue Jun 6, 2018 · 1 comment
Assignees
Labels
area: Crypto / RNG bug The issue is a bug, or the PR is fixing a bug platform: nRF Nordic nRFx priority: low Low impact/importance bug

Comments

@pswarnak
Copy link
Contributor

pswarnak commented Jun 6, 2018

The test tests/crypto/ecc_dsa hangs on nrf51_pca10028.

Arch: arm
Board: nrf51_pca10028
Zephyr version: commit 265f502.

Error Console Log:

***** delaying boot 1000ms (per build configuration) *****
***** Booting Zephyr OS v1.12.0-rc2-119-g265f502 (delayed boot 1000ms) *****
Running test suite test_xip_fn
===================================================================
starting test - test_ecc_dsa
starting test - Performing ECC-DSA tests:
Performing cavp_sign test:
Test #1: ECDSAsign NIST-p256, SHA2-256
  Vector #00 check sig.r - success
  Vector #00 check sig.s - success
  Vector #01 check sig.r - success
  Vector #01 check sig.s - success
  Vector #02 check sig.r - success
  Vector #02 check sig.s - success
  Vector #03 check sig.r - success
  Vector #03 check sig.s - success
  Vector #04 check sig.r - success
  Vector #04 check sig.s - success
  Vector #05 check sig.r - success
  Vector #05 check sig.s - success
  Vector #06 check sig.r - success
  Vector #06 check sig.s - success
  Vector #07 check sig.r - success
  Vector #07 check sig.s - success
  Vector #08 check sig.r - success
  Vector #08 check sig.s - success
  Vector #09 check sig.r - success
  Vector #09 check sig.s - success
  Vector #10 check sig.r - success
  Vector #10 check sig.s - success
  Vector #11 check sig.r - success
  Vector #11 check sig.s - success
  Vector #12 check sig.r - success
  Vector #12 check sig.s - success
  Vector #13 check sig.r - success
  Vector #13 check sig.s - success
  Vector #14 check sig.r - success
  Vector #14 check sig.s - success
Performing cavp_verify test:
  Vector #00 check - success (3=3)
  Vector #01 check - success (2=2)
  Vector #02 check - success (4=4)
  Vector #03 check - success (0=0)
  Vector #04 check - success (0=0)
  Vector #05 check - success (2=2)
  Vector #06 check - success (4=4)
  Vector #07 check - success (1=1)
  Vector #08 check - success (3=3)
  Vector #09 check - success (2=2)
  Vector #10 check - success (3=3)
  Vector #11 check - success (1=1)
  Vector #12 check - success (4=4)
  Vector #13 check - success (1=1)
  Vector #14 check - success (0=0)
Performing montecarlo_signverify test:
.....

Steps to reproduce:

cd zephyr/tests/crypto/ecc_dsa/
rm -rf build && mkdir build && cd build
cmake -D BOARD=nrf51_pca10028 ../
make BOARD=nrf51_pca10028 flash

Check the console log.

Additional Information:
Test hangs in montecarlo_signverify function.

@pswarnak pswarnak changed the title tests/crypto/ecc_dsa tests/crypto/ecc_dsa hangs in montecarlo_signverify test on nrf51_pca10028:arm Jun 6, 2018
@nashif nashif added bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug labels Jun 6, 2018
@galak galak added the platform: nRF Nordic nRFx label Jan 16, 2019
@nashif
Copy link
Member

nashif commented Jan 30, 2019

tests/crypto/ecc_dsa does not exist anymore.

@nashif nashif closed this as completed Jan 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Crypto / RNG bug The issue is a bug, or the PR is fixing a bug platform: nRF Nordic nRFx priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

5 participants