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

ARC nsim_sem fail on tests/crypto/tinycrypt_hmac_prng test when use ARCMWDT toolchain #39392

Closed
YuguoWH opened this issue Oct 13, 2021 · 1 comment · Fixed by #39460
Closed
Assignees
Labels
area: ARC ARC Architecture bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug

Comments

@YuguoWH
Copy link
Collaborator

YuguoWH commented Oct 13, 2021

Describe the bug
ARC nsim_sem fail on tests/crypto/tinycrypt_hmac_prng test when use ARCMWDT toolchain

To Reproduce
Steps to reproduce the behavior:

  1. west build -p auto -b nsim_sem tests/crypto/tinycrypt_hmac_prng
  2. See error

Expected behavior
test should successfully execute.

Impact
protential bug in nsim_sem

Logs and console output

*** Booting Zephyr OS build v2.7.99-441-g0f53679859a1  ***
Running test suite test_hmac_prng_fn
===================================================================
START - test_hmac_prng
START - Performing HMAC-PRNG tests:
HMAC-PRNG test_1:
FAIL - fatal@53. 	Test #1 Failed!
		Expected = 76fc79fe9b50beccc991a11b5635783a83536add03c157fb30645e611c2898bb2b1bc215000209208cd506cb28da2a51bdb03826aaf2bd2335d576d519160842e7158ad0949d1a9ec3e66ea1b1a064b005de914eac2e9d4f2d72a8616a80225422918250ff66a41bd2f864a6a38cc5b6499dc43f7f2bd09e1e0f8f5885935124
		Computed   = 07177dc00a9648c391debb5ed0836fef589cb793d8b322717bdb409fa3343bc7466bdca7cc37083c5f56170235b8dfd7cf4b6caaada3e8c7a8d9e99859bdfa691b2b29f4bf17e5da6976fd8ab7497c559e5d1097a69a539cef09ca8dcac130ee53d4ab2e51b8a5451d200a804f8269de702ab391dc88fe3c0c950f844f35112a

 FAIL - test_1 in 0.132 seconds
===================================================================

    Assertion failed at /SCRATCH/yuguo/zephyrproject/zephyr/tests/crypto/tinycrypt_hmac_prng/src/hmac_prng.c:7554: test_hmac_prng: (result == TC_FAIL is true)
HMAC test 1 failed
 FAIL - test_hmac_prng in 0.138 seconds
===================================================================
Test suite test_hmac_prng_fn failed.
===================================================================
PROJECT EXECUTION FAILED

Environment (please complete the following information):

  • OS: Linux
  • Toolchain: ARC MetaWare 2021.09
@YuguoWH YuguoWH added the bug The issue is a bug, or the PR is fixing a bug label Oct 13, 2021
@YuguoWH YuguoWH self-assigned this Oct 13, 2021
@evgeniy-paltsev evgeniy-paltsev added the area: ARC ARC Architecture label Oct 13, 2021
@evgeniy-paltsev
Copy link
Collaborator

@YuguoWH please don't forget to add ARC label on issues related to ARC.

@nashif nashif added the priority: low Low impact/importance bug label Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ARC ARC Architecture bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants