def hs.sm3.p1

bend-osdev-hashes@0.1.0.0 · sm3.bend:21

import bend-osdev-hashes@0.1.0.0/sm3.bend as Sm3
import Base
import bend-osdev-hashes@0.1.0.0/hashes.bend as Hs

21def hs.sm3.p1(+x: U32) -> U32:
22  U32.xor(U32.xor(x, Hs.hs.rotl(x, 15n)), Hs.hs.rotl(x, 23n))

Uses (3)

Used by (1)