Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fieldInfinityNorm (0.08 sec)

  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...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:27:41 UTC 2025
    - 663K bytes
    - Viewed (0)
Back to top