MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / mul

Method mul

modules/crypt/arith/ec.js:54–57  ·  view source on GitHub ↗
(a, k)

Source from the content-addressed store, hash-verified

52 }
53 _add(a, b) @ "xs_ec2_add";
54 mul(a, k) {
55 let r = this._mul(a, k);
56 return new ECPoint(r.x, r.y, r.z == 0n, this.m);
57 }
58 _mul(a, k) @ "xs_ec2_mul";
59 mul2(a1, k1, a2, k2) {
60 let r = this._mul2(a1, k1, a2, k2);

Callers 10

testFunction · 0.95
dhMethod · 0.45
_signMethod · 0.45
_verifyMethod · 0.45
_signMethod · 0.45
_verifyMethod · 0.45
constructorMethod · 0.45
processMethod · 0.45
testvectors.jsFile · 0.45
main.jsFile · 0.45

Calls

no outgoing calls

Tested by 1

testFunction · 0.76