Core.big1: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/crypto/sha512/core.bend as Core Lines 33-38 of bend-collections@1.0.0.0/src/crypto/sha512/core.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/crypto/sha512/core.bend&start_line=33&end_line=38 import Base import bend-collections@1.0.0.0/src/crypto/sha512/types.bend as T # FIPS 180-4 (4.11): ROTR14 ^ ROTR18 ^ ROTR41 def big1(x: T.Lane) -> T.Lane: match x: case T.W{+hi, +lo}: T.W{U32.xor(U32.xor(U32.or(U32.shrn(hi, 14n), U32.shln(lo, 18n)), U32.or(U32.shrn(hi, 18n), U32.shln(lo, 14n))), U32.or(U32.shrn(lo, 9n), U32.shln(hi, 23n))), U32.xor(U32.xor(U32.or(U32.shrn(lo, 14n), U32.shln(hi, 18n)), U32.or(U32.shrn(lo, 18n), U32.shln(hi, 14n))), U32.or(U32.shrn(hi, 9n), U32.shln(lo, 23n)))} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.shln https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.shrn https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.xor https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/sha512/types.bend&name=Lane