MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / cswap

Function cswap

vmm/src/x25519.js:1224–1229  ·  view source on GitHub ↗
(p, q, b)

Source from the content-addressed store, hash-verified

1222 M(p[3], e, h);
1223 }
1224 function cswap(p, q, b) {
1225 var i;
1226 for (i = 0; i < 4; i++) {
1227 sel25519(p[i], q[i], b);
1228 }
1229 }
1230 function pack(r, p) {
1231 var tx = gf(), ty = gf(), zi = gf();
1232 inv25519(zi, p[2]);

Callers 1

scalarmultFunction · 0.70

Calls 1

sel25519Function · 0.70

Tested by

no test coverage detected