- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestEncodeDecode (1.01 sec)
-
lib/fips140/v1.0.0-c2097c7c.zip
uint8(d)) if result != expected { t.Errorf("decompress(%d, %d): got %d, expected %d", n, d, result, expected) } } } } func randomRingElement() ringElement { var r ringElement for i := range r { r[i] = fieldElement(mathrand.IntN(q)) } return r } func TestEncodeDecode(t *testing.T) { f := randomRingElement() b := make([]byte, 12*n/8) rand.Read(b) // Compare ringCompressAndEncod to ringCompressAndEncod. e1 := ringCompressAndEncod(nil, f, 10) e2 := ringCompressAndEncod(nil, f) if !bytes.Equal(e1, e2) { t.Er...Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Sep 25 19:53:19 UTC 2025 - 642.7K bytes - Viewed (0) -
lib/fips140/v1.1.0-rc1.zip
uint8(d)) if result != expected { t.Errorf("decompress(%d, %d): got %d, expected %d", n, d, result, expected) } } } } func randomRingElement() ringElement { var r ringElement for i := range r { r[i] = fieldElement(mathrand.IntN(q)) } return r } func TestEncodeDecode(t *testing.T) { f := randomRingElement() b := make([]byte, 12*n/8) rand.Read(b) // Compare ringCompressAndEncod to ringCompressAndEncod. e1 := ringCompressAndEncod(nil, f, 10) e2 := ringCompressAndEncod(nil, f) if !bytes.Equal(e1, e2) { t.Er...Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 16:27:41 UTC 2025 - 663K bytes - Viewed (0)