- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for randomRingElement (0.14 sec)
-
lib/fips140/v1.0.0.zip
uint8(d)) result := decompress(uint16(n), 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,...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)