Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for fieldInfinityNorm (0.11 seconds)

  1. lib/fips140/v1.1.0-rc1.zip

    for x := range uint32(q) { r, _ := fieldToMontgomery(x) got := fieldInfinityNorm(r) exp := CenteredMod(x, q) if exp < 0 { exp = -exp } if got != uint32(exp) { t.Fatalf("fieldInfinityNorm(%d) = %d, expected %d", x, got, exp) } } } func TestConstants(t *testing.T) { if fieldFromMontgomery(one) != 1 { t.Errorf("one constant incorrect") } if fieldFromMontgomery(minusOne) != q-1 { t.Errorf("minusOne constant incorrect") } if fieldInfinityNorm(one) != 1 { t.Errorf("one infinity norm incorrect") } if fie...
    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