- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for millerRabinSetup (1.72 sec)
-
lib/fips140/v1.0.0.zip
0x59, 0xa4, 0xa1, 0x1d, 0xe4, 0x9f, 0x7e, 0xcb, 0x29, 0xba, 0xda, 0x8f, 0x98, 0x0d, 0xec, 0xec, 0xe9, 0x2e, 0x30, 0xc4, 0x8f, } type millerRabin struct { w *bigmod.Modulus a uint m []byte } // millerRabinSetup prepares state that's reused across multiple 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()...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)