MCPcopy
hub / github.com/dchest/tweetnacl-js / gf

Function gf

nacl-fast.js:10–14  ·  view source on GitHub ↗
(init)

Source from the content-addressed store, hash-verified

8// See for details: http://tweetnacl.cr.yp.to/
9
10var gf = function(init) {
11 var i, r = new Float64Array(16);
12 if (init) for (i = 0; i < init.length; i++) r[i] = init[i];
13 return r;
14};
15
16// Pluggable, initialized in high-level API below.
17var randombytes = function(/* x, n */) { throw new Error('no PRNG'); };

Callers 12

nacl-fast.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_keypairFunction · 0.70
crypto_signFunction · 0.70
unpacknegFunction · 0.70
crypto_sign_openFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected