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

Function R1

src/pull/sha1.hpp:92–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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)
93{
94 block[i] = blk(block, i);
95 z += ((w&(x^y))^y) + block[i] + 0x5a827999 + rol(v, 5);
96 w = rol(w, 30);
97}
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)

Callers 1

transformFunction · 0.85

Calls 2

blkFunction · 0.85
rolFunction · 0.85

Tested by

no test coverage detected