MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / ROL

Function ROL

pager_lib/smb/utils/md4.py:227–227  ·  view source on GitHub ↗
(x, n)

Source from the content-addressed store, hash-verified

225def H(x, y, z): return ((x) ^ (y) ^ (z))
226
227def ROL(x, n): return (((x) << n) | ((x) >> (32-n)))
228
229def f1(a, b, c, d, k, s, X): return ROL(a + F(b, c, d) + X[k], s)
230def f2(a, b, c, d, k, s, X): return ROL(a + G(b, c, d) + X[k] + U32(0x5a827999), s)

Callers 3

f1Function · 0.85
f2Function · 0.85
f3Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected