def small1
import mylsm-lsm-store@0.6.0.1/src/hub_sha/core.bend as Coreimport Base
42# Compute the small sigma function for 1 for the SHA-256 compression implementation.
43def small1(+word: U32) -> U32:
44 ((U32.shrn(word, 17n) .|. U32.shln(word, 15n))
45 .^. (U32.shrn(word, 19n) .|. U32.shln(word, 13n))
46 .^. U32.shrn(word, 10n) : U32)