Sm3.hs.sm3.p0: def of bend-osdev-hashes@0.1.0.0 Import: import bend-osdev-hashes@0.1.0.0/sm3.bend as Sm3 Lines 17-19 of bend-osdev-hashes@0.1.0.0/sm3.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-hashes@0.1.0.0/sm3.bend&start_line=17&end_line=19 import Base import bend-osdev-hashes@0.1.0.0/hashes.bend as Hs # the permutations P0 and P1 def hs.sm3.p0(+x: U32) -> U32: U32.xor(U32.xor(x, Hs.hs.rotl(x, 9n)), Hs.hs.rotl(x, 17n)) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.xor https://jend.leeeet.dev/definition.txt?path=bend-osdev-hashes@0.1.0.0/hashes.bend&name=hs.rotl