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

Function gf

vmm/src/x25519.js:8–14  ·  view source on GitHub ↗
(init)

Source from the content-addressed store, hash-verified

6 let _9 = new Uint8Array(32);
7 _9[0] = 9;
8 function gf(init) {
9 var i, r = new Float64Array(16);
10 if (init)
11 for (i = 0; i < init.length; i++)
12 r[i] = init[i];
13 return r;
14 }
15 ;
16 const gf0 = gf(), gf1 = gf([1]), _121665 = gf([0xdb41, 1]), D = gf([
17 0x78a3,

Callers 14

x25519.jsFile · 0.70
pack25519Function · 0.70
inv25519Function · 0.70
pow2523Function · 0.70
crypto_scalarmultFunction · 0.70
addFunction · 0.70
packFunction · 0.70
scalarbaseFunction · 0.70
crypto_sign_directFunction · 0.70
crypto_sign_direct_rndFunction · 0.70
curve25519_signFunction · 0.70
unpacknegFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected