- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for fieldInfinityNorm (0.73 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
lib/fips140/v1.26.0.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 Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:32 GMT 2026 - 660.3K bytes - Click Count (0)