def rol41

bend-collections@1.0.0.0 · src/crypto/keccak/lane.bend:115

import bend-collections@1.0.0.0/src/crypto/keccak/lane.bend as Lane
import Base
import bend-collections@1.0.0.0/src/crypto/keccak/types.bend as T

115def rol41(a: T.Lane) -> T.Lane:
116  match a:
117    case T.W{+lo,+hi}:
118      T.W{U32.or(U32.shln(hi,9n),U32.shrn(lo,23n)),U32.or(U32.shln(lo,9n),U32.shrn(hi,23n))}

Uses (4)

Used by (2)