MCPcopy Create free account
hub / github.com/nodejs/node / main

Function main

benchmark/crypto/hkdf.js:39–44  ·  view source on GitHub ↗
({ n, sync, size, salt, info, hash, key })

Source from the content-addressed store, hash-verified

37}
38
39function main({ n, sync, size, salt, info, hash, key }) {
40 if (sync)
41 measureSync(n, size, salt, info, hash, key);
42 else
43 measureAsync(n, size, salt, info, hash, key);
44}

Callers

nothing calls this directly

Calls 2

measureSyncFunction · 0.70
measureAsyncFunction · 0.70

Tested by

no test coverage detected