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

Method exp

modules/crypt/arith/mont.js:46–51  ·  view source on GitHub ↗
(a, e)

Source from the content-addressed store, hash-verified

44 this.sw_param = dict.sw_param;
45 }
46 exp(a, e) {
47 if (this.method === this.LR)
48 return this._exp_LR(a, e, this.m);
49 else
50 return this._exp_SW(a, e, this.m, this.sw_param);
51 }
52 _exp_LR(a, e, m) @ "xs_mont2_exp_LR";
53 _exp_SW(a, e, m, sw_param) @ "xs_mont2_exp_SW";
54};

Callers 15

packetizeFunction · 0.95
unpacketizeFunction · 0.95
_signMethod · 0.45
processMethod · 0.45
setOffsetMethod · 0.45
setOffsetMethod · 0.45
evaluateBouncebackMethod · 0.45
evaluateBouncebackMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected