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

Function R0

src/pull/sha1.hpp:85–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 */
84
85inline static void R0(const uint32_t block[BLOCK_INTS], const uint32_t v, uint32_t &w, const uint32_t x, const uint32_t y, uint32_t &z, const size_t i)
86{
87 z += ((w&(x^y))^y) + block[i] + 0x5a827999 + rol(v, 5);
88 w = rol(w, 30);
89}
90
91
92inline static void R1(uint32_t block[BLOCK_INTS], const uint32_t v, uint32_t &w, const uint32_t x, const uint32_t y, uint32_t &z, const size_t i)

Callers 1

transformFunction · 0.85

Calls 1

rolFunction · 0.85

Tested by

no test coverage detected