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

Tinycrypt SHA256 test fails with system crash using unified kernel type #2636

Closed
zephyrbot opened this issue Oct 27, 2016 · 2 comments
Closed
Labels
area: Security Security bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug
Milestone

Comments

@zephyrbot
Copy link
Collaborator

zephyrbot commented Oct 27, 2016

Reported by ethan gao:

To validate SHA256 support using test_sha256 underneath tests/crypto of Zephyr, system crashes while test vector 9 starts to run. please reproduce with the following build command:

make pristine && make BOARD=quark_se_c1000_devboard KERNEL_TYPE=unified flash

and the following is the error details:

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:
================================***** CPU exception 13
***** Exception code: 0x0000126c
Current thread ID = 0xa8011384
Faulting segment:address = 0x00000008:0x40031a56
eax: 0xa8011288, ebx: 0x0000003d, ecx: 0xa8011278, edx: 0x4003220c
esi: 0xa80112c4, edi: 0x0000003d, ebp: 0a8011288, esp: 0xa801127c
eflags: 0x00010002
Fatal task error! Aborting task.

(Imported from Jira ZEP-1141)

@zephyrbot
Copy link
Collaborator Author

by ethan gao:

Verified, it works with patch https://gerrit.zephyrproject.org/r/#/c/6209/2

@zephyrbot
Copy link
Collaborator Author

by Mark Linkmeyer:

Correcting the priority field

@zephyrbot zephyrbot added priority: medium Medium impact/importance bug area: Security Security bug The issue is a bug, or the PR is fixing a bug labels Sep 23, 2017
@zephyrbot zephyrbot added this to the v1.6.0 milestone Sep 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Security Security bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug
Projects
None yet
Development

No branches or pull requests

1 participant