Skip to content

Commit

Permalink
[hmac, dv] Extend multistream TLT
Browse files Browse the repository at this point in the history
Related to lowRISC#23507.

Extends the multistream HMAC test so that:
* One-shot and streaming calls are mixed.
* Streaming calls are divided into random
number of message segments [1, 4].
* The order of test vectors is randomized.

Signed-off-by: Fatih Balli <[email protected]>
  • Loading branch information
ballifatih committed Jun 22, 2024
1 parent de38ce3 commit 00c2f5c
Show file tree
Hide file tree
Showing 3 changed files with 274 additions and 44 deletions.
1 change: 1 addition & 0 deletions sw/device/tests/crypto/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@ opentitan_test(
"//sw/device/lib/base:macros",
"//sw/device/lib/crypto/impl:hash",
"//sw/device/lib/crypto/impl:mac",
"//sw/device/lib/testing:rand_testutils",
"//sw/device/lib/testing/test_framework:check",
"//sw/device/lib/testing/test_framework:ottf_main",
],
Expand Down
Loading

0 comments on commit 00c2f5c

Please sign in to comment.