Administrator approval is now required for registering new accounts. If you are registering a new account, and are external to the University, please ask the repository owner to contact ServiceLine to request your account be approved. Repository owners must include the newly registered email address, and specific repository in the request for approval.

Verified Commit d80a482c authored by Minyong Li's avatar Minyong Li 💬
Browse files

core.QuarterRoundTest: fix comb test vector use

parent d7827bd8
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment