MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / reset

Method reset

src/sha3.cpp:25–32  ·  view source on GitHub ↗

restart

Source from the content-addressed store, hash-verified

23
24/// restart
25void SHA3::reset()
26{
27 for (size_t i = 0; i < StateSize; i++)
28 m_hash[i] = 0;
29
30 m_numBytes = 0;
31 m_bufferSize = 0;
32}
33
34
35/// constants and local helper functions

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected