MCPcopy Create free account
hub / github.com/category-labs/monad / _round

Function _round

scripts/page_commit_reference.py:84–92  ·  view source on GitHub ↗
(state: list[int], m: list[int])

Source from the content-addressed store, hash-verified

82
83
84def _round(state: list[int], m: list[int]) -> None:
85 _g(state, 0, 4, 8, 12, m[0], m[1])
86 _g(state, 1, 5, 9, 13, m[2], m[3])
87 _g(state, 2, 6, 10, 14, m[4], m[5])
88 _g(state, 3, 7, 11, 15, m[6], m[7])
89 _g(state, 0, 5, 10, 15, m[8], m[9])
90 _g(state, 1, 6, 11, 12, m[10], m[11])
91 _g(state, 2, 7, 8, 13, m[12], m[13])
92 _g(state, 3, 4, 9, 14, m[14], m[15])
93
94
95def _permute(m: list[int]) -> list[int]:

Callers 1

blake3_compressFunction · 0.85

Calls 1

_gFunction · 0.85

Tested by

no test coverage detected