Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
test
Function · 0.95
dh
Method · 0.45
_sign
Method · 0.45
_verify
Method · 0.45
_sign
Method · 0.45
_verify
Method · 0.45
constructor
Method · 0.45
process
Method · 0.45
testvectors.js
File · 0.45
main.js
File · 0.45
Calls
no outgoing calls
Tested by
1
test
Function · 0.76