- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for resetToBytes (0.07 sec)
-
lib/fips140/v1.0.0.zip
through timing side-channels. func NewModulus(b []byte) (*Modulus, error) { n := NewNat().resetToBytes(b) return newModulus(n) } // NewModulusProduct creates a new Modulus from the product of two numbers // represented as big-endian byte slices. The result must be greater than one. // //go:norace func NewModulusProduct(a, b []byte) (*Modulus, error) { x := NewNat().resetToBytes(a) y := NewNat().resetToBytes(b) n := NewNat().reset(len(x.limbs) + len(y.limbs)) for i := range y.limbs { n.limbs[i+len(x.limbs)]...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)