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

Function xs_mont2_exp_SW

modules/crypt/arith/mont.c:57–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void
58xs_mont2_exp_SW(xsMachine *the)
59{
60 txBigInt *a, *e, *m, *r;
61 int param;
62
63 a = xsmcToBigInt(xsArg(0));
64 e = xsmcToBigInt(xsArg(1));
65 m = xsmcToBigInt(xsArg(2));
66 param = xsmcToInteger(xsArg(3));
67 r = fxBigInt_mont_exp_SW(the, NULL, a, e, m, param);
68 xsmcSetBigInt(xsResult, r);
69}

Callers

nothing calls this directly

Calls 1

fxBigInt_mont_exp_SWFunction · 0.85

Tested by

no test coverage detected