- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CombinedMult (0.21 sec)
-
src/crypto/elliptic/p256_test.go
type synthCombinedMult struct { Curve } func (s synthCombinedMult) CombinedMult(bigX, bigY *big.Int, baseScalar, scalar []byte) (x, y *big.Int) { x1, y1 := s.ScalarBaseMult(baseScalar) x2, y2 := s.ScalarMult(bigX, bigY, scalar) return s.Add(x1, y1, x2, y2) } func TestP256CombinedMult(t *testing.T) { type combinedMult interface { Curve CombinedMult(bigX, bigY *big.Int, baseScalar, scalar []byte) (x, y *big.Int) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 16:58:48 UTC 2022 - 4.2K bytes - Viewed (0) -
src/crypto/elliptic/nistec.go
if err != nil { panic("crypto/elliptic: nistec rejected normalized scalar") } return curve.pointToAffine(p) } // CombinedMult returns [s1]G + [s2]P where G is the generator. It's used // through an interface upgrade in crypto/ecdsa. func (curve *nistCurve[Point]) CombinedMult(Px, Py *big.Int, s1, s2 []byte) (x, y *big.Int) { s1 = curve.normalizeScalar(s1) q, err := curve.newPoint().ScalarBaseMult(s1) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 21 16:19:34 UTC 2022 - 9.6K bytes - Viewed (0)