Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for randomRingElement (0.82 seconds)

  1. lib/fips140/v1.0.0-c2097c7c.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,...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
  2. lib/fips140/v1.1.0-rc1.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,...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Dec 11 16:27:41 GMT 2025
    - 663K bytes
    - Click Count (0)
Back to Top