def big1
import mylsm-lsm-store@0.6.0.1/src/hub_sha/core.bend as Coreimport Base
30# Compute the big sigma function for 1 for the SHA-256 compression implementation.
31def big1(+word: U32) -> U32:
32 ((U32.shrn(word, 6n) .|. U32.shln(word, 26n))
33 .^. (U32.shrn(word, 11n) .|. U32.shln(word, 21n))
34 .^. (U32.shrn(word, 25n) .|. U32.shln(word, 7n)) : U32)