def rol39

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

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

110def rol39(a: T.Lane) -> T.Lane:
111  match a:
112    case T.W{+lo,+hi}:
113      T.W{U32.or(U32.shln(hi,7n),U32.shrn(lo,25n)),U32.or(U32.shln(lo,7n),U32.shrn(hi,25n))}

Uses (4)

Used by (2)