Skip to content

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

@zephyrbot

Description

@zephyrbot

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: SecuritySecuritybugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bug

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions