MCPcopy Index your code
hub / github.com/nodejs/node / one

Function one

benchmark/crypto/kem.js:95–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93 }
94
95 function one() {
96 const k = key || keys[n - remaining];
97 if (op === 'encapsulate') {
98 crypto.encapsulate(k, done);
99 } else {
100 crypto.decapsulate(k, ciphertexts[n - remaining], done);
101 }
102 }
103 bench.start();
104 one();
105}

Callers 2

doneFunction · 0.70
measureAsyncFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected