- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestScalarMultMatchesBaseMult (0.46 sec)
-
src/crypto/internal/edwards25519/scalarmult_test.go
tmp2.FromP3(tmp3) for j := 0; j < 7; j++ { tmp1.Double(tmp2) tmp2.FromP1xP1(tmp1) } tmp1.Double(tmp2) tmp3.fromP1xP1(tmp1) checkOnCurve(t, tmp3) } } func TestScalarMultMatchesBaseMult(t *testing.T) { scalarMultMatchesBaseMult := func(x Scalar) bool { var p, q Point p.ScalarMult(&x, B) q.ScalarBaseMult(&x) checkOnCurve(t, &p, &q) return p.Equal(&q) == 1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 17:26:17 UTC 2023 - 4.9K bytes - Viewed (0)