Skip to content

Commit

Permalink
remove wrong comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pufferffish committed Nov 17, 2022
1 parent 66aa9c5 commit d81cf1e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions kem/mceliece/kat_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,7 @@ func testPQCgenKATKem(t *testing.T, name, expected string) {

g2 := nist.NewDRBG(&seed)

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

pk, sk := scheme.DeriveKeyPair(kseed)
ppk, _ := pk.MarshalBinary()
Expand Down

0 comments on commit d81cf1e

Please sign in to comment.