def small0
import mylsm-lsm-store@0.6.0.1/src/hub_sha/core.bend as Coreimport Base
36# Compute the small sigma function for 0 for the SHA-256 compression implementation.
37def small0(+word: U32) -> U32:
38 ((U32.shrn(word, 7n) .|. U32.shln(word, 25n))
39 .^. (U32.shrn(word, 18n) .|. U32.shln(word, 14n))
40 .^. U32.shrn(word, 3n) : U32)