MCPcopy Index your code
hub / github.com/dmarman/sha256algorithm / onClockFinish

Function onClockFinish

src/App.js:237–252  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

235 }
236
237 function onClockFinish() {
238 let cyclesCount = paddedInput.length/512;
239
240 setClock(lastClockStateless(cyclesCount));
241
242 let result = shaStepped(input, 63, 63, cyclesCount);
243
244 setWView(result.w);
245 setResult(result.hash);
246 setLetters(result.letters);
247 setLettersBefore(result.lettersBefore);
248 setHs(result.hs);
249 setHsBefore(result.hsBefore);
250
251 ReactGA.event('onClockFinish');
252 }
253
254 function onClockInit() {
255 setClock(0);

Callers

nothing calls this directly

Calls 2

lastClockStatelessFunction · 0.85
shaSteppedFunction · 0.85

Tested by

no test coverage detected