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

Function R2

src/pull/sha1.hpp:100–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98
99
100inline static void R2(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)
101{
102 block[i] = blk(block, i);
103 z += (w^x^y) + block[i] + 0x6ed9eba1 + rol(v, 5);
104 w = rol(w, 30);
105}
106
107
108inline static void R3(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 2

blkFunction · 0.85
rolFunction · 0.85

Tested by

no test coverage detected