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

Function scalarbase

vmm/src/x25519.js:1252–1259  ·  view source on GitHub ↗
(p, s)

Source from the content-addressed store, hash-verified

1250 }
1251 }
1252 function scalarbase(p, s) {
1253 var q = [gf(), gf(), gf(), gf()];
1254 set25519(q[0], X);
1255 set25519(q[1], Y);
1256 set25519(q[2], gf1);
1257 M(q[3], X, Y);
1258 scalarmult(p, q, s);
1259 }
1260 var L = new Float64Array([
1261 0xed,
1262 0xd3,

Callers 4

crypto_sign_directFunction · 0.70
crypto_sign_direct_rndFunction · 0.70
curve25519_signFunction · 0.70
crypto_sign_openFunction · 0.70

Calls 4

gfFunction · 0.70
set25519Function · 0.70
MFunction · 0.70
scalarmultFunction · 0.70

Tested by

no test coverage detected