Core.step: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/hub_sha/core.bend as Core Lines 56-61 of mylsm-lsm-store@0.6.0.1/src/hub_sha/core.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/hub_sha/core.bend&start_line=56&end_line=61 import Base import mylsm-lsm-store@0.6.0.1/src/hub_sha/state.bend as S # Handle step in the SHA-256 compression implementation. def step(state: S.State, round_constant: U32, schedule_word: U32) -> S.State: S.H{+a, +b, +c, d, +e, +f, +g, h} = state +t1 = (h + big1(e) + choose(e, f, g) + round_constant + schedule_word : U32) t2 = (big0(a) + majority(a, b, c) : U32) S.H{(t1 + t2 : U32), a, b, c, (d + t1 : U32), e, f, g} Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/hub_sha/core.bend&name=big0 https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/hub_sha/core.bend&name=big1 https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/hub_sha/core.bend&name=choose https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/hub_sha/core.bend&name=majority https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/hub_sha/state.bend&name=State