From d81cf1e4c012ec5257af0d6f552501812d4bf5cf Mon Sep 17 00:00:00 2001 From: octeep Date: Thu, 17 Nov 2022 16:39:27 +0000 Subject: [PATCH] remove wrong comment --- kem/mceliece/kat_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kem/mceliece/kat_test.go b/kem/mceliece/kat_test.go index cd8030d53..81ad3dd8d 100644 --- a/kem/mceliece/kat_test.go +++ b/kem/mceliece/kat_test.go @@ -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()