Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestZetas (0.06 sec)

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

    out of range", x, gotR1) } default: t.Fatalf("unsupported denγ2: %d", p.γ2) } if uint32(gotR1) != r1 { t.Fatalf("highBits(%d) = %d, expected %d", x, gotR1, r1) } if gotR0 != r0 { t.Fatalf("lowBits(%d) = %d, expected %d", x, gotR0, r0) } } } func TestZetas(t *testing.T) { ζ := big.NewInt(1753) q := big.NewInt(q) for k, zeta := range zetas { // ζ^BitRev₈(k) mod q exp := new(big.Int).Exp(ζ, big.NewInt(int64(BitRev8(uint8(k)))), q) got := fieldFromMontgomery(zeta) if big.NewInt(int64(got)).Cmp(exp) !=...
    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