- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for 27742317777372353535 (0.07 sec)
-
lib/fips140/v1.0.0-c2097c7c.zip
else if s != scOne { t.Errorf("SetCanonicalBytes modified its receiver") } else if out != nil { t.Errorf("SetCanonicalBytes did not return nil with an error") } } func TestScalarSetUniform(t *testing.T) { mod, _ := new(big.Int).SetString("27742317777372353535", 10) mod.Add(mod, new(big.Int).Lsh(big.NewInt(1), 252)) f := func(in [64]byte, sc Scalar) bool { sc.SetUniformBytes(in[:]) repr := sc.Bytes() if !isReduced(repr) { return false } scBig := bigIntFromLittleEndi(repr[:]) inBig := bigIntFromLittleEndi(in[:])...Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Sep 25 19:53:19 UTC 2025 - 642.7K bytes - Viewed (0) -
lib/fips140/v1.1.0-rc1.zip
b := scMinusOne.Bytes() b[0] += 1 expectReject(b) b = scMinusOne.Bytes() b[31] += 1 expectReject(b) b = scMinusOne.Bytes() b[31] |= 0b1000_0000 expectReject(b) } func TestScalarSetUniform(t *testing.T) { mod, _ := new(big.Int).SetString("27742317777372353535", 10) mod.Add(mod, new(big.Int).Lsh(big.NewInt(1), 252)) f := func(in [64]byte, sc Scalar) bool { sc.SetUniformBytes(in[:]) repr := sc.Bytes() if !isReduced(repr) { return false } scBig := bigIntFromLittleEndi(repr[:]) inBig := bigIntFromLittleEndi(in[:])...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 16:27:41 UTC 2025 - 663K bytes - Viewed (0)