Skip to content
Snippets Groups Projects
Verified Commit d80a482c authored by Minyong Li's avatar Minyong Li :speech_balloon:
Browse files

core.QuarterRoundTest: fix comb test vector use

parent d7827bd8
No related branches found
No related tags found
No related merge requests found
...@@ -34,12 +34,11 @@ class QuarterRoundTest extends FlatSpec with ChiselScalatestTester { ...@@ -34,12 +34,11 @@ class QuarterRoundTest extends FlatSpec with ChiselScalatestTester {
behavior of "The Combinational Quarter Round" behavior of "The Combinational Quarter Round"
private def testCombinationalQuarterRound( private def testCombinationalQuarterRound(tv: TestVector): Unit =
testVector: Seq[(UInt, UInt)] test(new CombinationalQuarterRound) { c =>
): Unit = test(new CombinationalQuarterRound) { c => poke(c, tv)
poke(c, testVectorRFC8439211) expect(c, tv)
expect(c, testVectorRFC8439211) }
}
it should "pass RFC8439 2.1.1 test vector" in it should "pass RFC8439 2.1.1 test vector" in
testCombinationalQuarterRound(testVectorRFC8439211) testCombinationalQuarterRound(testVectorRFC8439211)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment