Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for wm (0.03 sec)

  1. lib/fips140/v1.0.0.zip

    iterations of // the Miller-Rabin test. func millerRabinSetup(w []byte) (*millerRabin, error) { mr := &millerRabin{} // Check that w is odd, and precompute Montgomery parameters. wm, err := bigmod.NewModulus(w) if err != nil { return nil, err } if wm.Nat().IsOdd() == 0 { return nil, errors.New("candidate is even") } mr.w = wm // Compute m = (w-1)/2^a, where m is odd. wMinus1 := mr.w.Nat().SubOne(mr.w) if wMinus1.IsZero() == 1 { return nil, errors.New("candidate is one") } mr.a = wMinus1.TrailingZeroBitsVarT()...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
Back to top