Skip to content

Tinycrypt SHA256 test blocks at test vector 13 and 14 with microkernel #2637

@zephyrbot

Description

@zephyrbot

Reported by ethan gao:

When test tinycrypt sha256 using test_sha256 underneath tests/crypto of zephyr, the test blocks at test vector 13 and the same to the test vector 14.

[How to reproduce]

  1. checkout zephyr project and cd tests/crypto/test_sha256
  2. run "make pristine && make BOARD=quark_se_c1000_devboard flash"
  3. watch the serial output

[Error log]
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:

PASS - test_9.
SHA256 test #10:

PASS - test_10.
SHA256 test #11:

PASS - test_11.
SHA256 test #12:

PASS - test_12.
SHA256 test #13:

(Imported from Jira ZEP-1142)

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

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions