Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Minyong Li
Can
Commits
d80a482c
Verified
Commit
d80a482c
authored
Aug 22, 2021
by
Minyong Li
💬
Browse files
core.QuarterRoundTest: fix comb test vector use
parent
d7827bd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/scala/uk/ac/soton/ecs/can/core/QuarterRoundTest.scala
View file @
d80a482c
...
...
@@ -34,12 +34,11 @@ class QuarterRoundTest extends FlatSpec with ChiselScalatestTester {
behavior
of
"The Combinational Quarter Round"
private
def
testCombinationalQuarterRound
(
testVector
:
Seq
[(
UInt
,
UInt
)]
)
:
Unit
=
test
(
new
CombinationalQuarterRound
)
{
c
=>
poke
(
c
,
testVectorRFC8439211
)
expect
(
c
,
testVectorRFC8439211
)
}
private
def
testCombinationalQuarterRound
(
tv
:
TestVector
)
:
Unit
=
test
(
new
CombinationalQuarterRound
)
{
c
=>
poke
(
c
,
tv
)
expect
(
c
,
tv
)
}
it
should
"pass RFC8439 2.1.1 test vector"
in
testCombinationalQuarterRound
(
testVectorRFC8439211
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment