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

Function neq25519

vmm/src/x25519.js:167–172  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

165 }
166 }
167 function neq25519(a, b) {
168 var c = new Uint8Array(32), d = new Uint8Array(32);
169 pack25519(c, a);
170 pack25519(d, b);
171 return crypto_verify_32(c, 0, d, 0);
172 }
173 function par25519(a) {
174 var d = new Uint8Array(32);
175 pack25519(d, a);

Callers 1

unpacknegFunction · 0.70

Calls 2

pack25519Function · 0.70
crypto_verify_32Function · 0.70

Tested by

no test coverage detected