Skip to content

Commit d81cf1e

Browse files
committed
remove wrong comment
1 parent 66aa9c5 commit d81cf1e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

kem/mceliece/kat_test.go

+1-4
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,7 @@ func testPQCgenKATKem(t *testing.T, name, expected string) {
6161

6262
g2 := nist.NewDRBG(&seed)
6363

64-
// This is not equivalent to g2.Fill(kseed[:]). As the reference
65-
// implementation calls randombytes twice generating the keypair,
66-
// we have to do that as well.
67-
g2.Fill(kseed[:32])
64+
g2.Fill(kseed)
6865

6966
pk, sk := scheme.DeriveKeyPair(kseed)
7067
ppk, _ := pk.MarshalBinary()

0 commit comments

Comments
 (0)