- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestScalarMultNonIde (0.27 sec)
-
lib/fips140/v1.0.0.zip
p.ScalarMult(&x, B) q.ScalarMult(&y, B) r.ScalarMult(&z, B) check.Add(&p, &q) checkOnCurve(t, &p, &q, &r, &check) return check.Equal(&r) == 1 } if err := quick.Check(scalarMultDistribute, quickCheckConfig(32)); err != nil { t.Error(err) } } func TestScalarMultNonIde(t *testing.T) { // Check whether p.ScalarMult and q.ScalaBaseMult give the same, // when p and q are originally set to the base point. scalarMultNonIdentit := func(x Scalar) bool { var p, q Point p.Set(B) q.Set(B) p.ScalarMult(&x, B) q.ScalarBaseMult(&x)...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)