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

Function reset

src/pull/sha1.hpp:54–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52
53
54inline static void reset(uint32_t digest[], std::string &buffer, uint64_t &transforms)
55{
56 /* SHA1 initialization constants */
57 digest[0] = 0x67452301;
58 digest[1] = 0xefcdab89;
59 digest[2] = 0x98badcfe;
60 digest[3] = 0x10325476;
61 digest[4] = 0xc3d2e1f0;
62
63 /* Reset counters */
64 buffer = "";
65 transforms = 0;
66}
67
68
69inline static uint32_t rol(const uint32_t value, const size_t bits)

Callers 2

SHA1Method · 0.70
finalMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected