Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dstack-TEE/dstack
/ par25519
Function
par25519
vmm/src/x25519.js:173–177 ·
view source on GitHub ↗
(a)
Source
from the content-addressed store, hash-verified
171
return
crypto_verify_32(c, 0, d, 0);
172
}
173
function
par25519(a) {
174
var
d =
new
Uint8Array(32);
175
pack25519(d, a);
176
return
d[0] & 1;
177
}
178
function
unpack25519(o, n) {
179
var
i;
180
for
(i = 0; i < 16; i++)
Callers
2
pack
Function · 0.70
unpackneg
Function · 0.70
Calls
1
pack25519
Function · 0.70
Tested by
no test coverage detected